/* PO.BOOST — палитры для нынешней раскладки (html.sm.hs.sm-l) и плавность интерфейса.
   Палитра — класс sm-p1..sm-p4 на <html>; без класса — прежний лайм. */

/* ── общая «дорогая» подача для всех палитр: тоньше свечение, мягче фон ── */
html.sm.hs[class*="sm-p"] { --glow: 0 0 14px rgba(var(--acc-rgb), 0.16); --glow-t: 0 0 14px rgba(var(--acc-rgb), 0.22); }
html.sm.hs[class*="sm-p"] body.tm { background:
  radial-gradient(1200px 460px at 45% -10%, rgba(var(--acc-rgb), 0.045), transparent 62%),
  linear-gradient(rgba(var(--acc-rgb), 0.025) 1px, transparent 1px) 0 0 / 44px 44px,
  linear-gradient(90deg, rgba(var(--acc-rgb), 0.025) 1px, transparent 1px) 0 0 / 44px 44px,
  var(--g0) !important; }
html.sm.hs[class*="sm-p"] .cxDeal .cxTrade--buy { box-shadow: 0 8px 22px rgba(var(--up-rgb), 0.16) !important; }
html.sm.hs[class*="sm-p"] .cxDeal .cxTrade--sell { box-shadow: 0 8px 22px rgba(var(--dn-rgb), 0.14) !important; }
html.sm.hs[class*="sm-p"] .cxDeal .cxPay b { text-shadow: 0 0 18px rgba(var(--acc-rgb), 0.22) !important; }
html.sm.hs[class*="sm-p"] .hsSeg i.on { box-shadow: none !important; }
html.sm.hs[class*="sm-p"] .smBadge, html.sm.hs[class*="sm-p"] .smBar #tmTfName, html.sm.hs[class*="sm-p"] .smBar #cxIndCount { box-shadow: none !important; }
html.sm.hs[class*="sm-p"] .cxField__lbl { border-color: rgba(var(--acc-rgb), 0.55) !important; }
html.sm.hs[class*="sm-p"] .tmLogo .side__markName { text-shadow: none !important; }
html.sm.hs[class*="sm-p"] .tmLogo .side__markName span { background: var(--acc) !important; color: var(--acc-ink) !important; }

/* 1 · Графит и шампань */
html.sm.sm-l.sm-p1 { --g0-rgb: 12, 12, 13; --g1-rgb: 18, 18, 19;
  --g0: #0C0C0D; --g1: #121213; --g2: #161618; --g3: #1B1B1D; --g4: #222225; --ln: #29292C; --ln2: #3A3A3E;
  --mt2: #55555A; --mt: #77777D; --dm: #A6A5A8; --tx2: #D9D6D0; --tx: #F3F0EA;
  --acc: #D9BF87; --acc-rgb: 217, 191, 135; --acc-ink: #17130A; --acc-soft: rgba(217, 191, 135, 0.09); --acc-line: rgba(217, 191, 135, 0.45); }

/* 2 · Оникс и мята */
html.sm.sm-l.sm-p2 { --g0-rgb: 10, 12, 12; --g1-rgb: 15, 18, 18;
  --g0: #0A0C0C; --g1: #0F1212; --g2: #131717; --g3: #181C1C; --g4: #1E2323; --ln: #262C2C; --ln2: #364040;
  --mt2: #4F5A59; --mt: #6F7B7A; --dm: #9FAAA8; --tx2: #D3DCDA; --tx: #EEF4F2;
  --acc: #86DDB9; --acc-rgb: 134, 221, 185; --acc-ink: #06140E; --acc-soft: rgba(134, 221, 185, 0.09); --acc-line: rgba(134, 221, 185, 0.45); }

/* 3 · Тёмный изумруд и золото */
html.sm.sm-l.sm-p3 { --g0-rgb: 6, 17, 13; --g1-rgb: 10, 24, 19;
  --g0: #06110D; --g1: #0A1813; --g2: #0E1E18; --g3: #12251D; --g4: #182D24; --ln: #1F382D; --ln2: #2D4C3E;
  --mt2: #47665A; --mt: #678A7B; --dm: #9AB7AA; --tx2: #D2E2DA; --tx: #EEF6F1;
  --acc: #D4B774; --acc-rgb: 212, 183, 116; --acc-ink: #14100A; --acc-soft: rgba(212, 183, 116, 0.09); --acc-line: rgba(212, 183, 116, 0.45); }

/* 4 · Лайм на графите (лайм мягче, основа нейтральная) */
html.sm.sm-l.sm-p4 { --g0-rgb: 11, 11, 12; --g1-rgb: 17, 17, 18;
  --g0: #0B0B0C; --g1: #111112; --g2: #151516; --g3: #1A1A1C; --g4: #212123; --ln: #29292B; --ln2: #3A3A3D;
  --mt2: #545458; --mt: #76767B; --dm: #A6A6AA; --tx2: #D8D8D6; --tx: #F2F2EE;
  --acc: #C6EE52; --acc-rgb: 198, 238, 82; --acc-ink: #0B0D05; --acc-soft: rgba(198, 238, 82, 0.09); --acc-line: rgba(198, 238, 82, 0.45); }

/* ── плавность ── */
html.sm button, html.sm a, html.sm .tmRow, html.sm .cxTime, html.sm .cxAmt, html.sm .stPair, html.sm .smCats button, html.sm .twQuick button,
html.sm .cxTf button, html.sm .tmSwitch a, html.sm .tmRail button, html.sm .tmTools button, html.sm input {
  transition: background-color .2s cubic-bezier(.2,.8,.2,1), border-color .2s cubic-bezier(.2,.8,.2,1), color .2s cubic-bezier(.2,.8,.2,1),
    box-shadow .25s cubic-bezier(.2,.8,.2,1), opacity .2s ease, transform .16s cubic-bezier(.2,.8,.2,1), filter .2s ease !important; }
html.sm .cxDeal .cxTrade:not(:disabled):hover { transform: translateY(-1px) !important; filter: brightness(1.06) !important; }
html.sm .cxDeal .cxTrade:not(:disabled):active { transform: translateY(0) scale(.985) !important; filter: brightness(.96) !important; transition-duration: .08s !important; }
html.sm .twQuick button:active, html.sm .cxAmt__step:active, html.sm .smBar button:active, html.sm .cxTf button:active, html.sm .smCats button:active { transform: scale(.96); }
html.sm .tmRail button:hover svg, html.sm .tmTools button:hover svg { transform: translateY(-1px); }
html.sm .tmRail button svg, html.sm .tmTools button svg { transition: transform .2s cubic-bezier(.2,.8,.2,1); }
html.sm .tmDrop, html.sm .tmPop { animation-duration: .22s !important; }
html.sm .tmPanel { animation-duration: .28s !important; }
html.sm .tmPairList, html.sm .tmPanes, html.sm .cs-panel * { scroll-behavior: smooth; }
html.sm .tmRow:hover { transform: translateX(2px); }
html.sm .hsSeg i { transition: background-color .35s ease, box-shadow .35s ease; }
@keyframes smTick { 0% { opacity: .35; transform: translateY(3px); } 100% { opacity: 1; transform: none; } }
html.sm .smTick { animation: smTick .32s cubic-bezier(.2,.8,.2,1); }
@media (prefers-reduced-motion: reduce) {
  html.sm *, html.sm *::before, html.sm *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
