/* xk-article-sections.css — тяжёлые постраничные секции (альянсы/турниры/экспедиции/
   достижения/офферы), вынесены из xk-article.css 2026-07-17 (speed-аудит B-1.1).
   Грузится ТОЛЬКО страницами этих разделов; карточки-сущности (корабли/сенаторы/ресурсы...)
   грузят лишь ядро xk-article.css. Ядро идёт ПЕРЕД этим файлом — каскад сохранён. */



/* ===== achievements (owner-шаблон, адаптировано 2026-05-28) ===== */
/* ============================================
   ACHIEVEMENTS — Encyclopedia article page
   ============================================ */

/* ─── HERO ─── */
.ach-hero { position: relative; z-index: 1; padding: 36px 0 30px; overflow: hidden; }
.ach-hero-bg { position: absolute; inset: 0; z-index: 0; background: url('/media/v2/img/heroes/achievements.webp') center 30% / cover no-repeat; }
.ach-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--xh-bg-deep) 0%, rgba(6,10,20,.85) 40%, rgba(6,10,20,.4) 70%, rgba(6,10,20,.65) 100%),
    radial-gradient(ellipse at 78% 50%, var(--xh-orange-a18) 0%, transparent 55%),
    linear-gradient(180deg, rgba(6,10,20,.4) 0%, rgba(6,10,20,.15) 60%, var(--xh-bg-deep) 100%);
}
.ach-hero-inner { position: relative; z-index: 1; max-width: var(--xh-max-w); margin: 0 auto; padding: 0 32px; }
.ach-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: center; }
.ach-hero-title {
  font-family: var(--xh-font-display); font-size: clamp(28px, 4vw, 44px);
  text-transform: uppercase; letter-spacing: 2px; color: var(--xh-white); line-height: 1.05; margin-bottom: 16px;
}
.ach-hero-desc { font-size: 15px; color: var(--xh-text-secondary); line-height: 1.6; max-width: 480px; margin-bottom: 22px; }

/* hero tabs */
.ach-tabs { display: flex; gap: 10px; flex-wrap: wrap; }
.ach-tab {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--xh-font-heading); font-size: 13px; font-weight: 600;
  color: var(--xh-text-secondary); padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--xh-border-light); background: rgba(12,19,34,.6);
  backdrop-filter: blur(6px); transition: all var(--xh-transition); letter-spacing: .2px;
}
.ach-tab svg { width: 14px; height: 14px; color: var(--xh-orange); flex-shrink: 0; }
.ach-tab:hover { border-color: var(--xh-orange); color: var(--xh-text); background: var(--xh-orange-a08); }

/* hero art - trophy column */
.ach-hero-art { position: relative; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; }
.ach-hero-art::before {
  content: ''; position: absolute; width: 60%; height: 60%; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,132,30,.4) 0%, rgba(232,132,30,.1) 50%, transparent 75%);
  filter: blur(8px);
}
.ach-medal { position: relative; width: 170px; height: 170px; color: var(--xh-orange); filter: drop-shadow(0 0 28px rgba(232,132,30,.55)); }
.ach-medal svg { width: 100%; height: 100%; }

/* ─── LAYOUT ─── */
.ach-layout { position: relative; z-index: 1; padding: 0 0 48px; }
.ach-layout-inner {
  max-width: var(--xh-max-w); margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: 1fr 280px; gap: 28px; align-items: start;
}
.ach-main { min-width: 0; display: flex; flex-direction: column; gap: 36px; }

/* intro callout */
.ach-intro {
  padding: 26px 30px; border-radius: var(--xh-radius);
  border: 1px solid rgba(232,132,30,.22); border-left: 3px solid var(--xh-orange);
  background: rgba(232,132,30,.04);
  display: flex; flex-direction: column; gap: 14px;
}
.ach-intro p { font-size: 15px; color: var(--xh-text-secondary); line-height: 1.65; margin: 0; }

/* section heads — naked (no panel wrapper) */
.ach-sec { display: flex; flex-direction: column; gap: 18px; }
.ach-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ach-sec-titles { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ach-sec-title {
  font-family: var(--xh-font-heading); font-size: 18px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.6px; color: var(--xh-white);
}
.ach-sec-sub { font-size: 13.5px; color: var(--xh-text-secondary); line-height: 1.5; }
.ach-sec-link {
  font-family: var(--xh-font-heading); font-size: 13px; font-weight: 700;
  color: var(--xh-orange); display: inline-flex; align-items: center; gap: 4px;
  letter-spacing: .3px; text-transform: none; white-space: nowrap; padding-top: 2px;
}
.ach-sec-link:hover { color: var(--xh-orange-hover); }
.ach-sec-link svg { width: 14px; height: 14px; }

/* ─── CATEGORY CARDS (6) ─── */
.ach-cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.ach-ccard {
  display: flex; flex-direction: column;
  border: 1px solid var(--xh-border); border-radius: var(--xh-radius-lg);
  background: var(--xh-bg-card); overflow: hidden; transition: all var(--xh-transition); cursor: pointer;
  text-decoration: none; color: inherit;
}
.ach-ccard:hover { transform: translateY(-3px); border-color: var(--ach-acc); }
.ach-ccard-art {
  position: relative; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--ach-acc) 26%, transparent) 0%, transparent 65%),
    linear-gradient(160deg, color-mix(in srgb, var(--ach-acc) 9%, var(--xh-bg-card)) 0%, var(--xh-bg-primary) 100%);
  border-bottom: 1px solid var(--xh-border);
  overflow: hidden;
}
.ach-ccard-art::after {
  content: ''; position: absolute; inset: 0; opacity: .45;
  background-image:
    linear-gradient(color-mix(in srgb, var(--ach-acc) 30%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--ach-acc) 30%, transparent) 1px, transparent 1px);
  background-size: 18px 18px; mask-image: radial-gradient(circle at 50% 45%, var(--xh-black) 8%, transparent 70%);
}
.ach-ccard-icon { position: relative; width: 52px; height: 52px; color: var(--ach-acc); filter: drop-shadow(0 0 14px color-mix(in srgb, var(--ach-acc) 55%, transparent)); }
.ach-ccard-icon svg { width: 100%; height: 100%; }
.ach-ccard-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ach-ccard-name { font-family: var(--xh-font-heading); font-size: 14px; font-weight: 700; color: var(--xh-white); line-height: 1.2; }
.ach-ccard-desc { font-size: 12px; color: var(--xh-text-secondary); line-height: 1.5; flex: 1; }
.ach-ccard-count {
  align-self: flex-start; font-family: var(--xh-font-heading); font-size: 11px; font-weight: 700;
  letter-spacing: .3px; padding: 4px 10px; border-radius: 4px; margin-top: 4px;
  color: var(--xh-text-secondary); background: var(--xh-overlay-3); border: 1px solid var(--xh-border-light);
}

/* accent colors */
.ach-c--red    { --ach-acc: #d05050; }
.ach-c--gold   { --ach-acc: #d8a830; }
.ach-c--cyan   { --ach-acc: var(--xh-blue-light); }
.ach-c--teal   { --ach-acc: var(--xh-teal); }
.ach-c--purple { --ach-acc: #b070d8; }
.ach-c--orange { --ach-acc: var(--xh-orange); }

/* ─── RARE ACHIEVEMENT CARDS ─── */
.ach-rare { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.ach-rcard {
  display: flex; flex-direction: column;
  border: 1px solid var(--xh-border); border-radius: var(--xh-radius-lg);
  background: var(--xh-bg-card); overflow: hidden; transition: all var(--xh-transition); cursor: pointer;
}
.ach-rcard:hover { transform: translateY(-3px); border-color: var(--ach-acc); box-shadow: 0 12px 32px rgba(0,0,0,.4); }
.ach-rcard-art {
  position: relative; aspect-ratio: 1/1.05; display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--ach-acc) 30%, transparent) 0%, transparent 60%),
    linear-gradient(160deg, color-mix(in srgb, var(--ach-acc) 10%, var(--xh-bg-card)) 0%, var(--xh-bg-primary) 100%);
  border-bottom: 1px solid var(--xh-border);
  overflow: hidden;
}
.ach-rcard-art::after {
  content: ''; position: absolute; inset: 0; opacity: .55;
  background:
    radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--ach-acc) 22%, transparent), transparent 65%),
    repeating-linear-gradient(45deg, color-mix(in srgb, var(--ach-acc) 8%, transparent) 0 2px, transparent 2px 8px);
  mask-image: radial-gradient(circle at 50% 50%, var(--xh-black) 18%, transparent 80%);
}
.ach-rcard-icon { position: relative; width: 60px; height: 60px; color: var(--ach-acc); filter: drop-shadow(0 0 16px color-mix(in srgb, var(--ach-acc) 60%, transparent)); }
.ach-rcard-icon svg { width: 100%; height: 100%; }
.ach-rcard-body { padding: 14px 14px 14px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.ach-rcard-name { font-family: var(--xh-font-heading); font-size: 14px; font-weight: 700; color: var(--xh-white); line-height: 1.2; }
.ach-rcard-desc { font-size: 11.5px; color: var(--xh-text-secondary); line-height: 1.45; flex: 1; }
.ach-badge {
  align-self: flex-start; font-family: var(--xh-font-heading); font-size: 11px; font-weight: 700;
  letter-spacing: .3px; padding: 3px 9px; border-radius: 4px;
  display: inline-flex; align-items: center; gap: 5px; margin-top: 2px;
}
.ach-badge::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.ach-badge--rare    { color: var(--xh-blue-light); background: rgba(74,157,245,.10); border: 1px solid rgba(74,157,245,.30); }
.ach-badge--unique  { color: var(--xh-orange); background: rgba(232,132,30,.10); border: 1px solid var(--xh-orange-a30); }

/* ─── BATTLE / ECON CHIPS (4 per row, hex badge) ─── */
.ach-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ach-chip {
  display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px;
  border: 1px solid var(--xh-border); border-radius: var(--xh-radius);
  background: var(--xh-bg-card); transition: all var(--xh-transition);
}
.ach-chip:hover { border-color: var(--ach-acc); transform: translateY(-2px); }
.ach-hex {
  width: 40px; height: 44px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--ach-acc) 14%, var(--xh-bg-card));
  border: 1px solid color-mix(in srgb, var(--ach-acc) 40%, transparent);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  color: var(--ach-acc);
}
.ach-hex svg { width: 18px; height: 18px; }
.ach-chip-body { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ach-chip-name { font-family: var(--xh-font-heading); font-size: 14px; font-weight: 700; color: var(--xh-white); line-height: 1.2; }
.ach-chip-desc { font-size: 12px; color: var(--xh-text-secondary); line-height: 1.5; }

.ach-acc--red  { --ach-acc: #d05050; }
.ach-acc--gold { --ach-acc: #d8a830; }
.ach-acc--orange { --ach-acc: var(--xh-orange); }

/* rewards row — circle badge variant */
.ach-rewards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ach-reward {
  display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px;
  border: 1px solid var(--xh-border); border-radius: var(--xh-radius);
  background: var(--xh-bg-card); transition: all var(--xh-transition);
}
.ach-reward:hover { border-color: rgba(232,132,30,.4); transform: translateY(-2px); }
.ach-reward-icon { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--xh-orange-a08); border: 1px solid rgba(232,132,30,.28); }
.ach-reward-icon svg { width: 18px; height: 18px; color: var(--xh-orange); }
.ach-reward-body { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ach-reward-name { font-family: var(--xh-font-heading); font-size: 14px; font-weight: 700; color: var(--xh-white); line-height: 1.2; }
.ach-reward-desc { font-size: 12px; color: var(--xh-text-secondary); line-height: 1.5; }

/* ─── FAQ (chevron variant, 2-col) ─── */
.ach-faq { display: flex; flex-direction: column; gap: 8px; max-width: 880px; }

/* ─── SIDEBAR ─── */
.ach-sidebar { position: sticky; top: calc(var(--xh-header-h) + 16px); display: flex; flex-direction: column; gap: 16px; }
.ach-side-card { background: var(--xh-bg-card); border: 1px solid var(--xh-border); border-radius: var(--xh-radius-lg); padding: 20px; }
.ach-side-title { font-family: var(--xh-font-heading); font-size: 15px; font-weight: 700; color: var(--xh-white); letter-spacing: .4px; margin-bottom: 14px; }

.ach-nav { display: flex; flex-direction: column; gap: 1px; }
.ach-nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px; border-radius: var(--xh-radius);
  font-family: var(--xh-font-heading); font-size: 13.5px; font-weight: 600;
  color: var(--xh-text-secondary); letter-spacing: .2px; transition: all var(--xh-transition);
}
.ach-nav a:hover { color: var(--xh-text); background: var(--xh-overlay-2); }
.ach-nav a .ach-nav-chev { width: 13px; height: 13px; opacity: 0; transform: rotate(180deg); transition: opacity var(--xh-transition); }

.ach-filter { display: flex; flex-direction: column; gap: 2px; }
.ach-radio {
  display: flex; align-items: center; gap: 10px; padding: 7px 4px;
  font-family: var(--xh-font-heading); font-size: 13.5px; font-weight: 600;
  color: var(--xh-text-secondary); cursor: pointer; transition: color var(--xh-transition);
  width: 100%; text-align: left; justify-content: flex-start;
}
.ach-radio:hover { color: var(--xh-text); }
.ach-radio-dot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--xh-text-muted); flex-shrink: 0; position: relative; transition: all var(--xh-transition); }
.ach-radio-count {
  margin-left: auto; font-family: var(--xh-font-heading); font-size: 11px; font-weight: 700;
  color: var(--xh-text-muted); background: var(--xh-overlay-3); border: 1px solid var(--xh-border);
  padding: 2px 8px; border-radius: 4px; letter-spacing: .3px;
}

/* ─── RELATED BOTTOM ─── */
.ach-related { position: relative; z-index: 1; padding: 0 0 48px; }
.ach-related-inner { max-width: var(--xh-max-w); margin: 0 auto; padding: 0 32px; }
.ach-related-wrap {
  border: 1px solid var(--xh-border); border-radius: var(--xh-radius-lg);
  background: var(--xh-bg-card); padding: 22px 24px;
}
.ach-related-title { font-family: var(--xh-font-heading); font-size: 14px; font-weight: 700; color: var(--xh-text); letter-spacing: .4px; margin-bottom: 16px; }
.ach-related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ach-rl {
  display: flex; align-items: center; gap: 14px; padding: 0;
  border-radius: var(--xh-radius); transition: all var(--xh-transition);
}
.ach-rl-art {
  width: 78px; height: 60px; border-radius: var(--xh-radius); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--ach-acc) 28%, transparent) 0%, transparent 70%),
    linear-gradient(160deg, color-mix(in srgb, var(--ach-acc) 14%, var(--xh-bg-card)) 0%, var(--xh-bg-primary) 100%);
  border: 1px solid color-mix(in srgb, var(--ach-acc) 26%, transparent);
}
.ach-rl-art svg { width: 28px; height: 28px; color: var(--ach-acc); filter: drop-shadow(0 0 8px color-mix(in srgb, var(--ach-acc) 50%, transparent)); }
.ach-rl-name { font-family: var(--xh-font-heading); font-size: 14px; font-weight: 700; color: var(--xh-white); margin-bottom: 3px; }
.ach-rl-desc { font-size: 12px; color: var(--xh-text-secondary); line-height: 1.45; }
.ach-rl:hover .ach-rl-name { color: var(--ach-acc); }
.ach-rl-1 { --ach-acc: var(--xh-orange); }
.ach-rl-2 { --ach-acc: #d8a830; }
.ach-rl-3 { --ach-acc: var(--xh-blue-light); }
.ach-rl-4 { --ach-acc: var(--xh-woa-red); }

/* footer ext */
.ach-footer-desc { font-size: 13px; color: var(--xh-text-muted); line-height: 1.55; margin: 12px 0 16px; max-width: 230px; }
.ach-databar { position: relative; z-index: 1; border-top: 1px solid var(--xh-border); padding: 14px 0; text-align: left; }
.ach-databar-inner { max-width: var(--xh-max-w); margin: 0 auto; padding: 0 32px; font-family: var(--xh-font-heading); font-size: 12px; font-weight: 600; color: var(--xh-text-muted); letter-spacing: .3px; }
@media (max-width: 900px) {
  .ach-chips, .ach-rewards { grid-template-columns: repeat(2, 1fr); }
  .ach-faq { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .ach-hero-inner, .ach-layout-inner, .ach-related-inner, .ach-databar-inner { padding-left: 20px; padding-right: 20px; }
  .ach-cats { grid-template-columns: repeat(2, 1fr); }
  .ach-rare { grid-template-columns: repeat(2, 1fr); }
  .ach-sidebar { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .ach-hero-inner, .ach-layout-inner, .ach-related-inner, .ach-databar-inner { padding-left: 16px; padding-right: 16px; }
  .ach-chips, .ach-rewards { grid-template-columns: 1fr; }
  .ach-related-grid { grid-template-columns: 1fr; }
}

/* ===== alliances (owner-шаблон, адаптировано 2026-05-28) ===== */
/* ============================================
   ALLIANCES — Encyclopedia article page
   ============================================ */

/* ─── HERO ─── */
.al-hero { position: relative; z-index: 1; padding: 32px 0 26px; overflow: hidden; }
.al-hero-bg { position: absolute; inset: 0; z-index: 0; background: url('/media/v2/img/galaxy-map-v2.webp') center 40% / cover no-repeat; }
.al-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--xh-bg-deep) 0%, rgba(6,10,20,.88) 38%, rgba(6,10,20,.35) 65%, rgba(6,10,20,.55) 100%),
    radial-gradient(ellipse at 78% 50%, rgba(42,125,225,.18) 0%, transparent 60%),
    linear-gradient(180deg, rgba(6,10,20,.3) 0%, rgba(6,10,20,.15) 60%, var(--xh-bg-deep) 100%);
}
.al-hero-inner { position: relative; z-index: 1; max-width: var(--xh-max-w); margin: 0 auto; padding: 0 32px; }
.al-hero-title {
  font-family: var(--xh-font-display); font-size: clamp(30px, 4.4vw, 48px);
  color: var(--xh-white); line-height: 1.05; margin-bottom: 14px; letter-spacing: .5px;
}
.al-hero-desc { font-size: 15px; color: var(--xh-text-secondary); line-height: 1.6; max-width: 460px; margin-bottom: 22px; }

/* hero feature pills */
.al-features { display: flex; gap: 10px; flex-wrap: wrap; }
.al-feat {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 12px 14px 12px; border-radius: var(--xh-radius);
  border: 1px solid var(--xh-border-light); background: rgba(12,19,34,.7);
  backdrop-filter: blur(6px); min-width: 100px; text-align: center;
}
.al-feat-icon { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.al-feat-icon svg { width: 18px; height: 18px; }
.al-feat-icon--red    { background: rgba(208,80,32,.10); border: 1px solid rgba(208,80,32,.30); color: var(--xh-woa-red); }
.al-feat-icon--blue   { background: rgba(74,157,245,.10); border: 1px solid rgba(74,157,245,.30); color: var(--xh-blue-light); }
.al-feat-icon--green  { background: rgba(32,168,104,.10); border: 1px solid rgba(32,168,104,.30); color: var(--xh-green); }
.al-feat-icon--purple { background: rgba(176,112,216,.10); border: 1px solid rgba(176,112,216,.30); color: #b070d8; }
.al-feat-name { font-family: var(--xh-font-heading); font-size: 12.5px; font-weight: 700; color: var(--xh-text); line-height: 1.2; letter-spacing: .2px; }

/* ─── LAYOUT ─── */
.al-layout { position: relative; z-index: 1; padding: 24px 0 32px; }
.al-layout-inner {
  max-width: var(--xh-max-w); margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: 1fr 280px; gap: 28px; align-items: start;
}
.al-main { min-width: 0; display: flex; flex-direction: column; gap: 28px; }

/* intro */
.al-intro {
  padding: 22px 28px; border-radius: var(--xh-radius);
  border: 1px solid rgba(232,132,30,.22); border-left: 3px solid var(--xh-orange);
  background: rgba(232,132,30,.04);
}
.al-intro p { font-size: 14.5px; color: var(--xh-text-secondary); line-height: 1.65; margin: 0; }

/* section heads with orange bar */
.al-sec { display: flex; flex-direction: column; gap: 16px; }
.al-sec-head { display: flex; flex-direction: column; gap: 6px; }
.al-sec-title {
  position: relative; padding-left: 18px;
  font-family: var(--xh-font-heading); font-size: 22px; font-weight: 700; color: var(--xh-white); letter-spacing: .3px;
}
.al-sec-title::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px; border-radius: 2px; background: var(--xh-orange); }
.al-sec-sub { font-size: 13.5px; color: var(--xh-text-secondary); line-height: 1.55; padding-left: 18px; }

/* ─── ЧТО ТАКОЕ АЛЬЯНС — 5 art tiles ─── */
.al-feat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.al-fcard {
  display: flex; flex-direction: column; gap: 10px;
  transition: transform var(--xh-transition);
}
.al-fcard:hover { transform: translateY(-3px); }
.al-fcard-art {
  aspect-ratio: 1/1; border-radius: var(--xh-radius-lg);
  border: 1px solid var(--xh-border); overflow: hidden;
  position: relative; display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(74,157,245,.28) 0%, transparent 60%),
    linear-gradient(160deg, var(--xh-bg-card-hover) 0%, var(--xh-bg-primary) 100%);
}
.al-fcard-art::after {
  content: ''; position: absolute; inset: 0; opacity: .35;
  background-image: linear-gradient(rgba(74,157,245,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(74,157,245,.25) 1px, transparent 1px);
  background-size: 16px 16px; mask-image: radial-gradient(circle at 50% 45%, var(--xh-black) 8%, transparent 70%);
}
.al-fcard-icon { position: relative; width: 46px; height: 46px; color: var(--xh-blue-light); filter: drop-shadow(0 0 12px rgba(74,157,245,.55)); }
.al-fcard-icon svg { width: 100%; height: 100%; }
.al-fcard-label {
  font-family: var(--xh-font-heading); font-size: 12.5px; font-weight: 600;
  color: var(--xh-text-secondary); line-height: 1.4; text-align: center;
}

/* ─── СТРУКТУРА И РОЛИ — 4 portrait cards ─── */
.al-roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.al-role {
  display: flex; flex-direction: column;
  border: 1px solid var(--xh-border); border-radius: var(--xh-radius-lg);
  background: var(--xh-bg-card); overflow: hidden; transition: all var(--xh-transition); cursor: pointer;
}
.al-role:hover { transform: translateY(-3px); border-color: var(--al-acc); }
.al-role-portrait {
  position: relative; aspect-ratio: 4/3; overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 38%, color-mix(in srgb, var(--al-acc) 22%, transparent) 0%, transparent 65%),
    linear-gradient(180deg, var(--xh-border) 0%, var(--xh-bg-primary) 100%);
  display: flex; align-items: flex-end; justify-content: center;
}
.al-role-portrait::before {
  /* stylized silhouette */
  content: ''; position: absolute; bottom: 0; width: 56%; height: 70%;
  background: radial-gradient(ellipse at 50% 20%, color-mix(in srgb, var(--al-acc) 22%, #444a5f) 0%, color-mix(in srgb, var(--al-acc) 8%, var(--xh-bg-card-hover)) 60%, transparent 80%);
  border-radius: 50% 50% 8% 8%;
  filter: blur(2px);
}
.al-role-portrait::after {
  content: ''; position: absolute; bottom: 16%; left: 50%; transform: translateX(-50%);
  width: 22%; aspect-ratio: 1/1; border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--al-acc) 28%, #5a6075) 0%, color-mix(in srgb, var(--al-acc) 10%, #2c303c) 70%);
  box-shadow: 0 0 30px color-mix(in srgb, var(--al-acc) 22%, transparent);
}
.al-role-badge {
  position: absolute; top: 10px; right: 10px;
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--al-acc) 16%, rgba(12,19,34,.85));
  border: 1px solid color-mix(in srgb, var(--al-acc) 40%, transparent);
  color: var(--al-acc); z-index: 1;
}
.al-role-badge svg { width: 13px; height: 13px; }
.al-role-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.al-role-name { font-family: var(--xh-font-heading); font-size: 16px; font-weight: 700; color: var(--xh-white); line-height: 1.2; }
.al-role-desc { font-size: 12.5px; color: var(--xh-text-secondary); line-height: 1.5; }

.al-r--gold   { --al-acc: #d8a830; }
.al-r--blue   { --al-acc: var(--xh-blue-light); }
.al-r--orange { --al-acc: var(--xh-orange); }
.al-r--purple { --al-acc: #b070d8; }
.al-r--red    { --al-acc: var(--xh-woa-red, #e0503a); }
.al-r--gray   { --al-acc: #7a8296; }
/* Ранг: права (чипы) + лор + ссылка на страницу ранга (owner 9274) */
.al-role--link { text-decoration: none; color: inherit; }
.al-role-perms { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 2px; }
.al-role-perm { font-size: 10.5px; font-weight: 600; line-height: 1.3; color: var(--al-acc); background: color-mix(in srgb, var(--al-acc) 12%, transparent); border: 1px solid color-mix(in srgb, var(--al-acc) 32%, transparent); border-radius: 6px; padding: 2px 7px; }
.al-role-perm--all { color: var(--xh-white); background: color-mix(in srgb, var(--al-acc) 24%, transparent); border-color: color-mix(in srgb, var(--al-acc) 55%, transparent); }
.al-role-perm--none { color: var(--xh-text-soft); background: rgba(255,255,255,.04); border-color: var(--xh-border); }
.al-role-more { margin-top: 4px; font-size: 11.5px; font-weight: 700; color: var(--al-acc); opacity: .85; transition: opacity var(--xh-transition); }
.al-role--link:hover .al-role-more { opacity: 1; }

/* Хранилище альянса — 3 колонки механики (owner 9274) */
.al-bank { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.al-bank-col { border: 1px solid var(--xh-border); border-top: 2px solid var(--al-acc, var(--xh-orange)); border-radius: var(--xh-radius-lg); background: var(--xh-bg-card); padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 11px; }
.al-bank-h { display: flex; align-items: center; gap: 10px; font-family: var(--xh-font-heading); font-size: 15px; font-weight: 700; color: var(--xh-white); }
.al-bank-ic { width: 32px; height: 32px; flex-shrink: 0; border-radius: var(--xh-radius); display: flex; align-items: center; justify-content: center; color: var(--al-acc, var(--xh-orange)); background: color-mix(in srgb, var(--al-acc, var(--xh-orange)) 12%, transparent); border: 1px solid color-mix(in srgb, var(--al-acc, var(--xh-orange)) 30%, transparent); }
.al-bank-ic svg { width: 17px; height: 17px; }
.al-bank-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.al-bank-list li { position: relative; padding-left: 16px; font-size: 12.8px; color: var(--xh-text-secondary); line-height: 1.5; }
.al-bank-list li::before { content: ''; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--al-acc, var(--xh-orange)); }
.al-bank-list li b { color: var(--xh-white); font-weight: 700; }
.al-bank-res { display: flex; flex-wrap: wrap; gap: 7px; }
.al-bank-r { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--xh-text-secondary); background: var(--xh-overlay-1); border: 1px solid var(--xh-border); border-radius: 8px; padding: 4px 9px 4px 5px; }
.al-bank-r img { width: 20px; height: 20px; object-fit: contain; }
.al-bank-note { margin: 2px 0 0; font-size: 12px; color: var(--xh-text-soft); line-height: 1.5; }

/* Фракции — карточки с эмблемой (owner 9274) */
.al-frac-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
/* owner 2026-07-09: подложка в цвет фракции (--_fc), не ярко — лёгкий тон + цветная рамка. */
.al-frac-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; border: 1px solid color-mix(in srgb, var(--_fc, var(--xh-border)) 26%, var(--xh-border)); border-radius: var(--xh-radius-lg); background: linear-gradient(158deg, color-mix(in srgb, var(--_fc, transparent) 10%, var(--xh-bg-card)), var(--xh-bg-card) 62%); padding: 20px 20px 18px; transition: transform var(--xh-transition), border-color var(--xh-transition); text-decoration: none; }
/* owner 2026-07-09: бледная растянутая картинка самой фракции за текстом; маска гасит её слева/сверху (где текст) — читаемость не страдает. */
.al-frac-card--bg::before { content: ''; position: absolute; inset: 0; z-index: 0; background: var(--_bgimg) center right / cover no-repeat; opacity: .16; -webkit-mask-image: linear-gradient(108deg, transparent 4%, rgba(0,0,0,.35) 46%, #000 100%); mask-image: linear-gradient(108deg, transparent 4%, rgba(0,0,0,.35) 46%, #000 100%); pointer-events: none; }
.al-frac-card > * { position: relative; z-index: 1; }
.al-frac-card--link:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--_fc, var(--xh-blue-light)) 62%, transparent); }
.al-frac-card--link:hover::before { opacity: .22; }
.al-frac-emblem { width: 72px; height: 72px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 38%, var(--xh-overlay-1), transparent 72%); border: 1px solid var(--xh-border); }
.al-frac-emblem img { width: 60px; height: 60px; object-fit: contain; filter: drop-shadow(0 4px 12px rgba(0,0,0,.4)); }
.al-frac-card-body { display: flex; flex-direction: column; gap: 7px; }
/* owner 2026-07-09: название и бейдж ВСЕГДА в столбик (не в строку) — иначе длинный бейдж переносился по-разному и карточки не выравнивались. */
.al-frac-card-name { font-family: var(--xh-font-heading); font-size: 17px; font-weight: 700; color: var(--xh-white); display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.al-frac-card-desc { font-size: 12.8px; color: var(--xh-text-secondary); line-height: 1.55; }
.al-frac-card-more { margin-top: 2px; font-size: 12px; font-weight: 700; color: var(--xh-blue-light); opacity: .9; }
.al-frac-card--link:hover .al-frac-card-more { opacity: 1; }
@media (max-width: 900px) { .al-bank { grid-template-columns: 1fr; } .al-frac-cards { grid-template-columns: 1fr; }
}

/* ─── 2x2 PANEL GRID ─── */
.al-pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.al-panel { border: 1px solid var(--xh-border); border-radius: var(--xh-radius-lg); background: var(--xh-bg-card); padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; }
.al-panel-title {
  position: relative; padding-left: 14px;
  font-family: var(--xh-font-heading); font-size: 17px; font-weight: 700; color: var(--xh-white);
}
.al-panel-title::before { content: ''; position: absolute; left: 0; top: 3px; bottom: 3px; width: 3px; border-radius: 2px; background: var(--xh-orange); }
.al-panel-desc { font-size: 13px; color: var(--xh-text-secondary); line-height: 1.55; margin: 0; }

/* small diplomacy chips inside panel */
.al-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.al-chip {
  display: inline-block; padding: 6px 13px; border: 1px solid var(--xh-border);
  border-radius: 999px; background: var(--xh-bg-deep); font-size: 13px;
  color: var(--xh-text-secondary); text-decoration: none; transition: all var(--xh-transition);
}
a.al-chip { cursor: pointer; }
a.al-chip:hover { color: var(--xh-white); border-color: rgba(74,157,245,.45); background: rgba(74,157,245,.08); }
.al-chips2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.al-chip2 {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border: 1px solid var(--xh-border); border-radius: var(--xh-radius); background: rgba(255,255,255,.018);
  transition: all var(--xh-transition);
}
.al-chip2:hover { border-color: rgba(74,157,245,.35); background: rgba(74,157,245,.04); }
.al-chip2-icon { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: rgba(74,157,245,.08); border: 1px solid rgba(74,157,245,.26); }
.al-chip2-icon svg { width: 15px; height: 15px; color: var(--xh-blue-light); }
.al-chip2 span { font-family: var(--xh-font-heading); font-size: 13px; font-weight: 600; color: var(--xh-text-secondary); }

/* Навыки альянса — механика прокачки + ветки (owner 2026-07-06, данные движка) */
.al-skmech { margin: 16px 0 20px; border: 1px solid rgba(74,157,245,.28); border-radius: var(--xh-radius-lg);
  background: linear-gradient(180deg, rgba(74,157,245,.07), rgba(74,157,245,.02)); padding: 16px 18px; }
.al-skmech-title { display: flex; align-items: center; gap: 9px; font-family: var(--xh-font-heading); font-size: 15px;
  font-weight: 700; color: var(--xh-white); margin-bottom: 10px; }
.al-skmech-title svg { width: 19px; height: 19px; color: var(--xh-blue-light); flex: none; }
.al-skmech-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.al-skmech-list li { position: relative; padding-left: 18px; font-size: 13.5px; line-height: 1.55; color: var(--xh-text-secondary); }
.al-skmech-list li::before { content: ''; position: absolute; left: 2px; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--xh-blue-light); }
.al-skmech-list strong { color: var(--xh-white); font-weight: 700; }
.al-skbranches { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.al-skbranch { border: 1px solid var(--xh-border); border-radius: var(--xh-radius-lg); background: var(--xh-bg-card); overflow: hidden; }
.al-skbranch-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px;
  background: rgba(255,255,255,.02); border-bottom: 1px solid var(--xh-border); }
.al-skbranch-lvl { font-family: var(--xh-font-heading); font-size: 13px; font-weight: 800; color: var(--xh-orange);
  text-transform: uppercase; letter-spacing: .04em; }
.al-skbranch-count { font-size: 12px; color: var(--xh-text-soft); font-variant-numeric: tabular-nums; }
.al-skitems { display: flex; flex-direction: column; }
.al-skitem { padding: 9px 14px; border-bottom: 1px solid rgba(255,255,255,.05); }
.al-skitem:last-child { border-bottom: 0; }
.al-skitem-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.al-skitem-name { font-size: 13.5px; font-weight: 600; color: var(--xh-text); }
.al-skitem-lvls { font-size: 11.5px; font-weight: 700; color: var(--xh-blue-soft); white-space: nowrap;
  background: rgba(42,125,225,.12); border: 1px solid rgba(42,125,225,.28); padding: 1px 7px; border-radius: 5px; }
.al-skitem-bonus { font-size: 12.5px; color: var(--xh-text-soft); line-height: 1.45; margin-top: 3px; }

/* Размер и рост альянса */
.al-sizes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.al-size { border: 1px solid var(--xh-border); border-radius: var(--xh-radius); background: var(--xh-bg-card); padding: 12px 13px; }
.al-size-lvl { font-family: var(--xh-font-heading); font-size: 14px; font-weight: 800; color: var(--xh-orange); margin-bottom: 8px; }
.al-size-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 12.5px; padding: 2px 0; }
.al-size-k { color: var(--xh-text-soft); }
.al-size-v { color: var(--xh-text); font-weight: 700; font-variant-numeric: tabular-nums; }
.al-note { font-size: 13px; color: var(--xh-text-soft); line-height: 1.55; margin-top: 12px; }
.al-frac-cost { font-size: 12.5px; color: var(--xh-text-soft); line-height: 1.5; margin: 10px 0 0; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.06); }
.al-frac-cost strong { color: var(--xh-text-secondary); }
a.al-fcard--link { text-decoration: none; transition: border-color var(--xh-transition), transform var(--xh-transition); }
a.al-fcard--link:hover { border-color: rgba(74,157,245,.4); transform: translateY(-2px); }
.al-fcard--war { border-color: rgba(232,80,80,.34) !important; background: rgba(232,80,80,.05); }
.al-fcard--war .al-fcard-icon { color: var(--xh-red, #e85050); }
@media (max-width: 720px) { .al-skbranches { grid-template-columns: 1fr; } .al-sizes { grid-template-columns: repeat(2, 1fr); }
}

/* media panel (image bg + bottom button) */
.al-mpanel { border: 1px solid var(--xh-border); border-radius: var(--xh-radius-lg); background: var(--xh-bg-card); display: flex; flex-direction: column; overflow: hidden; }
.al-mpanel-head { padding: 22px 24px 14px; display: flex; flex-direction: column; gap: 6px; }
.al-mpanel-art {
  position: relative; flex: 1; min-height: 180px;
  display: flex; align-items: flex-end; justify-content: flex-start; padding: 18px;
  background:
    radial-gradient(ellipse at 30% 40%, color-mix(in srgb, var(--al-acc) 26%, transparent) 0%, transparent 65%),
    radial-gradient(ellipse at 75% 70%, color-mix(in srgb, var(--al-acc) 18%, transparent) 0%, transparent 50%),
    linear-gradient(160deg, color-mix(in srgb, var(--al-acc) 8%, var(--xh-bg-primary)) 0%, var(--xh-bg-primary) 100%);
  border-top: 1px solid var(--xh-border);
  overflow: hidden;
}
.al-mpanel-art::after {
  content: ''; position: absolute; inset: 0; opacity: .35; pointer-events: none;
  background:
    repeating-linear-gradient(45deg, color-mix(in srgb, var(--al-acc) 10%, transparent) 0 2px, transparent 2px 10px),
    radial-gradient(circle at 70% 50%, color-mix(in srgb, var(--al-acc) 14%, transparent) 0%, transparent 50%);
  mask-image: linear-gradient(180deg, var(--xh-black) 30%, transparent 100%);
}
.al-mpanel-art-deco {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 60%; max-width: 220px; color: var(--al-acc); opacity: .25; filter: blur(.5px);
  pointer-events: none;
}
.al-mpanel-art-deco svg { width: 100%; height: 100%; }
.al-mpanel-btn {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--xh-radius);
  background: var(--xh-orange); color: var(--xh-white);
  font-family: var(--xh-font-heading); font-size: 13px; font-weight: 700; letter-spacing: .4px;
  text-transform: uppercase; box-shadow: 0 0 18px var(--xh-orange-glow);
  transition: all var(--xh-transition);
}
.al-mpanel-btn:hover { background: var(--xh-orange-hover); transform: translateY(-1px); }
.al-mpanel-btn svg { width: 12px; height: 12px; }

.al-acc-red   { --al-acc: var(--xh-woa-red); }
.al-acc-orange { --al-acc: var(--xh-orange); }
.al-acc-blue  { --al-acc: var(--xh-blue-light); }

/* ─── FAQ + CTA ─── */
.al-faqrow { display: grid; grid-template-columns: 1fr 320px; gap: 14px; align-items: stretch; }
.al-faq-panel { border: 1px solid var(--xh-border); border-radius: var(--xh-radius-lg); background: var(--xh-bg-card); padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; }
.al-faq-list { display: flex; flex-direction: column; gap: 6px; }
.al-faq-more { font-family: var(--xh-font-heading); font-size: 13px; font-weight: 700; color: var(--xh-orange); letter-spacing: .3px; align-self: flex-start; padding-top: 4px; }
.al-faq-more:hover { color: var(--xh-orange-hover); }

.al-cta {
  border: 1px solid var(--xh-border); border-radius: var(--xh-radius-lg);
  background:
    radial-gradient(ellipse at 50% 60%, var(--xh-orange-a18) 0%, transparent 60%),
    linear-gradient(180deg, var(--xh-orange-text) 0%, var(--xh-bg-primary) 100%);
  padding: 24px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px;
  overflow: hidden; position: relative;
}
.al-cta::before { content: ''; position: absolute; inset: 0; opacity: .35;
  background: radial-gradient(circle at 50% 60%, rgba(232,132,30,.4) 0%, transparent 35%); pointer-events: none; }
.al-cta-title { position: relative; font-family: var(--xh-font-heading); font-size: 17px; font-weight: 700; color: var(--xh-white); letter-spacing: .3px; }
.al-cta-desc { position: relative; font-size: 13px; color: var(--xh-text-secondary); line-height: 1.55; margin: 0; }
.al-cta-emblem { position: relative; width: 72px; height: 72px; color: var(--xh-orange); filter: drop-shadow(0 0 16px rgba(232,132,30,.55)); margin-top: 4px; }
.al-cta-emblem svg { width: 100%; height: 100%; }
.al-cta-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--xh-radius);
  background: var(--xh-orange); color: var(--xh-white);
  font-family: var(--xh-font-heading); font-size: 13px; font-weight: 700; letter-spacing: .4px;
  text-transform: uppercase; box-shadow: 0 0 18px var(--xh-orange-glow);
  transition: all var(--xh-transition);
}
.al-cta-btn:hover { background: var(--xh-orange-hover); transform: translateY(-1px); }
.al-cta-btn svg { width: 12px; height: 12px; }

/* ─── PROCESS FLOW ─── */
.al-flow {
  border: 1px solid var(--xh-border); border-radius: var(--xh-radius-lg); background: var(--xh-bg-card);
  padding: 22px 24px; display: flex; flex-direction: column; gap: 18px;
}
.al-flow-title { font-family: var(--xh-font-heading); font-size: 16px; font-weight: 700; color: var(--xh-white); letter-spacing: .3px; }
.al-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.al-step { position: relative; display: flex; gap: 12px; padding: 4px 16px 4px 8px; }
.al-step + .al-step { border-left: 1px dashed var(--xh-border); }
.al-step-arrow { position: absolute; left: -7px; top: 50%; transform: translateY(-50%); width: 12px; height: 12px; color: var(--xh-text-muted); }
.al-step-icon { width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(74,157,245,.08); border: 1px solid rgba(74,157,245,.25); }
.al-step-icon svg { width: 16px; height: 16px; color: var(--xh-blue-light); }
.al-step-body { min-width: 0; }
.al-step-num { font-family: var(--xh-font-heading); font-size: 12px; font-weight: 700; color: var(--xh-orange); letter-spacing: .3px; margin-bottom: 2px; }
.al-step-name { font-family: var(--xh-font-heading); font-size: 13px; font-weight: 700; color: var(--xh-text); line-height: 1.25; margin-bottom: 3px; }
.al-step-desc { font-size: 11.5px; color: var(--xh-text-secondary); line-height: 1.45; }

/* ─── SIDEBAR ─── */
.al-sidebar { position: sticky; top: calc(var(--xh-header-h) + 16px); display: flex; flex-direction: column; gap: 14px; }
.al-side-card { background: var(--xh-bg-card); border: 1px solid var(--xh-border); border-radius: var(--xh-radius-lg); padding: 18px 20px; }
.al-side-title { font-family: var(--xh-font-heading); font-size: 14.5px; font-weight: 700; color: var(--xh-white); letter-spacing: .4px; margin-bottom: 14px; }
.al-nav { display: flex; flex-direction: column; gap: 1px; }
.al-nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px; border-radius: var(--xh-radius);
  font-family: var(--xh-font-heading); font-size: 13.5px; font-weight: 600;
  color: var(--xh-text-secondary); letter-spacing: .2px; transition: all var(--xh-transition);
}
.al-nav a:hover { color: var(--xh-text); background: var(--xh-overlay-2); }
.al-nav a .al-nav-chev { width: 13px; height: 13px; opacity: 0; transform: rotate(180deg); transition: opacity var(--xh-transition); }

.al-filter { display: flex; flex-direction: column; gap: 1px; }
.al-radio {
  display: flex; align-items: center; gap: 10px; padding: 7px 4px;
  font-family: var(--xh-font-heading); font-size: 13.5px; font-weight: 600;
  color: var(--xh-text-secondary); cursor: pointer; transition: color var(--xh-transition);
  width: 100%; text-align: left; justify-content: flex-start;
}
.al-radio:hover { color: var(--xh-text); }
.al-radio-dot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--xh-text-muted); flex-shrink: 0; position: relative; transition: all var(--xh-transition); }
.al-radio-count {
  margin-left: auto; font-family: var(--xh-font-heading); font-size: 11px; font-weight: 700;
  color: var(--xh-text-muted); background: var(--xh-overlay-3); border: 1px solid var(--xh-border);
  padding: 2px 8px; border-radius: 4px; letter-spacing: .3px;
}

.al-rel-list { display: flex; flex-direction: column; gap: 0; }
.al-rel-list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 4px; border-bottom: 1px solid var(--xh-border);
  font-family: var(--xh-font-heading); font-size: 13.5px; font-weight: 600;
  color: var(--xh-text-secondary); transition: all var(--xh-transition);
}
.al-rel-list a:last-child { border-bottom: none; }
.al-rel-list a:hover { color: var(--xh-orange); padding-left: 6px; }
.al-rel-list a svg { width: 14px; height: 14px; color: var(--xh-text-muted); flex-shrink: 0; }

.al-link-list { display: flex; flex-direction: column; gap: 2px; }
.al-link-list a {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 4px;
  font-family: var(--xh-font-heading); font-size: 13.5px; font-weight: 600;
  color: var(--xh-text-secondary); transition: color var(--xh-transition);
}
.al-link-list a:hover { color: var(--xh-text); }
.al-link-list a svg { width: 16px; height: 16px; color: var(--xh-orange); flex-shrink: 0; opacity: .8; }

/* ─── FOOTER EXT ─── */
.al-footer-desc { font-size: 13px; color: var(--xh-text-muted); line-height: 1.55; margin: 12px 0 16px; max-width: 230px; }
.al-databar { position: relative; z-index: 1; border-top: 1px solid var(--xh-border); padding: 14px 0; text-align: left; }
.al-databar-inner { max-width: var(--xh-max-w); margin: 0 auto; padding: 0 32px; font-family: var(--xh-font-heading); font-size: 12px; font-weight: 600; color: var(--xh-text-muted); letter-spacing: .3px; }
@media (max-width: 768px) {
  .al-hero-inner, .al-layout-inner, .al-databar-inner { padding-left: 20px; padding-right: 20px; }
  .al-feat-grid { grid-template-columns: repeat(2, 1fr); }
  .al-roles { grid-template-columns: 1fr 1fr; }
  .al-steps { grid-template-columns: 1fr 1fr; }
  .al-sidebar { grid-template-columns: 1fr; }
  .al-features { gap: 8px; }
  .al-feat { min-width: 80px; padding: 10px 10px; }
}
@media (max-width: 480px) {
  .al-hero-inner, .al-layout-inner, .al-databar-inner { padding-left: 16px; padding-right: 16px; }
  .al-feat-grid { grid-template-columns: 1fr 1fr; }
  .al-roles { grid-template-columns: 1fr; }
  .al-steps { grid-template-columns: 1fr; }
  .al-chips2 { grid-template-columns: 1fr; }
}

/* ===== expedition (owner-шаблон, адаптировано 2026-05-28) ===== */
/* ============================================
   EXPEDITIONS — Encyclopedia article page
   ============================================ */

/* ─── HERO ─── */
.ex-hero { position: relative; z-index: 1; padding: 32px 0 28px; overflow: hidden; }
.ex-hero-bg { position: absolute; inset: 0; z-index: 0; background: url('/media/v2/img/heroes/expedition.webp') center 35% / cover no-repeat; }
.ex-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--xh-bg-deep) 0%, rgba(6,10,20,.88) 32%, rgba(6,10,20,.35) 60%, rgba(6,10,20,.55) 100%),
    radial-gradient(ellipse at 78% 50%, rgba(74,157,245,.22) 0%, transparent 60%),
    linear-gradient(180deg, rgba(6,10,20,.35) 0%, rgba(6,10,20,.15) 60%, var(--xh-bg-deep) 100%);
}
.ex-hero-inner { position: relative; z-index: 1; max-width: var(--xh-max-w); margin: 0 auto; padding: 0 32px; }
.ex-hero-title {
  font-family: var(--xh-font-display); font-size: clamp(28px, 4.2vw, 44px);
  color: var(--xh-white); line-height: 1.05; margin-bottom: 14px; letter-spacing: 1.5px;
  text-transform: uppercase;
}
.ex-hero-desc { font-size: 14.5px; color: var(--xh-text-secondary); line-height: 1.6; max-width: 440px; }

/* ─── LAYOUT ─── */
.ex-layout { position: relative; z-index: 1; padding: 16px 0 40px; }
.ex-layout-inner {
  max-width: var(--xh-max-w); margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: 1fr 240px; gap: 24px; align-items: start;
}
.ex-main { min-width: 0; display: flex; flex-direction: column; gap: 32px; }

/* intro hex callout */
.ex-intro {
  display: flex; align-items: center; gap: 22px;
  padding: 22px 26px; border-radius: var(--xh-radius-lg);
  border: 1px solid var(--xh-border); background: rgba(12,19,34,.55);
}
.ex-intro-badge {
  width: 56px; height: 60px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(232,132,30,.10);
  border: 1px solid var(--xh-orange-a30);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  color: var(--xh-orange);
}
.ex-intro-badge svg { width: 22px; height: 22px; }
.ex-intro p { font-size: 14px; color: var(--xh-text-secondary); line-height: 1.65; margin: 0; }

/* section heading (plain) */
.ex-sec { display: flex; flex-direction: column; gap: 14px; }
.ex-sec-title {
  font-family: var(--xh-font-heading); font-size: 22px; font-weight: 700;
  color: var(--xh-white); letter-spacing: .3px;
}
.ex-sec-lead { font-size: 14.5px; color: var(--xh-text-secondary); line-height: 1.6; margin: 12px 0 18px; max-width: 760px; }
.ex-sec-lead strong { color: var(--xh-white); }
/* Дорожка из 50 точек сектора (визуализация) */
.ex-track {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 6px;
  position: relative; margin: 0 0 22px; padding: 8px 4px 0;
}
.ex-track::before {
  content: ""; position: absolute; left: 6%; right: 6%; top: 24px; height: 2px;
  background: linear-gradient(90deg, var(--xh-orange), var(--xh-purple-light)); opacity: .45; border-radius: 2px;
}
.ex-track-node { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.ex-track-dot {
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--xh-bg-card); border: 1.5px solid var(--xh-border); color: var(--xh-text-secondary);
}
.ex-track-dot svg { width: 17px; height: 17px; }
.ex-track-node--boss .ex-track-dot {
  width: 42px; height: 42px; color: var(--xh-gold-dark); border-color: color-mix(in srgb, var(--xh-gold-dark) 55%, transparent);
  background: color-mix(in srgb, var(--xh-gold-dark) 14%, var(--xh-bg-card)); box-shadow: 0 0 16px color-mix(in srgb, var(--xh-gold-dark) 40%, transparent);
}
.ex-track-node--boss .ex-track-dot svg { width: 22px; height: 22px; }
.ex-track-l { font-size: 11.5px; color: var(--xh-text-secondary); text-align: center; line-height: 1.2; }
.ex-track-node--boss .ex-track-l { color: var(--xh-gold-muted); font-weight: 600; }

/* ─── FEATURED CARD — Бесконечные дали ─── */
.ex-feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch;
  border: 1px solid var(--xh-border); border-radius: var(--xh-radius-lg);
  background: var(--xh-bg-card); overflow: hidden;
}
.ex-feature-body { padding: 26px 28px; display: flex; flex-direction: column; gap: 14px; }
.ex-feature-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ex-feature-name {
  font-family: var(--xh-font-heading); font-size: 22px; font-weight: 700;
  color: var(--xh-white); text-transform: uppercase; letter-spacing: 1.5px;
}
.ex-tag {
  font-family: var(--xh-font-heading); font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 4px 10px; border-radius: 4px;
  background: rgba(74,157,245,.10); border: 1px solid rgba(74,157,245,.30); color: var(--xh-blue-light);
}
.ex-tag--res { background: rgba(32,168,104,.10); border: 1px solid rgba(32,168,104,.30); color: var(--xh-green); }
.ex-tag--hostile { background: rgba(208,80,32,.10); border: 1px solid rgba(208,80,32,.30); color: #e0673f; }
.ex-feature-desc { font-size: 14px; color: var(--xh-text-secondary); line-height: 1.6; margin: 0; }

/* small chip row */
.ex-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.ex-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px; border-radius: var(--xh-radius);
  border: 1px solid var(--xh-border); background: rgba(255,255,255,.018);
  font-family: var(--xh-font-heading); font-size: 11.5px; font-weight: 600; color: var(--xh-text-secondary);
  line-height: 1.2;
}
.ex-chip svg { width: 14px; height: 14px; color: var(--ex-acc, var(--xh-blue-light)); flex-shrink: 0; }
.ex-chip--res { --ex-acc: var(--xh-green); }
.ex-chip--red { --ex-acc: var(--xh-woa-red); }

.ex-btn {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: var(--xh-radius);
  background: var(--xh-orange); color: var(--xh-white);
  font-family: var(--xh-font-heading); font-size: 13px; font-weight: 700;
  letter-spacing: .4px; text-transform: uppercase;
  box-shadow: 0 0 18px var(--xh-orange-glow);
  transition: all var(--xh-transition); margin-top: 4px;
}
.ex-btn:hover { background: var(--xh-orange-hover); transform: translateY(-1px); }
.ex-btn svg { width: 12px; height: 12px; }

/* feature art (right side) */
.ex-feature-art {
  position: relative; overflow: hidden; min-height: 260px;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(74,157,245,.18) 0%, transparent 55%),
    linear-gradient(135deg, var(--xh-bg-card) 0%, var(--xh-bg-primary) 60%, var(--xh-bg-primary) 100%);
}
/* оранжевое кольцо-ореол убрано (owner 2026-07-05: в игровом арте его нет) */
.ex-feature-art::before { content: none; }
.ex-feature-art-paths { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }

/* ─── TYPE CARDS GRID 2x2 ─── */
.ex-types { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ex-type {
  display: flex; flex-direction: column; min-height: 520px;
  border: 1px solid var(--xh-border); border-radius: var(--xh-radius-lg);
  background: var(--xh-bg-card); overflow: hidden;
  transition: all var(--xh-transition);
}
.ex-type:hover { transform: translateY(-3px); border-color: var(--ex-acc); }
.ex-type-foot { margin-top: auto; }
.ex-type-head { padding: 22px 24px 14px; display: flex; flex-direction: column; gap: 10px; }
.ex-type-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ex-type-name { font-family: var(--xh-font-heading); font-size: 19px; font-weight: 700; color: var(--xh-white); text-transform: uppercase; letter-spacing: 1px; }
.ex-type-desc { font-size: 13px; color: var(--xh-text-secondary); line-height: 1.55; margin: 0; }
.ex-type-art {
  position: relative; height: 110px; overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 50%, color-mix(in srgb, var(--ex-acc) 22%, transparent) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 60%, color-mix(in srgb, var(--ex-acc) 14%, transparent) 0%, transparent 45%),
    linear-gradient(180deg, color-mix(in srgb, var(--ex-acc) 8%, var(--xh-bg-primary)) 0%, var(--xh-bg-primary) 100%);
  border-top: 1px solid var(--xh-border); border-bottom: 1px solid var(--xh-border);
}
.ex-type-art::before {
  content: ''; position: absolute; inset: 0; opacity: .35;
  background: repeating-linear-gradient(45deg, color-mix(in srgb, var(--ex-acc) 16%, transparent) 0 2px, transparent 2px 9px);
  mask-image: linear-gradient(180deg, transparent 0%, var(--xh-black) 30%, var(--xh-black) 70%, transparent 100%);
}
.ex-type-art-deco { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 70%; height: 70%; color: var(--ex-acc); opacity: .4; }
.ex-type-art-deco svg { width: 100%; height: 100%; }
.ex-type-foot { padding: 16px 24px 20px; display: flex; flex-direction: column; gap: 14px; }
.ex-type-chips { display: flex; gap: 14px; flex-wrap: wrap; }
.ex-type-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--xh-font-heading); font-size: 12px; font-weight: 600;
  color: var(--xh-text-secondary); line-height: 1.25;
}
.ex-type-chip svg { width: 14px; height: 14px; color: var(--ex-acc); flex-shrink: 0; }

.ex-t--green  { --ex-acc: var(--xh-green); }
.ex-t--red    { --ex-acc: var(--xh-woa-red); }
.ex-t--orange { --ex-acc: var(--xh-orange); }
.ex-t--gray   { --ex-acc: #7e90a8; }

/* ─── HOW IT WORKS — 4 info cards ─── */
.ex-how { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.ex-info {
  display: flex; gap: 14px; padding: 18px 18px;
  border: 1px solid var(--xh-border); border-radius: var(--xh-radius-lg);
  background: var(--xh-bg-card); transition: all var(--xh-transition);
}
.ex-info:hover { border-color: var(--xh-border-light); }
.ex-info-icon { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.ex-info-icon svg { width: 20px; height: 20px; }
.ex-info-body { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ex-info-name { font-family: var(--xh-font-heading); font-size: 13.5px; font-weight: 700; color: var(--xh-white); letter-spacing: .3px; line-height: 1.25; }
.ex-info-desc { font-size: 12px; color: var(--xh-text-secondary); line-height: 1.5; }
.ex-info--warn .ex-info-icon { background: rgba(232,132,30,.10); border: 1px solid var(--xh-orange-a30); color: var(--xh-orange); }
.ex-info--gift .ex-info-icon { background: rgba(74,157,245,.10); border: 1px solid rgba(74,157,245,.30); color: var(--xh-blue-light); }
.ex-info--gear .ex-info-icon { background: rgba(74,157,245,.10); border: 1px solid rgba(74,157,245,.30); color: var(--xh-blue-light); }
.ex-info--sci  .ex-info-icon { background: rgba(176,112,216,.10); border: 1px solid rgba(176,112,216,.30); color: #b070d8; }

/* ─── RELATED — 5 horizontal cards ─── */
.ex-related { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.ex-rcard {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  border: 1px solid var(--xh-border); border-radius: var(--xh-radius-lg);
  background: var(--xh-bg-card); transition: all var(--xh-transition);
}
.ex-rcard:hover { border-color: var(--xh-border-light); transform: translateY(-2px); }
.ex-rcard-icon { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: rgba(74,157,245,.08); border: 1px solid rgba(74,157,245,.25); }
.ex-rcard-icon svg { width: 18px; height: 18px; color: var(--xh-blue-light); }
.ex-rcard-body { min-width: 0; flex: 1; }
.ex-rcard-name { font-family: var(--xh-font-heading); font-size: 13px; font-weight: 700; color: var(--xh-white); line-height: 1.2; margin-bottom: 2px; }
.ex-rcard-desc { font-size: 11.5px; color: var(--xh-text-muted); line-height: 1.35; }
.ex-rcard-arrow { width: 14px; height: 14px; color: var(--xh-text-muted); flex-shrink: 0; }

/* ─── FAQ (plus icons) ─── */
.ex-faq-list { display: flex; flex-direction: column; gap: 6px; }

/* ─── SIDEBAR ─── */
.ex-sidebar { position: sticky; top: calc(var(--xh-header-h) + 16px); display: flex; flex-direction: column; gap: 14px; }
.ex-side-card { background: var(--xh-bg-card); border: 1px solid var(--xh-border); border-radius: var(--xh-radius-lg); padding: 18px 20px; }
.ex-side-title { font-family: var(--xh-font-heading); font-size: 14px; font-weight: 700; color: var(--xh-white); letter-spacing: .4px; margin-bottom: 14px; }
.ex-nav { display: flex; flex-direction: column; gap: 1px; }
.ex-nav a {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 4px 7px 16px; position: relative;
  font-family: var(--xh-font-heading); font-size: 13.5px; font-weight: 600;
  color: var(--xh-text-secondary); transition: color var(--xh-transition);
}
.ex-nav a::before { content: ''; position: absolute; left: 4px; top: 50%; transform: translateY(-50%); width: 4px; height: 4px; border-radius: 50%; background: var(--xh-text-muted); }
.ex-nav a:hover { color: var(--xh-text); }
.ex-nav a:hover::before { background: var(--xh-text-secondary); }

/* sidebar note */
.ex-note { display: flex; gap: 12px; align-items: flex-start; }
.ex-note-icon { width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: rgba(74,157,245,.08); border: 1px solid rgba(74,157,245,.25); color: var(--xh-blue-light); }
.ex-note-icon svg { width: 14px; height: 14px; }
.ex-note-body { font-size: 12px; color: var(--xh-text-muted); line-height: 1.55; }

/* ─── FOOTER (4-col + brand row) ─── */
.ex-footer { position: relative; z-index: 1; border-top: 1px solid var(--xh-border); background: var(--xh-bg-primary); padding: 40px 0 28px; }
.ex-footer-inner { max-width: var(--xh-max-w); margin: 0 auto; padding: 0 32px; }
.ex-footer-cols { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 28px; }
.ex-footer-col h4 { font-family: var(--xh-font-heading); font-size: 14px; font-weight: 700; color: var(--xh-text); margin-bottom: 14px; letter-spacing: .2px; }
.ex-footer-col a { display: block; font-size: 13px; color: var(--xh-text-muted); padding: 4px 0; transition: color var(--xh-transition); }
.ex-footer-col a:hover { color: var(--xh-text); }
.ex-footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-top: 22px; border-top: 1px solid var(--xh-border);
}
.ex-footer-brand-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.ex-footer-copy { font-size: 12px; color: var(--xh-text-muted); }
.ex-footer-socials { display: flex; gap: 12px; }
.ex-footer-social {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(12,19,34,.6);
  border: 1px solid var(--xh-border); display: flex; align-items: center; justify-content: center;
  color: var(--xh-text-muted); transition: all var(--xh-transition);
}
.ex-footer-social:hover { border-color: var(--xh-text-secondary); color: var(--xh-text); }
.ex-footer-social svg { width: 16px; height: 16px; }
@media (max-width: 768px) {
  .ex-hero-inner, .ex-layout-inner, .ex-footer-inner { padding-left: 20px; padding-right: 20px; }
  .ex-how { grid-template-columns: 1fr; }
  .ex-related { grid-template-columns: 1fr; }
  .ex-sidebar { grid-template-columns: 1fr; }
  .ex-footer-cols { grid-template-columns: 1fr 1fr; }
  .ex-footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (max-width: 480px) {
  .ex-hero-inner, .ex-layout-inner, .ex-footer-inner { padding-left: 16px; padding-right: 16px; }
  .ex-intro { flex-direction: column; align-items: flex-start; gap: 14px; }
  .ex-feature-body { padding: 22px 20px; }
  .ex-footer-cols { grid-template-columns: 1fr; }
}

/* ============================================
   Достижения — доработки (owner 2026-05-28): описания разделов крупнее,
   карточки шире, иконки наград (очки/АМ/опыт).
   ============================================ */
.ach-sec-sub { font-size: 14.5px; color: var(--xh-text-secondary); line-height: 1.55; }
.ach-cats { grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)) !important; }
.ach-ccard-stats { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 8px; }
.ach-ccard-stat { display: inline-flex; align-items: center; gap: 4px; font-family: var(--xh-font-heading); font-size: 12px; font-weight: 700; color: var(--xh-text-secondary); white-space: nowrap; }
.ach-ccard-stat svg { width: 13px; height: 13px; color: var(--xh-orange); flex-shrink: 0; }
.ach-st--am svg { color: var(--xh-blue-light); }
.ach-st--exp svg { color: var(--xh-green); }
.ach-st--lvl { color: var(--xh-text-muted); }

/* Обзор разделов достижений — компактные карточки БЕЗ иконок (owner 2026-05-28, вар.3):
   название + счётчик, визуально отличаются от карточек достижений. */
.ach-overview { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.ach-ovcard { display: block; padding: 13px 16px; border: 1px solid var(--xh-border); border-left: 3px solid var(--xh-orange); border-radius: var(--xh-radius); background: var(--xh-overlay-1); text-decoration: none; transition: border-color var(--xh-transition), background var(--xh-transition); }
.ach-ovcard:hover { background: rgba(255,255,255,.045); border-color: var(--xh-border-light); border-left-color: var(--xh-orange); }
.ach-ovcard-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.ach-ovcard-name { font-family: var(--xh-font-heading); font-size: 15px; font-weight: 700; color: var(--xh-white); }
.ach-ovcard-count { font-family: var(--xh-font-heading); font-size: 20px; font-weight: 700; color: var(--xh-orange); line-height: 1; }
.ach-ovcard-desc { font-size: 12.5px; color: var(--xh-text-muted); line-height: 1.45; }

/* Достижения: реальная игровая иконка крупнее и заметнее, карточка уже (owner 2026-05-28) */
.ach-cats { grid-template-columns: repeat(auto-fill, minmax(188px, 1fr)) !important; }
.ach-ccard-art img.ach-real-icon { width: 96px; height: 96px; object-fit: contain; filter: drop-shadow(0 2px 9px rgba(0,0,0,.45)); }
.ach-ccard-art::after { opacity: .18; }

/* Реальные иконки валют в статах достижений (АМ/опыт/очки) */
.ach-ccard-stat img { width: 16px; height: 16px; object-fit: contain; flex-shrink: 0; vertical-align: middle; }
@media (max-width: 480px) {
  .ach-ccard-art img.ach-real-icon { width: 132px; height: 132px; }
}
/* 2026-08-02 (P2-скорость): фон видно сквозь полупрозрачную картинку сверху, поэтому убирать его
   нельзя — но можно отдать лёгкий вариант. Та же картинка 1100x619, 100 КБ -> 75 КБ.
   Первая строка — запасная для браузеров без image-set, вторая перекрывает её лёгким файлом. */
.tn-hero-bg { position: absolute; inset: 0; z-index: 0; background: url('/media/v2/img/galaxy-map.jpg') center 25% / cover no-repeat; }
.tn-hero-bg { background-image: image-set(url('/media/v2/img/galaxy-map.webp') type('image/webp'), url('/media/v2/img/galaxy-map.jpg') type('image/jpeg')); }
.tn-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--xh-bg-deep) 0%, rgba(6,10,20,.86) 42%, rgba(6,10,20,.45) 70%, rgba(6,10,20,.7) 100%),
              linear-gradient(180deg, rgba(6,10,20,.4) 0%, rgba(6,10,20,.2) 50%, var(--xh-bg-deep) 100%);
}
.tn-hero-inner { position: relative; z-index: 1; max-width: var(--xh-max-w); margin: 0 auto; padding: 0 32px; }
.tn-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
.tn-hero-grid--solo { grid-template-columns: 1fr; }
.tn-hero-title {
  font-family: var(--xh-font-display); font-size: clamp(34px, 5vw, 56px);
  text-transform: none; letter-spacing: .5px; color: var(--xh-white); line-height: 1.02; margin-bottom: 18px;
}
.tn-hero-desc { font-size: 16px; color: var(--xh-text-secondary); line-height: 1.6; max-width: 480px; margin-bottom: 26px; }

/* hero tabs */
.tn-tabs { display: flex; gap: 12px; flex-wrap: wrap; }
.tn-tab {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--xh-font-heading); font-size: 14px; font-weight: 600;
  color: var(--xh-text-secondary); padding: 9px 18px; border-radius: 999px;
  border: 1px solid var(--xh-border-light); background: rgba(12,19,34,.6);
  backdrop-filter: blur(6px); transition: all var(--xh-transition); letter-spacing: .2px;
}
.tn-tab svg { width: 16px; height: 16px; color: var(--xh-orange); flex-shrink: 0; }
.tn-tab:hover { border-color: var(--xh-orange); color: var(--xh-text); background: var(--xh-orange-a08); }

/* hero trophy art */
.tn-hero-art { position: relative; aspect-ratio: 5/4; display: flex; align-items: center; justify-content: center; }
.tn-hero-art::before {
  content: ''; position: absolute; width: 70%; height: 70%; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,132,30,.32) 0%, rgba(42,125,225,.16) 45%, transparent 72%);
  filter: blur(6px);
}
.tn-trophy { position: relative; width: 200px; height: 200px; color: var(--xh-orange); filter: drop-shadow(0 0 28px var(--xh-orange-a45)); }
.tn-trophy svg { width: 100%; height: 100%; }
.tn-hero-art-deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

/* ─── LAYOUT ─── */
.tn-layout { position: relative; z-index: 1; padding: 8px 0 56px; }
.tn-layout-inner {
  max-width: var(--xh-max-w); margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: 1fr 280px; gap: 28px; align-items: start;
}
.tn-main { min-width: 0; display: flex; flex-direction: column; gap: 20px; }

/* intro callout */
.tn-intro {
  display: flex; align-items: center; gap: 22px;
  padding: 24px 28px; border-radius: var(--xh-radius-lg);
  border: 1px solid rgba(232,132,30,.22); border-left: 3px solid var(--xh-orange);
  background: linear-gradient(135deg, var(--xh-orange-a08) 0%, rgba(232,132,30,.02) 60%);
}
.tn-intro-badge {
  width: 64px; height: 64px; flex-shrink: 0; border-radius: var(--xh-radius);
  display: flex; align-items: center; justify-content: center;
  background: rgba(232,132,30,.1); border: 1px solid var(--xh-orange-a30);
}
.tn-intro-badge svg { width: 32px; height: 32px; color: var(--xh-orange); }
.tn-intro p { font-size: 15px; color: var(--xh-text-secondary); line-height: 1.6; margin: 0; }
.tn-intro p strong { color: var(--xh-text); font-weight: 600; }

/* generic section panel */
.tn-section { background: var(--xh-bg-card); border: 1px solid var(--xh-border); border-radius: var(--xh-radius-lg); padding: 28px 30px; }
.tn-section-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.tn-section-icon {
  width: 36px; height: 36px; border-radius: var(--xh-radius); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(232,132,30,.1); border: 1px solid rgba(232,132,30,.28);
}
.tn-section-icon svg { width: 19px; height: 19px; color: var(--xh-orange); }
.tn-section-title { font-family: var(--xh-font-heading); font-size: 22px; font-weight: 700; color: var(--xh-white); letter-spacing: .4px; }
.tn-section-sub { font-size: 14px; color: var(--xh-text-secondary); line-height: 1.55; margin: 0 0 22px; }

/* ─── FORMAT CARDS ─── */
.tn-formats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.tn-fcard {
  display: flex; flex-direction: column;
  border: 1px solid var(--xh-border); border-radius: var(--xh-radius-lg);
  background: rgba(12,19,34,.5); overflow: hidden; transition: all var(--xh-transition); cursor: pointer;
}
.tn-fcard:hover { transform: translateY(-4px); border-color: var(--tn-acc); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.tn-fcard-art {
  position: relative; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--tn-acc) 26%, transparent) 0%, transparent 62%),
    linear-gradient(160deg, color-mix(in srgb, var(--tn-acc) 10%, var(--xh-bg-card)) 0%, var(--xh-bg-primary) 100%);
  border-bottom: 1px solid var(--xh-border);
  overflow: hidden;
}
.tn-fcard-art::after {
  content: ''; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(color-mix(in srgb, var(--tn-acc) 30%, transparent) 1px, transparent 1px),
                    linear-gradient(90deg, color-mix(in srgb, var(--tn-acc) 30%, transparent) 1px, transparent 1px);
  background-size: 22px 22px; mask-image: radial-gradient(circle at 50% 45%, var(--xh-black) 10%, transparent 70%);
}
.tn-fcard-icon { position: relative; width: 56px; height: 56px; color: var(--tn-acc); filter: drop-shadow(0 0 14px color-mix(in srgb, var(--tn-acc) 60%, transparent)); }
.tn-fcard-icon svg { width: 100%; height: 100%; }
.tn-fcard-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tn-fcard-name { font-family: var(--xh-font-heading); font-size: 15px; font-weight: 700; color: var(--xh-white); line-height: 1.2; }
.tn-fcard-desc { font-size: 12.5px; color: var(--xh-text-secondary); line-height: 1.5; }
.tn-fcard-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.tn-fcard-head .tn-fcard-name { flex: 1; min-width: 0; }
.tn-fcard-badge {
  flex: none; font-family: var(--xh-font-heading); font-size: 11px; font-weight: 700; white-space: nowrap;
  letter-spacing: .3px; padding: 4px 10px; border-radius: 999px;
  color: var(--tn-acc); background: color-mix(in srgb, var(--tn-acc) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--tn-acc) 30%, transparent);
}
.tn-fcard-disc-label { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--xh-text-soft); font-weight: 700; margin-top: 4px; }
.tn-f--orange { --tn-acc: var(--xh-orange); }
.tn-f--blue   { --tn-acc: var(--xh-blue-light); }
.tn-f--green  { --tn-acc: var(--xh-green); }
.tn-f--gold   { --tn-acc: var(--xh-gold-dark); }
.tn-f--purple { --tn-acc: var(--xh-purple-light); }
.tn-f--red    { --tn-acc: var(--xh-red-bright, #d52b1e); }
/* Дисциплины трека (что засчитывает трек) */
.tn-fcard-disc { list-style: none; margin: 6px 0 0; padding: 10px 0 0; border-top: 1px solid var(--xh-border); display: flex; flex-direction: column; gap: 6px; }
.tn-fcard-disc li { position: relative; padding-left: 16px; font-size: 12px; color: var(--xh-text-secondary); line-height: 1.4; }
.tn-fcard-disc li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 6px; height: 6px; border-radius: 2px; background: var(--tn-acc); }
/* Масштаб награды по результату */
.tn-reward-scale { display: flex; gap: 14px; align-items: flex-start; margin-top: 16px; padding: 16px 18px; border-radius: 14px;
  background: color-mix(in srgb, var(--xh-green) 7%, transparent); border: 1px solid color-mix(in srgb, var(--xh-green) 22%, transparent); }
.tn-reward-scale-ico { flex: none; width: 34px; height: 34px; color: var(--xh-green); }
.tn-reward-scale-ico svg { width: 100%; height: 100%; }
.tn-reward-scale p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--xh-text-secondary); }
.tn-reward-scale strong { color: var(--xh-white); }
.tn-reward-scale-note { color: var(--xh-text-tertiary, #7a8699); font-size: 12px; }
.tn-reward-scale code { font-family: ui-monospace, monospace; font-size: 11.5px; background: var(--xh-overlay-6); padding: 1px 5px; border-radius: 5px; }

/* ─── PARTICIPATION STEPS ─── */
.tn-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; align-items: stretch; }
.tn-step { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 18px 16px; border: 1px solid var(--xh-border); border-radius: var(--xh-radius); background: rgba(255,255,255,.015); }
.tn-step + .tn-step { margin-left: 14px; }
.tn-step + .tn-step::before {
  content: ''; position: absolute; left: -14px; top: 50%; width: 14px; height: 1px;
  background: var(--xh-border-light);
}
.tn-step + .tn-step::after {
  content: ''; position: absolute; left: -7px; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px; border-top: 1px solid var(--xh-orange); border-right: 1px solid var(--xh-orange);
  rotate: 45deg;
}
.tn-step-num {
  width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--xh-font-heading); font-size: 14px; font-weight: 700; color: var(--xh-orange);
  background: rgba(232,132,30,.1); border: 1px solid rgba(232,132,30,.32);
}
.tn-step-name { font-family: var(--xh-font-heading); font-size: 14px; font-weight: 700; color: var(--xh-white); line-height: 1.2; }
.tn-step-desc { font-size: 12.5px; color: var(--xh-text-secondary); line-height: 1.5; }

/* ─── REWARDS ─── */
.tn-rewards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.tn-reward {
  display: flex; align-items: center; gap: 11px; padding: 12px 13px;
  border: 1px solid var(--xh-border); border-radius: var(--xh-radius);
  background: rgba(255,255,255,.015); transition: all var(--xh-transition);
}
.tn-reward:hover { border-color: var(--xh-border-light); background: rgba(255,255,255,.035); }
.tn-reward-icon { width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: rgba(42,125,225,.08); border: 1px solid rgba(42,125,225,.25); }
.tn-reward-icon svg { width: 16px; height: 16px; color: var(--xh-blue-light); }
.tn-reward span { font-family: var(--xh-font-heading); font-size: 12px; font-weight: 600; color: var(--xh-text-secondary); line-height: 1.25; }

/* ─── RATING LOGIC ─── */
.tn-rating { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tn-rating-card { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border: 1px solid var(--xh-border); border-radius: var(--xh-radius); background: rgba(255,255,255,.015); }
.tn-rating-icon { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--xh-orange-a08); border: 1px solid rgba(232,132,30,.24); }
.tn-rating-icon svg { width: 16px; height: 16px; color: var(--xh-orange); }
.tn-rating-card p { font-size: 12.5px; color: var(--xh-text-secondary); line-height: 1.5; margin: 2px 0 0; }

/* ─── FAQ (chevron variant) ─── */
.tn-faq-list { display: flex; flex-direction: column; gap: 8px; }

/* ─── SIDEBAR ─── */
.tn-sidebar { position: sticky; top: calc(var(--xh-header-h) + 16px); display: flex; flex-direction: column; gap: 16px; }
.tn-side-card { background: var(--xh-bg-card); border: 1px solid var(--xh-border); border-radius: var(--xh-radius-lg); padding: 20px; }
.tn-side-title { font-family: var(--xh-font-heading); font-size: 15px; font-weight: 700; color: var(--xh-white); letter-spacing: .4px; margin-bottom: 14px; }

/* sidebar nav (scrollspy) */
.tn-nav { display: flex; flex-direction: column; gap: 1px; }
.tn-nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 12px; border-radius: var(--xh-radius);
  font-family: var(--xh-font-heading); font-size: 14px; font-weight: 600;
  color: var(--xh-text-secondary); letter-spacing: .2px; transition: all var(--xh-transition);
}
.tn-nav a:hover { color: var(--xh-text); background: var(--xh-overlay-2); }
.tn-nav a .tn-nav-chev { width: 14px; height: 14px; opacity: 0; transform: rotate(180deg); transition: opacity var(--xh-transition); }

/* filter radios */
.tn-filter { display: flex; flex-direction: column; gap: 2px; }
.tn-radio {
  display: flex; align-items: center; gap: 10px; padding: 7px 4px;
  font-family: var(--xh-font-heading); font-size: 14px; font-weight: 600;
  color: var(--xh-text-secondary); cursor: pointer; transition: color var(--xh-transition); width: 100%; text-align: left;
}
.tn-radio:hover { color: var(--xh-text); }
.tn-radio-dot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--xh-text-muted); flex-shrink: 0; position: relative; transition: all var(--xh-transition); }

/* related list */
.tn-rel-list { display: flex; flex-direction: column; gap: 1px; }
.tn-rel-list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 4px; border-bottom: 1px solid var(--xh-border);
  font-family: var(--xh-font-heading); font-size: 14px; font-weight: 600;
  color: var(--xh-text-secondary); transition: all var(--xh-transition);
}
.tn-rel-list a:last-child { border-bottom: none; }
.tn-rel-list a:hover { color: var(--xh-orange); padding-left: 8px; }
.tn-rel-list a svg { width: 15px; height: 15px; color: var(--xh-text-muted); flex-shrink: 0; }
.tn-rcard:hover { transform: translateY(-3px); border-color: var(--tn-acc); }
.tn-rcard-art {
  width: 56px; height: 56px; border-radius: var(--xh-radius); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--tn-acc) 24%, transparent) 0%, transparent 70%), var(--xh-bg-card);
  border: 1px solid color-mix(in srgb, var(--tn-acc) 26%, transparent);
}
.tn-rcard-art svg { width: 28px; height: 28px; color: var(--tn-acc); }
.tn-rcard-name { font-family: var(--xh-font-heading); font-size: 16px; font-weight: 700; color: var(--xh-white); margin-bottom: 3px; }
.tn-rcard-desc { font-size: 12.5px; color: var(--xh-text-secondary); line-height: 1.45; }
/* .tn-r--* удалены 2026-06-01 (0 usage — цветовые акценты related теперь через xa-r--*). */

/* ─── FOOTER EXT ─── */
/* .tn-footer-desc удалён 2026-06-01 (0 usage). */
.tn-databar {
  position: relative; z-index: 1; border-top: 1px solid var(--xh-border); padding: 14px 0; text-align: left;
}
.tn-databar-inner { max-width: var(--xh-max-w); margin: 0 auto; padding: 0 32px; font-family: var(--xh-font-heading); font-size: 12px; font-weight: 600; color: var(--xh-text-muted); letter-spacing: .3px; }
@media (max-width: 900px) {
  .tn-formats { grid-template-columns: repeat(3, 1fr); }
  .tn-steps { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .tn-step + .tn-step { margin-left: 0; }
  .tn-step + .tn-step::before, .tn-step + .tn-step::after { display: none; }
  .tn-rewards { grid-template-columns: repeat(3, 1fr); }
  .tn-rating { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .tn-hero-inner, .tn-layout-inner, .tn-databar-inner { padding-left: 20px; padding-right: 20px; }
  .tn-section { padding: 22px 20px; }
  .tn-section-title { font-size: 19px; }
  .tn-formats { grid-template-columns: repeat(2, 1fr); }
  .tn-sidebar { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .tn-hero-inner, .tn-layout-inner, .tn-databar-inner { padding-left: 16px; padding-right: 16px; }
  .tn-formats { grid-template-columns: 1fr 1fr; }
  .tn-steps, .tn-rewards { grid-template-columns: 1fr 1fr; }
  .tn-rating { grid-template-columns: 1fr; }
  /* .tn-related-grid responsive (1fr) удалён 2026-06-01 (dead) */
  .tn-intro { flex-direction: column; align-items: flex-start; gap: 14px; }
}
/* Категория в боковом меню статьи */
.ex-side-cat, .tn-side-cat, .al-side-cat { font-size: 13px; color: var(--xh-text-secondary); line-height: 1.45; }
.ex-side-cat a, .tn-side-cat a, .al-side-cat a { color: var(--xh-text-secondary); }
.al-frac { padding: 12px 14px; border: 1px solid var(--xh-border); border-radius: var(--xh-radius); background: var(--xh-overlay-1); }
.al-frac-name { font-family: var(--xh-font-heading); font-size: 14.5px; font-weight: 700; color: var(--xh-white); display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-bottom: 5px; }
.al-frac-tag { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: color-mix(in srgb, var(--_fc, var(--xh-orange)) 82%, #fff); background: color-mix(in srgb, var(--_fc, var(--xh-orange)) 15%, transparent); border: 1px solid color-mix(in srgb, var(--_fc, var(--xh-orange)) 40%, transparent); border-radius: 4px; padding: 2px 8px; }
.al-frac-desc { font-size: 12.5px; color: var(--xh-text-secondary); line-height: 1.55; }
/* Экспедиция: реальные картинки секторов + характеристики (2026-05-31) */
/* картинка-фон всей плитки (как у featured), контент поверх + затемнение для читаемости */
.ex-type { position: relative; overflow: hidden; }
.ex-type-bg { position: absolute; inset: 0; z-index: 0; }
.ex-type-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 32%; display: block; }
.ex-type-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,12,22,.80) 0%, rgba(8,12,22,.34) 24%, rgba(8,12,22,.30) 44%, rgba(8,12,22,.72) 70%, color-mix(in srgb, var(--ex-acc, var(--xh-bg-primary)) 24%, rgba(8,12,22,.95)) 100%); }
.ex-type-head, .ex-type-foot { position: relative; z-index: 1; }
.ex-feature { border: 1px solid rgba(74,157,245,.35); }
.ex-feature-art { position: relative; overflow: hidden; }
.ex-feature-art img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 28%; display: block; }
.ex-feature-art::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--xh-bg-card) 0%, rgba(8,12,22,0) 30%), linear-gradient(180deg, rgba(8,12,22,0) 55%, rgba(8,12,22,.45) 100%); }
/* обводки секторов под цвет картинки */
.ex-t--amber { --ex-acc: #e8a838; }
.ex-t--purple { --ex-acc: var(--xh-purple-light); }
/* сложность цветом: легко (зелёный) → сложно (красный) */
.ex-tag.ex-diff { border: 1px solid; }
.ex-diff--1 { background: rgba(52,211,153,.12); border-color: rgba(52,211,153,.42); color: #34d399; }
.ex-diff--2 { background: rgba(163,208,57,.12); border-color: rgba(163,208,57,.42); color: #b6d957; }
.ex-diff--3 { background: rgba(232,168,56,.12); border-color: rgba(232,168,56,.42); color: #e8a838; }
.ex-diff--4 { background: rgba(240,130,60,.14); border-color: rgba(240,130,60,.46); color: #f0823c; }
.ex-diff--5 { background: rgba(224,92,74,.14); border-color: rgba(224,92,74,.46); color: #e85c4a; }
.ex-type-stats { display: flex; flex-direction: column; gap: 0; width: 100%; }
.ex-stat { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; font-size: 12.5px; line-height: 1.35; padding: 7px 0; border-top: 1px solid rgba(255,255,255,.07); }
.ex-stat:first-child { border-top: none; }
.ex-stat-k { color: var(--xh-white); font-weight: 600; flex-shrink: 0; padding-top: 1px; }
.ex-stat-v { color: var(--xh-text-secondary); text-align: right; display: inline-flex; align-items: center; gap: 5px; flex-wrap: wrap; justify-content: flex-end; }
.ex-stat-ico { width: 18px; height: 18px; object-fit: contain; flex: none; filter: drop-shadow(0 1px 2px rgba(0,0,0,.45)); }

/* ===== Турниры — бенто-витрина (2026-05-31, owner: разноразмерные блоки по важности) ===== */
/* FEATURED: крупный блок «Альянсовый» (2 колонки: текст + арт под картинку owner) */
.tn-feature { display: grid; grid-template-columns: 1.15fr .85fr; gap: 0; border: 1px solid var(--xh-border); border-radius: var(--xh-radius-lg); background: var(--xh-bg-card); overflow: hidden; }
.tn-feature-text { padding: 30px 32px; display: flex; flex-direction: column; gap: 15px; justify-content: center; min-width: 0; }
.tn-feature-tag { align-self: flex-start; font-family: var(--xh-font-heading); font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 4px 11px; border-radius: 4px; background: color-mix(in srgb, var(--tn-acc, var(--xh-gold-dark)) 14%, transparent); border: 1px solid color-mix(in srgb, var(--tn-acc, var(--xh-gold-dark)) 38%, transparent); color: var(--tn-acc, var(--xh-gold-dark)); }
.tn-feature-name { font-family: var(--xh-font-display); font-size: clamp(24px, 3vw, 34px); color: var(--xh-white); line-height: 1.05; letter-spacing: .4px; }
.tn-feature-desc { font-size: 14.5px; color: var(--xh-text-secondary); line-height: 1.6; margin: 0; }
.tn-feature-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 2px; }
.tn-fchip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: var(--xh-radius); border: 1px solid var(--xh-border); background: var(--xh-overlay-1); font-family: var(--xh-font-heading); font-size: 12px; font-weight: 600; color: var(--xh-text-secondary); line-height: 1.2; }
.tn-fchip svg { width: 15px; height: 15px; color: var(--tn-acc, var(--xh-gold-dark)); flex-shrink: 0; }
/* owner 2026-07-09: картинка турнира должна СЛИВАТЬСЯ с картой, а не быть отдельной панелью — убрал border-left
   и панельный градиент (фон общий с картой), оставил лишь мягкое свечение акцента + очень слабую сетку. */
/* owner 2026-07-09: правый край плитки = ТОТ ЖЕ тёмный цвет, что фон картинки турнира (#02060d, замерено с картинки),
   чтобы картинка сливалась «в один цвет», без видимой вставки. Слева плавно к цвету карты. */
.tn-feature-art { position: relative; overflow: hidden; min-height: 240px; background: radial-gradient(ellipse at 72% 48%, color-mix(in srgb, var(--tn-acc, var(--xh-gold-dark)) 13%, transparent) 0%, transparent 56%), linear-gradient(90deg, var(--xh-bg-card) 0%, #090d16 34%, #05080f 64%, #02060d 100%); }
.tn-feature-art::after { content: ''; position: absolute; inset: 0; opacity: .11; background-image: linear-gradient(color-mix(in srgb, var(--tn-acc,var(--xh-gold-dark)) 26%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--tn-acc,var(--xh-gold-dark)) 26%, transparent) 1px, transparent 1px); background-size: 26px 26px; mask-image: radial-gradient(circle at 64% 50%, var(--xh-black) 4%, transparent 58%); }
.tn-feature-art-deco { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 54%; height: 54%; color: var(--tn-acc, var(--xh-gold-dark)); opacity: .55; filter: drop-shadow(0 0 20px color-mix(in srgb, var(--tn-acc,var(--xh-gold-dark)) 45%, transparent)); }
.tn-feature-art-deco svg { width: 100%; height: 100%; }

/* Личные треки — 4 колонки (альянсовый вынесен в featured) */
.tn-formats--4 { grid-template-columns: repeat(4, 1fr); }

/* 19 типов — тематические группы (3 колонки) */
.tn-tgroups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tn-tgroup { border: 1px solid var(--xh-border); border-radius: var(--xh-radius-lg); background: rgba(12,19,34,.5); padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 13px; transition: border-color var(--xh-transition); }
.tn-tgroup:hover { border-color: color-mix(in srgb, var(--tn-acc) 45%, var(--xh-border)); }
.tn-tgroup-head { display: flex; align-items: center; gap: 10px; }
.tn-tgroup-icon { width: 34px; height: 34px; border-radius: var(--xh-radius); flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--tn-acc) 12%, transparent); border: 1px solid color-mix(in srgb, var(--tn-acc) 30%, transparent); }
.tn-tgroup-icon svg { width: 18px; height: 18px; color: var(--tn-acc); }
.tn-tgroup-name { font-family: var(--xh-font-heading); font-size: 14px; font-weight: 700; color: var(--xh-white); line-height: 1.2; }
.tn-tgroup-list { display: flex; flex-direction: column; gap: 8px; }
.tn-titem { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--xh-text-secondary); line-height: 1.3; }
.tn-titem::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--tn-acc); flex-shrink: 0; }
/* Пункт с картинкой турнира (owner 9259): маленькая плитка вместо точки. */
.tn-titem--img { gap: 11px; }
.tn-titem--img::before { display: none; }
.tn-titem-img { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; flex-shrink: 0; border: 1px solid color-mix(in srgb, var(--tn-acc) 32%, transparent); box-shadow: 0 2px 9px -3px rgba(0,0,0,.55); }
.tn-titem--img:hover .tn-titem-img { border-color: color-mix(in srgb, var(--tn-acc) 60%, transparent); }

/* Награды — карточки с описанием */
.tn-rcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.tn-rcard2 { display: flex; gap: 13px; padding: 15px 16px; border: 1px solid var(--xh-border); border-radius: var(--xh-radius-lg); background: rgba(255,255,255,.015); transition: all var(--xh-transition); }
.tn-rcard2:hover { border-color: var(--xh-border-light); transform: translateY(-2px); }
.tn-rcard2-icon { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: rgba(216,177,58,.10); border: 1px solid rgba(216,177,58,.30); }
.tn-rcard2-icon svg { width: 19px; height: 19px; color: var(--xh-gold-dark); }
.tn-rcard2-body { min-width: 0; }
.tn-rcard2-name { font-family: var(--xh-font-heading); font-size: 14px; font-weight: 700; color: var(--xh-white); line-height: 1.2; margin-bottom: 4px; }
.tn-rcard2-desc { font-size: 12px; color: var(--xh-text-secondary); line-height: 1.45; }

@media (max-width: 900px) {
  .tn-feature { grid-template-columns: 1fr; }
  .tn-feature-art { min-height: 150px; order: -1; border-left: 0; border-bottom: 1px solid var(--xh-border); }
  .tn-formats--4 { grid-template-columns: repeat(2, 1fr); }
  .tn-tgroups { grid-template-columns: 1fr; }
}

/* ===== Предложения (offers) — уникальные элементы (2026-06-08) =====
   Чром (of-hero/layout/section/sidebar/faq/databar) переиспользует общую
   систему статей-витрин tn-* (см. выше). Здесь — только уникальное для раздела:
   таймлайн «Путь новичка», карточки слотов-наборов, чипы «что внутри». Акцент — фиолетовый. */
.of-accent { --of-acc: var(--xh-purple-light); }

/* JOURNEY — вертикальный таймлайн сюжетных предложений (путь новичка) */
.of-journey { position: relative; display: flex; flex-direction: column; gap: 0; padding-left: 4px; }
.of-jnode { position: relative; display: grid; grid-template-columns: 46px 1fr; gap: 16px; padding: 0 0 22px; }
.of-jnode:last-child { padding-bottom: 0; }
.of-jnode::before { /* линия пути */
  content: ''; position: absolute; left: 22px; top: 38px; bottom: -4px; width: 2px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--xh-purple-light) 60%, transparent), color-mix(in srgb, var(--xh-purple-light) 14%, transparent));
}
.of-jnode:last-child::before { display: none; }
.of-jnum {
  position: relative; z-index: 1; width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--xh-font-heading); font-size: 16px; font-weight: 800; color: var(--xh-white);
  background: radial-gradient(circle at 50% 35%, var(--xh-purple-light) 0%, var(--xh-purple) 100%);
  border: 1px solid rgba(154,111,240,.5); box-shadow: 0 0 18px rgba(154,111,240,.4);
}
.of-jbody { min-width: 0; padding-top: 2px; }
.of-jname { font-family: var(--xh-font-heading); font-size: 16px; font-weight: 700; color: var(--xh-white); line-height: 1.25; margin-bottom: 6px; }
.of-jdesc { font-size: 13.5px; color: var(--xh-text-secondary); line-height: 1.6; margin: 0; }

/* SLOTS — честная сводка безымянных наборов доната (rank/vip/premium/main) */
.of-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.of-slot { border: 1px solid var(--xh-border); border-radius: var(--xh-radius-lg); background: rgba(12,19,34,.5); padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 9px; transition: border-color var(--xh-transition); }
.of-slot:hover { border-color: rgba(154,111,240,.45); }
.of-slot-n { font-family: var(--xh-font-display); font-size: 30px; font-weight: 800; color: var(--xh-purple-light); line-height: 1; letter-spacing: .5px; }
.of-slot-name { font-family: var(--xh-font-heading); font-size: 14.5px; font-weight: 700; color: var(--xh-white); line-height: 1.2; }
.of-slot-desc { font-size: 12.5px; color: var(--xh-text-secondary); line-height: 1.5; }

/* INSIDE — чипы «что бывает внутри предложений» (классы карт из движка) */
.of-inside { display: flex; flex-wrap: wrap; gap: 10px; }
.of-chip { display: inline-flex; align-items: center; gap: 9px; padding: 10px 15px; border-radius: 999px; border: 1px solid var(--xh-border); background: var(--xh-overlay-1); font-family: var(--xh-font-heading); font-size: 13px; font-weight: 600; color: var(--xh-text); }
.of-chip svg { width: 17px; height: 17px; color: var(--xh-purple-light); flex-shrink: 0; }

/* OTHER — прочие именованные предложения */
.of-other { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.of-ocard { border: 1px solid var(--xh-border); border-radius: var(--xh-radius-lg); background: rgba(255,255,255,.015); padding: 18px 20px; }
.of-ocard-name { font-family: var(--xh-font-heading); font-size: 15px; font-weight: 700; color: var(--xh-white); margin-bottom: 6px; }
.of-ocard-desc { font-size: 13px; color: var(--xh-text-secondary); line-height: 1.55; }

/* hero art — подарок-набор */
/* Предложения — значок-подарок под крошками (owner 2026-07-06, как на достижениях/сенаторах),
   но в фиолетовой теме раздела вместо оранжевой. */
.of-badge { background: rgba(154,111,240,.12); border-color: rgba(154,111,240,.4); color: var(--xh-purple-light); box-shadow: 0 0 26px rgba(154,111,240,.28); }
.of-herostats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.of-herostat { display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 13px; border-radius: 999px;
  background: rgba(154,111,240,.09); border: 1px solid rgba(154,111,240,.24); color: var(--xh-text-secondary); font-size: 13.5px; }
.of-herostat strong { color: var(--xh-purple-light); font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; }

@media (max-width: 900px) {
  .of-slots { grid-template-columns: repeat(2, 1fr); }
  .of-other { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .of-slots { grid-template-columns: 1fr 1fr; }
}

/* of- TL;DR (выжимка для AI-цитирования) */
.of-tldr { display: flex; flex-direction: column; gap: 9px; padding: 20px 24px; border: 1px solid var(--xh-border); border-left: 3px solid var(--xh-purple-light); border-radius: var(--xh-radius-lg); background: rgba(154,111,240,.05); }
.of-tldr-t { font-family: var(--xh-font-heading); font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--xh-purple-light); }
.of-tldr ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.of-tldr li { position: relative; padding-left: 22px; font-size: 14px; color: var(--xh-text-secondary); line-height: 1.55; }
.of-tldr li::before { content: ''; position: absolute; left: 4px; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--xh-purple-light); }
.of-tldr li strong { color: var(--xh-text); font-weight: 600; }

/* owner 2026-06-09: таблицы роста силы/награды по точкам сектора экспедиции */
.ex-grow{margin:0 0 20px;border:1px solid var(--xh-border);border-radius:14px;overflow:hidden;background:var(--xh-bg-deep)}
.ex-grow-head{display:flex;align-items:center;gap:8px;padding:11px 15px;font-family:var(--xh-font-heading);font-weight:700;color:var(--xh-white);font-size:15px;border-bottom:1px solid var(--xh-border);background:var(--xh-overlay-2)}
.ex-grow-dot{width:10px;height:10px;border-radius:3px;flex:none}
.ex-grow table{width:100%;border-collapse:collapse;font-size:13px}
.ex-grow th,.ex-grow td{text-align:left;padding:8px 12px;border-bottom:1px solid var(--xh-overlay-6)}
.ex-grow th{color:var(--xh-text-secondary);font-weight:600;font-size:12px}
.ex-grow td:first-child{font-weight:700;color:var(--xh-white);white-space:nowrap}
.ex-grow tr.ex-subhead td{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.03em;padding:9px 12px 5px;background:var(--xh-bg-deep)}
.ex-grow tr.ex-subhead svg{width:13px;height:13px;vertical-align:-2px;margin-right:5px}
.ex-grow-num{font-variant-numeric:tabular-nums;color:var(--xh-orange);white-space:nowrap}
@media(max-width:600px){.ex-grow th,.ex-grow td{padding:7px 8px;font-size:12px}
}

/* O9 2026-06-09: ссылка «Открыть сектор» на карточке экспедиции */
.ex-type-link{display:inline-flex;align-items:center;gap:6px;margin-top:12px;padding:9px 14px;border-radius:10px;font-size:13px;font-weight:700;font-family:var(--xh-font-heading);color:var(--xh-white);background:var(--xh-overlay-8);border:1px solid rgba(255,255,255,.18);text-decoration:none;transition:background .15s,border-color .15s;min-height:40px}
.ex-type-link:hover{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.32)}
@media (pointer:coarse){.ex-type-link{min-height:44px}
}

/* O2 2026-06-09: типы наград + АМ за место в турнирах */
.tn-rew-h{font-family:var(--xh-font-heading);font-size:16px;font-weight:700;color:var(--xh-white);margin:22px 0 6px}
.tn-rew-types{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 0}
.tn-rew-type{display:inline-flex;align-items:center;gap:7px;padding:7px 12px;border-radius:999px;border:1px solid var(--xh-border);background:var(--xh-bg-deep);font-size:13px;color:var(--xh-text)}
.tn-rew-type img{width:22px;height:22px;object-fit:contain}
.tn-am-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin:4px 0 0}
.tn-am-cell{display:flex;flex-direction:column;gap:2px;padding:8px 10px;border-radius:9px;border:1px solid var(--xh-border);background:var(--xh-bg-deep)}
.tn-am-cell--top{border-color:rgba(216,177,58,.5);background:color-mix(in srgb,var(--xh-gold-dark) 12%,var(--xh-bg-deep))}
.tn-am-pl{font-size:11px;color:var(--xh-text-secondary)}
.tn-am-v{display:inline-flex;align-items:center;gap:5px;font-family:var(--xh-font-heading);font-weight:800;font-size:16px;color:var(--xh-white);font-variant-numeric:tabular-nums}
.tn-am-cell--top .tn-am-v{color:var(--xh-gold-muted)}
@media(max-width:720px){.tn-am-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:420px){.tn-am-grid{grid-template-columns:repeat(2,1fr)}
}

/* O2 — кликабельные карточки треков + CTA (2026-06-09) */
.tn-fcard--link{display:flex;text-decoration:none;color:inherit;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;cursor:pointer}
.tn-fcard--link:hover{transform:translateY(-3px);box-shadow:0 10px 28px rgba(0,0,0,.32);border-color:rgba(169,140,224,.45)}
.tn-fcard--link:focus-visible{outline:2px solid var(--xh-purple-text,var(--xh-purple-text));outline-offset:2px}
.tn-fcard-more{display:inline-block;margin-top:auto;padding-top:.7rem;font-size:.82rem;font-weight:600;color:var(--xh-purple-text,var(--xh-purple-text));opacity:.85}
.tn-fcard--link:hover .tn-fcard-more{opacity:1}
.tn-feature-cta{display:inline-flex;align-items:center;gap:.4rem;margin-top:1rem;padding:.55rem 1.1rem;border-radius:10px;background:rgba(216,177,58,.16);border:1px solid rgba(216,177,58,.4);color:#f0d98a;font-weight:600;font-size:.92rem;text-decoration:none;transition:background .18s ease,transform .18s ease}
.tn-feature-cta:hover{background:rgba(216,177,58,.26);transform:translateX(3px)}
.tn-feature-cta:focus-visible{outline:2px solid #f0d98a;outline-offset:2px}

/* Порог дисциплины в карточке личного турнира (owner 8927) */
.tn-fcard-disc li{display:flex;justify-content:space-between;align-items:baseline;gap:10px}
.tn-disc-n{min-width:0}
.tn-disc-q{flex:none;font-size:11px;font-weight:700;color:var(--tn-acc,var(--xh-orange));font-variant-numeric:tabular-nums;white-space:nowrap}
.ex-chip img{width:15px;height:15px;object-fit:contain;flex-shrink:0}
/* Турниры — картинки треков (owner 2026-07-09): плавный переход картинки в фон + под текст */
.tn-fcard-art--img{aspect-ratio:16/9;border-bottom:none;overflow:visible;margin-bottom:-34px;
  -webkit-mask-image:linear-gradient(180deg,#000 0%,#000 50%,transparent 100%);mask-image:linear-gradient(180deg,#000 0%,#000 50%,transparent 100%)}
.tn-fcard-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 40%;z-index:0}
.tn-fcard-art--img::after{opacity:.09;mask-image:none}
.tn-fcard-art--img::before{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,transparent 30%,color-mix(in srgb,var(--tn-acc) 20%,transparent) 70%,transparent 100%)}
.tn-fcard--link .tn-fcard-body{position:relative;z-index:2}
/* альянсовая — мягкий ореол вместо жёсткого края */
.tn-feature-art--img{display:flex;align-items:center;justify-content:center;padding:6px;position:relative;overflow:hidden}
.tn-feature-art--img img{width:100%;max-width:320px;height:auto;object-fit:contain;filter:drop-shadow(0 10px 40px color-mix(in srgb,var(--tn-acc,#e8c41e) 45%,transparent));
  -webkit-mask-image:radial-gradient(72% 76% at 50% 47%,#000 38%,transparent 96%);mask-image:radial-gradient(72% 76% at 50% 47%,#000 38%,transparent 96%)}

/* Ранги — компактный схематичный блок (owner 9284: не главный, компактнее) */
.al-ranks{display:flex;flex-direction:column;gap:6px}
.al-rank{display:flex;align-items:center;gap:12px;padding:9px 14px;border:1px solid var(--xh-border);border-left:3px solid var(--al-acc,var(--xh-blue-light));border-radius:var(--xh-radius-md);background:var(--xh-bg-card)}
.al-rank-name{flex:0 0 132px;font-family:var(--xh-font-heading);font-weight:700;font-size:14px;color:var(--xh-white)}
.al-rank-perms{display:flex;flex-wrap:wrap;gap:5px;min-width:0}
.al-rank-perm{font-size:11px;font-weight:600;color:var(--xh-text-secondary);background:var(--xh-overlay-1);border:1px solid var(--xh-border);border-radius:5px;padding:2px 7px}
@media(max-width:600px){.al-rank{flex-direction:column;align-items:flex-start;gap:7px}.al-rank-name{flex:none}
}

/* Рост альянса — таблица цен + требования (owner 9285) */
.al-req3{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.al-req3-chip{display:inline-flex;align-items:center;gap:7px;font-size:12.5px;font-weight:600;color:var(--xh-text-secondary);background:var(--xh-overlay-1);border:1px solid var(--xh-border);border-radius:8px;padding:6px 11px}
.al-req3-chip svg{width:15px;height:15px;color:var(--xh-blue-light);flex-shrink:0}
.al-growth-wrap{overflow-x:auto;border:1px solid var(--xh-border);border-radius:var(--xh-radius-lg);background:var(--xh-bg-card)}
.al-growth{width:100%;border-collapse:collapse;font-size:13.5px;min-width:560px}
.al-growth th,.al-growth td{padding:10px 12px;text-align:right;white-space:nowrap;border-bottom:1px solid var(--xh-border)}
.al-growth th:first-child,.al-growth td:first-child,.al-growth th:nth-child(2),.al-growth td:nth-child(2){text-align:center}
.al-growth thead th{font-size:11.5px;text-transform:uppercase;letter-spacing:.4px;color:var(--xh-text-soft);font-weight:700;background:var(--xh-overlay-1);position:sticky;top:0}
.al-growth tbody tr:last-child td{border-bottom:none}
.al-growth tbody tr:hover{background:var(--xh-overlay-1)}
.al-growth-lvl{font-family:var(--xh-font-heading);font-weight:800;color:var(--xh-white);font-size:15px}
.al-growth td{color:var(--xh-text-secondary);font-variant-numeric:tabular-nums}
.al-growth-req{color:var(--xh-blue-light);font-weight:700}
.al-growth-unlock{color:var(--xh-green-bright,#3ddc84);font-weight:700}

/* Стратегия распределения навыков (owner 9283) */
.al-skmech-tip{display:flex;gap:12px;align-items:flex-start;margin-top:14px;padding:14px 16px;border-radius:var(--xh-radius-md);background:color-mix(in srgb,var(--xh-blue-light) 8%,transparent);border:1px solid color-mix(in srgb,var(--xh-blue-light) 28%,transparent)}
.al-skmech-tip svg{width:22px;height:22px;color:var(--xh-blue-light);flex-shrink:0;margin-top:1px}
.al-skmech-tip p{margin:0;font-size:13.5px;line-height:1.6;color:var(--xh-text-secondary)}
.al-skmech-tip b,.al-skmech-tip strong{color:var(--xh-white)}
.al-skmech-tip u{text-decoration-color:var(--xh-blue-light)}

/* Ещё возможности альянса — сетка карточек (owner 9285) */
.al-more{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.al-more-card{display:flex;gap:13px;align-items:flex-start;padding:16px 18px;border:1px solid var(--xh-border);border-radius:var(--xh-radius-lg);background:var(--xh-bg-card)}
.al-more-ic{flex:0 0 auto;width:40px;height:40px;border-radius:var(--xh-radius);display:flex;align-items:center;justify-content:center;color:var(--xh-blue-light);background:color-mix(in srgb,var(--xh-blue-light) 12%,transparent);border:1px solid color-mix(in srgb,var(--xh-blue-light) 28%,transparent)}
.al-more-ic svg{width:20px;height:20px}
.al-more-name{font-family:var(--xh-font-heading);font-size:14.5px;font-weight:700;color:var(--xh-white);margin-bottom:5px}
.al-more-desc{font-size:12.8px;line-height:1.55;color:var(--xh-text-secondary)}
@media(max-width:900px){.al-more{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:560px){.al-more{grid-template-columns:1fr}
}

/* Ссылки на навыки альянса (surface skill pages, owner 9283) */
.al-skitem-link{color:var(--xh-blue-light);text-decoration:none}
.al-skitem-link:hover{text-decoration:underline}

/* Иконки навыков в списке (owner 9293) */
.al-skitem--ico{display:flex;gap:11px;align-items:flex-start}
.al-skitem-ico{flex:0 0 auto;width:38px;height:38px;border-radius:9px;overflow:hidden;background:var(--xh-bg-deep);border:1px solid var(--xh-border)}
.al-skitem-ico img{width:100%;height:100%;object-fit:cover}
.al-skitem--ico .al-skitem-main{min-width:0;flex:1}
/* Иконки ресурсов в таблице роста (owner 9293) */
.al-gh-res{display:inline-flex;gap:2px;vertical-align:middle}
.al-gh-res img,.al-gh-i{width:16px;height:16px;object-fit:contain;vertical-align:middle}

/* Договоры дипломатии — карточки эффектов (owner 9293) */
.al-treaties{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.al-treaty{border:1px solid var(--xh-border);border-top:2px solid var(--al-t,var(--xh-blue-light));border-radius:var(--xh-radius-lg);background:var(--xh-bg-card);padding:16px 18px}
.al-treaty-head{display:flex;align-items:center;gap:10px;margin-bottom:11px}
.al-treaty-ic{width:34px;height:34px;border-radius:var(--xh-radius);display:flex;align-items:center;justify-content:center;color:var(--al-t,var(--xh-blue-light));background:color-mix(in srgb,var(--al-t,var(--xh-blue-light)) 12%,transparent);border:1px solid color-mix(in srgb,var(--al-t,var(--xh-blue-light)) 30%,transparent)}
.al-treaty-ic svg{width:18px;height:18px}
.al-treaty-name{font-family:var(--xh-font-heading);font-size:16px;font-weight:700;color:var(--xh-white)}
.al-treaty-list{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:8px}
.al-treaty-list li{position:relative;padding-left:16px;font-size:13px;line-height:1.5;color:var(--xh-text-secondary)}
.al-treaty-list li::before{content:'';position:absolute;left:0;top:7px;width:6px;height:6px;border-radius:50%;background:var(--al-t,var(--xh-blue-light))}
.al-t--teal{--al-t:var(--xh-teal,#20b0b8)}
.al-t--blue{--al-t:var(--xh-blue-light)}
.al-t--red{--al-t:var(--xh-woa-red,#e0503a)}
@media(max-width:760px){.al-treaties{grid-template-columns:1fr}
}