/* Тема «Аркан»: бирюзовая ночь, охра, слоновая кость, кобальт. Включается html[data-theme="arcana"].
   Загружается после theme-arcana.css (сгенерированные замены акцентов), поэтому переменные здесь главнее. */
html[data-theme="arcana"] {
  --bg: #0B2221; --bg2: #0E2827; --card: #12302F; --card2: #173B39;
  --line: rgba(238,230,214,.10); --line2: rgba(200,150,62,.32);
  --text: #EEE6D6; --mut: rgba(238,230,214,.68); --dim: rgba(238,230,214,.44);
  --accent: #8E6524; --accent-2: #C8963E; --gold: #D9AE5C; --gold-2: #B98A3A; --violet: #3A5BA9; --teal: #7FB8B0;
  --serif: 'Forum', Georgia, serif; --sans: 'Golos Text', system-ui, sans-serif;
  font-synthesis: none; /* у Forum одно начертание — без поддельного жирного */
}
html[data-theme="arcana"] body { background: radial-gradient(1200px 600px at 50% -200px, #1B4643 0%, rgba(11,34,33,0) 70%), var(--bg); font-family: var(--sans); font-weight: 500; }
html[data-theme="arcana"] .h1, html[data-theme="arcana"] .h2, html[data-theme="arcana"] .q { letter-spacing: .01em; }

/* кнопки: охра с тёмным текстом (контраст), без градиентных свечений */
html[data-theme="arcana"] .btn.primary { color: #0B2221; background: #C8963E; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
html[data-theme="arcana"] .btn.primary:hover { background: #D6A54E; filter: none; }
html[data-theme="arcana"] .btn.gold { color: #0B2221; background: #EEE6D6; box-shadow: none; }
html[data-theme="arcana"] .btn.ghost { border-color: rgba(200,150,62,.35); }

/* шапка, логотип, аватар */
html[data-theme="arcana"] .topbar { background: linear-gradient(180deg, rgba(11,34,33,.94), rgba(11,34,33,.7)); }
html[data-theme="arcana"] .logo .wm b { background: none; -webkit-background-clip: initial; background-clip: initial; color: #EEE6D6; font-weight: 400; letter-spacing: .04em; }
html[data-theme="arcana"] .logo .wm small { color: #C8963E; }
html[data-theme="arcana"] .logo svg { filter: none; }
html[data-theme="arcana"] #lg stop:nth-child(1) { stop-color: #E8C27A; }
html[data-theme="arcana"] #lg stop:nth-child(2) { stop-color: #C8963E; }
html[data-theme="arcana"] #lg stop:nth-child(3) { stop-color: #8E6524; }
html[data-theme="arcana"] .avatar { background: #C8963E; color: #0B2221; box-shadow: 0 0 0 2px rgba(238,230,214,.15); }
html[data-theme="arcana"] .gem { filter: none; }

/* иконки: охра вместо розово-фиолетового */
html[data-theme="arcana"] #ci-stroke stop { stop-color: #D9AE5C; }
html[data-theme="arcana"] #ci-stroke stop:last-child { stop-color: #EEE6D6; }
html[data-theme="arcana"] #ci-fill stop { stop-color: #C8963E; stop-opacity: .22; }
html[data-theme="arcana"] .ib { background: rgba(238,230,214,.05); border-color: rgba(200,150,62,.3); box-shadow: none; }

/* постеры и карточки — как карты: тонкая охристая рамка */
html[data-theme="arcana"] .poster { border-radius: 12px; box-shadow: 0 0 0 1px rgba(200,150,62,.35), 0 12px 30px rgba(0,0,0,.45); }
html[data-theme="arcana"] .poster.make { background: #12302F; border: 1px dashed rgba(200,150,62,.45); }
html[data-theme="arcana"] .poster.make .plus { background: #C8963E; color: #0B2221; box-shadow: none; }
html[data-theme="arcana"] .tabbar a.plus b { background: #C8963E; color: #0B2221; box-shadow: 0 6px 18px rgba(0,0,0,.4); }
html[data-theme="arcana"] .chip.on { background: #EEE6D6; color: #12302F; border-color: #EEE6D6; }
html[data-theme="arcana"] .arch-card.on, html[data-theme="arcana"] .mode-card.on { background: rgba(238,230,214,.07); border-color: #C8963E; }
html[data-theme="arcana"] .seg button.on { background: #C8963E; color: #0B2221; box-shadow: none; }
html[data-theme="arcana"] .bar i { background: #C8963E; animation: none; }
html[data-theme="arcana"] .bar.indet i { animation: indet 1.5s ease-in-out infinite; }
html[data-theme="arcana"] .spark .sg { color: #E8C27A; }
html[data-theme="arcana"] .tag.hot { background: #C8963E; color: #0B2221; box-shadow: none; }
html[data-theme="arcana"] .tag.gold { background: rgba(238,230,214,.1); color: #E8C27A; }

/* оффер подписки — цвета ровно по макету «Аркан» */
html[data-theme="arcana"] .offer {
  --of-bg: radial-gradient(ellipse at 95% -12%, #44402d77, transparent 43%), linear-gradient(155deg, #102d29, #0b2522 76%);
  --of-line: #626147; --of-text: #f4eee2; --of-x: #82968d; --of-eyebrow: #acb6a7; --of-intro: #97aaa0;
  --of-tim-line: #a084507f; --of-tim-bg: linear-gradient(100deg, #6e572a33, #29382c66); --of-tim-top: #eacb8755; --of-tim-l: #e0cb9e; --of-tim-d: #f8dba4; --of-tim-cs: #bba57a;
  --of-al-line: #476e81; --of-al-bg: linear-gradient(115deg, #204457ae, #14363a9e); --of-qty: #f3eadd; --of-unit: #a7bac0; --of-sum: #b3c8cc; --of-sum-b: #f5eddf;
  --of-sep: #ffffff13; --of-ico-line: #51634f; --of-ico-bg: #ffffff08; --of-ico: #e7c48f; --of-ft: #fff0d9; --of-fd: #91a69d;
  --of-pline: #ffffff18; --of-new: #fff1db; --of-old: #87998e; --of-disc: #f3d19d; --of-disc-line: #a1815180; --of-disc-bg: #80603935; --of-period: #93a79b;
  --of-btn-bg: #eee5d4; --of-btn-hover: #fff2e0; --of-btn: #0b2b26;
  --of-later: #91a69c; --of-legal: #738d82; --of-foot: #6b8279;
}
html[data-theme="arcana"] .of-t { font-weight: 800; }
html[data-theme="arcana"] .of-qty, html[data-theme="arcana"] .of-new { font-weight: 800; }
