/* Тема «Система»: переменные цветов + свой характер. */
html[data-theme="system"]{--bg:#070C22;--surface:#0C1430;--surface-2:#121C42;--lime:#7FD8FF;--lime-2:#C47BFF;--mint:#8B5CFF;--green:#2E8BFF;
--purple:#C47BFF;--violet:#8B5CFF;--cyan:#7FD8FF;--yellow:#C47BFF;--pink:#FF5C93;--txt:#EAF2FF;--dim:#8D9AC6;--muted:#A2B0D6;
--line:rgba(127,216,255,.2);
--c-07110c:#060B1E;--c-08130d:#070C22;--c-0a1204:#04102A;--c-0b1710:#0A1234;--c-0b1f16:#120E3A;--c-134a32:#1B2E7A;--c-1c3a28:#1B2A66;--c-5e7062:#646F98;--c-5f7364:#646F98;--c-6e8073:#7682AE;--c-7e917f:#7E8BB6;--c-8a9c8b:#8693BE;--c-8be01f:#2E8BFF;--c-8fa68c:#8D9AC6;--c-8fe20a:#2E8BFF;--c-9aae9a:#93A1C9;--c-9cb79c:#97A6CF;--c-9cef12:#4FA6FF;--c-9fb79c:#97A6CF;--c-a9bca6:#A2B0D6;--c-b7cbb2:#AEBCE0;--c-c9dcc6:#C3D0EE;--c-d8e7d3:#D3DFF6;--c-dbf5a6:#CDEFFF;--c-ddebd8:#DAE5FA;--c-ddf7c4:#E6F2FF;--c-e4ff9b:#CDEFFF;--c-e6f2e1:#E4EDFF;--c-e8f4e3:#E4EDFF;--c-e9ffae:#E6F7FF;--c-f0faec:#EEF4FF;--c-f2faee:#EEF4FF;--c-f4fbf0:#F2F7FF;--rgb-12-23-17:14,24,60;--rgb-199-255-62:127,216,255;--rgb-255-212-71:196,123,255;--rgb-46-242-160:139,92,255;--rgb-5-10-7:7,12,34;--rgb-56-225-255:46,139,255;--rgb-8-17-12:10,18,48}

/* ---- характер «Системы»: голограмма, энергетический разрез, системные окна со скруглёнными углами ---- */
html[data-theme="system"] body{background:
  radial-gradient(90% 55% at 100% -8%,rgba(139,92,255,.40),transparent 60%),
  radial-gradient(70% 45% at -15% 35%,rgba(46,139,255,.26),transparent 60%),
  linear-gradient(180deg,#070C22,#04060F 62%) fixed}
html[data-theme="system"] body::before{content:"";position:fixed;inset:0;pointer-events:none;z-index:0;
  background-image:linear-gradient(rgba(127,216,255,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(127,216,255,.06) 1px,transparent 1px);
  background-size:26px 26px;-webkit-mask-image:linear-gradient(180deg,#000,transparent 55%);mask-image:linear-gradient(180deg,#000,transparent 55%)}
html[data-theme="system"] body::after{content:"";position:fixed;left:0;right:0;top:-120px;height:110px;pointer-events:none;z-index:6;
  background:linear-gradient(180deg,transparent,rgba(127,216,255,.10),transparent);animation:sys-scan 7s linear infinite}
@keyframes sys-scan{0%{transform:translateY(0)}100%{transform:translateY(calc(100vh + 240px))}}
html[data-theme="system"] #appbar{position:relative}
html[data-theme="system"] #appbar::after{content:"";position:absolute;left:-40px;right:-40px;bottom:4px;height:2px;pointer-events:none;
  transform:rotate(-6deg);transform-origin:left center;
  background:linear-gradient(90deg,transparent,#8B5CFF 25%,#7FD8FF 55%,transparent);box-shadow:0 0 18px #8B5CFF,0 0 4px #7FD8FF}
html[data-theme="system"] .h1{color:#EAF2FF;
  filter:drop-shadow(0 0 16px rgba(46,139,255,.45))}
html[data-theme="system"] .feature,html[data-theme="system"] .floorcard,html[data-theme="system"] .list,html[data-theme="system"] .rating,html[data-theme="system"] .win,html[data-theme="system"] .ttb div{border-radius:var(--r-lg);border:1px solid rgba(127,216,255,.38);
  box-shadow:0 0 30px rgba(46,139,255,.20),inset 0 0 36px rgba(46,139,255,.08)}
html[data-theme="system"] .floorcard,html[data-theme="system"] .list,html[data-theme="system"] .rating,html[data-theme="system"] .win{background:rgba(12,22,58,.72)}
html[data-theme="system"] .feature{animation:sys-open .45s cubic-bezier(.2,.9,.3,1.2) both}
html[data-theme="system"] .list{animation:sys-open .4s ease-out both}
@keyframes sys-open{0%{opacity:0;clip-path:inset(48% 0 48% 0);filter:brightness(2.2)}60%{opacity:1;filter:brightness(1.5)}100%{clip-path:inset(0);filter:none}}
html[data-theme="system"] .tile,html[data-theme="system"] .res,html[data-theme="system"] .rel,html[data-theme="system"] .ev,html[data-theme="system"] .card{border-radius:var(--r-lg)}
html[data-theme="system"] .poster{border-radius:var(--r-sm);box-shadow:0 0 0 1px rgba(196,123,255,.35)}
html[data-theme="system"] .ncard .poster{border-radius:var(--r-sm);box-shadow:0 0 0 1px rgba(196,123,255,.4),0 14px 30px -14px rgba(139,92,255,.7)}
html[data-theme="system"] .btn--primary,html[data-theme="system"] .cta-bar .btn{border-radius:var(--r-md);background:linear-gradient(100deg,#2E8BFF,#8B5CFF);color:#fff;
  box-shadow:0 0 26px rgba(139,92,255,.6),inset 0 1px 0 rgba(255,255,255,.35)}
html[data-theme="system"] .btn--ghost,html[data-theme="system"] .mini{border-radius:var(--r-md)}
html[data-theme="system"] .chip{border-radius:var(--r-pill);text-transform:none;letter-spacing:.02em}
html[data-theme="system"] .chip.on,html[data-theme="system"] .nchips .chip.on{background:#7FD8FF;color:#04102A;box-shadow:0 0 16px rgba(127,216,255,.7)}
html[data-theme="system"] .nswitch,html[data-theme="system"] .seg{border-radius:var(--r-md)}
html[data-theme="system"] .nswitch button,html[data-theme="system"] .seg button{border-radius:var(--r-sm)}
html[data-theme="system"] .nswitch button.on,html[data-theme="system"] .seg button.on{color:#fff;background:linear-gradient(100deg,rgba(46,139,255,.6),rgba(139,92,255,.6));
  box-shadow:inset 0 0 0 1px #7FD8FF,0 0 22px rgba(139,92,255,.5)}
html[data-theme="system"] .rating .big,html[data-theme="system"] .ttb b,html[data-theme="system"] .floorcard .f{color:#7FD8FF;text-shadow:0 0 14px rgba(127,216,255,.6)}
html[data-theme="system"] .tab-mid span{background:linear-gradient(135deg,#2E8BFF,#8B5CFF);color:#fff}
html[data-theme="system"] .tab-mid{filter:drop-shadow(0 0 16px rgba(139,92,255,.9))}
html[data-theme="system"] .theme-opt,html[data-theme="system"] .code-in{border-radius:var(--r-md)}
html[data-theme="system"] #lgA stop:nth-child(1){stop-color:#E6F7FF}html[data-theme="system"] #lgA stop:nth-child(2){stop-color:#7FD8FF}html[data-theme="system"] #lgA stop:nth-child(3){stop-color:#8B5CFF}
html[data-theme="system"] #lgB stop:nth-child(1){stop-color:#C47BFF}html[data-theme="system"] #lgB stop:nth-child(2){stop-color:#2E8BFF}html[data-theme="system"] #lgB stop:nth-child(3){stop-color:#8B5CFF}
html[data-theme="system"] #towerG stop:nth-child(1){stop-color:#8B5CFF}html[data-theme="system"] #towerG stop:nth-child(2){stop-color:#7FD8FF}html[data-theme="system"] #towerG stop:nth-child(3){stop-color:#fff}
@media (prefers-reduced-motion: reduce){html[data-theme="system"] body::after{display:none}html[data-theme="system"] .feature,html[data-theme="system"] .list{animation:none}}
