/* Тема «Реликвия»: золото и слоновая кость на тьме пустоты, тонкие двойные рамки-орнамент, ромбы. Мягкие углы. */
html[data-theme="relic"]{--bg:#0A0B10;--surface:#12131B;--surface-2:#1A1B26;--lime:#D9B46A;--lime-2:#F2E6C9;--mint:#4FD1C5;--green:#A8823F;
--purple:#9B8BE0;--violet:#5B4FA8;--cyan:#6FE3D6;--yellow:#E8C987;--pink:#E0607E;--txt:#F1ECE1;--dim:#8C8676;--muted:#B3AB98;
--line:rgba(217,180,106,.22);
--c-07110c:#090A10;--c-08130d:#0A0C12;--c-0a1204:#1A1206;--c-0b1710:#0D0F17;--c-0b1f16:#10121C;--c-134a32:#181B2D;--c-1c3a28:#17192A;--c-5e7062:#746C5A;--c-5f7364:#776E5B;--c-6e8073:#867D68;--c-7e917f:#978E78;--c-8a9c8b:#A19985;--c-8be01f:#BE8E2D;--c-8fa68c:#A69E8C;--c-8fe20a:#B08329;--c-9aae9a:#B0A998;--c-9cb79c:#B5AE9E;--c-9cef12:#C08F2D;--c-9fb79c:#B5AE9E;--c-a9bca6:#BBB5A7;--c-b7cbb2:#C7C2B6;--c-c9dcc6:#D7D3CB;--c-d8e7d3:#E1DFD9;--c-dbf5a6:#E6CB94;--c-ddebd8:#E5E3DE;--c-ddf7c4:#ECD6AC;--c-e4ff9b:#E6CA93;--c-e6f2e1:#ECEBE7;--c-e8f4e3:#EEEDE9;--c-e9ffae:#E9D1A2;--c-f0faec:#F3E6CC;--c-f2faee:#F5F5F3;--c-f4fbf0:#F4E8D0;--rgb-12-23-17:20,21,30;--rgb-199-255-62:217,180,106;--rgb-255-212-71:242,230,201;--rgb-46-242-160:79,209,197;--rgb-5-10-7:10,11,16;--rgb-56-225-255:111,227,214;--rgb-8-17-12:14,15,22;
--gild:linear-gradient(120deg,#8C6A2E,#E9CF93 35%,#F7EBCB 50%,#C9A257 70%,#8C6A2E)}

/* ---- характер «Реликвии» ---- */
html[data-theme="relic"] body{background:
  radial-gradient(80% 50% at 50% -12%,rgba(217,180,106,.16),transparent 62%),
  radial-gradient(60% 40% at 110% 70%,rgba(79,209,197,.10),transparent 60%),
  linear-gradient(180deg,#0C0D14,#07080C 70%) fixed}
/* шрифт: тонкий широкий заголовок вместо жирного */
html[data-theme="relic"] .h1{font-weight:300;letter-spacing:.06em;color:#F2E6C9;text-shadow:0 0 18px rgba(217,180,106,.35)}
html[data-theme="relic"] .h1 em{color:#D9B46A}
html[data-theme="relic"] .brand-name{font-weight:400;letter-spacing:.18em;color:#E9CF93}
html[data-theme="relic"] .tinfo h2,html[data-theme="relic"] .feature h2{font-weight:400;letter-spacing:.02em}
/* заголовки секций с ромбом */
html[data-theme="relic"] .sec h3{display:flex;align-items:center;gap:8px;color:#E9CF93;font-weight:600;letter-spacing:.04em}
html[data-theme="relic"] .sec h3::before{content:"";width:6px;height:6px;transform:rotate(45deg);background:var(--gild);box-shadow:0 0 8px rgba(217,180,106,.7);flex:none}
/* окна: двойная тонкая рамка — золото снаружи, вторая линия внутри */
html[data-theme="relic"] .card,html[data-theme="relic"] .list,html[data-theme="relic"] .rating,html[data-theme="relic"] .floorcard,
html[data-theme="relic"] .win,html[data-theme="relic"] .res,html[data-theme="relic"] .trow,html[data-theme="relic"] .li,html[data-theme="relic"] .theme-opt{
  border:1px solid rgba(217,180,106,.30);background:linear-gradient(180deg,rgba(242,230,201,.035),rgba(242,230,201,.01));
  box-shadow:inset 0 0 0 3px rgba(10,11,16,.9),inset 0 0 0 4px rgba(217,180,106,.10)}
html[data-theme="relic"] .feature{border:1px solid rgba(217,180,106,.45);box-shadow:inset 0 0 0 4px rgba(10,11,16,.55),inset 0 0 0 5px rgba(233,207,147,.18),0 18px 40px -22px rgba(217,180,106,.5)}
html[data-theme="relic"] .poster{box-shadow:0 0 0 1px rgba(217,180,106,.35)}
/* верхняя линия: золотая нить с ромбом по центру */
html[data-theme="relic"] #appbar{position:relative}
html[data-theme="relic"] #appbar::after{content:"";position:absolute;left:16px;right:16px;bottom:2px;height:1px;pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(217,180,106,.55) 30%,rgba(247,235,203,.9) 50%,rgba(217,180,106,.55) 70%,transparent)}
html[data-theme="relic"] #appbar::before{content:"";position:absolute;left:50%;bottom:-1px;width:7px;height:7px;margin-left:-3.5px;transform:rotate(45deg);
  background:#F7EBCB;box-shadow:0 0 10px rgba(217,180,106,.9);pointer-events:none}
/* кнопки: полированное золото и тонкий контур */
html[data-theme="relic"] .btn--primary,html[data-theme="relic"] .cta-bar .btn{background:var(--gild);color:#1A1206;box-shadow:0 0 0 1px rgba(247,235,203,.5) inset,0 10px 30px -12px rgba(217,180,106,.8)}
html[data-theme="relic"] .btn--ghost,html[data-theme="relic"] .mini{background:rgba(217,180,106,.05);color:#E9CF93;border:1px solid rgba(217,180,106,.4)}
html[data-theme="relic"] .nswitch button.on,html[data-theme="relic"] .seg button.on,html[data-theme="relic"] .chips .chip.on,html[data-theme="relic"] .chip.on{
  background:var(--gild);color:#1A1206;border-color:transparent;box-shadow:0 4px 16px -6px rgba(217,180,106,.8)}
html[data-theme="relic"] .chip{border-color:rgba(217,180,106,.28);color:#CFC6B2}
/* энергия пустоты: бирюза только у прогресса и активной вкладки */
html[data-theme="relic"] .bar>i{background:linear-gradient(90deg,#2FA79C,#6FE3D6);box-shadow:0 0 12px rgba(111,227,214,.6)}
html[data-theme="relic"] .tab.on,html[data-theme="relic"] .tab[aria-current]{color:#6FE3D6}
html[data-theme="relic"] .tab-mid span{background:var(--gild);color:#1A1206}
html[data-theme="relic"] .tab-mid{filter:drop-shadow(0 0 14px rgba(217,180,106,.55))}
html[data-theme="relic"] .hexbtn{background:var(--gild);color:#1A1206}
html[data-theme="relic"] #lgA stop:nth-child(1){stop-color:#F7EBCB}html[data-theme="relic"] #lgA stop:nth-child(2){stop-color:#D9B46A}html[data-theme="relic"] #lgA stop:nth-child(3){stop-color:#8C6A2E}
html[data-theme="relic"] #lgB stop:nth-child(1){stop-color:#6FE3D6}html[data-theme="relic"] #lgB stop:nth-child(2){stop-color:#D9B46A}html[data-theme="relic"] #lgB stop:nth-child(3){stop-color:#8C6A2E}
html[data-theme="relic"] #towerG stop:nth-child(1){stop-color:#8C6A2E}html[data-theme="relic"] #towerG stop:nth-child(2){stop-color:#D9B46A}html[data-theme="relic"] #towerG stop:nth-child(3){stop-color:#F7EBCB}
