/* darb: нижняя панель как в приложении (1.0.0) — квадратные углы, акцент жёлтый, без синего */
#dk-bottombar.dkb .dk-bottombar__col{overflow:visible!important;padding:0!important;min-height:54px}
#dk-bottombar.dkb .row,#dk-bottombar.dkb [class*="col"]{overflow:visible}
#dk-bottombar.dkb .dkb-item{flex:1 1 0!important;min-width:0;display:flex!important;align-items:stretch!important;justify-content:center!important;box-shadow:none!important;position:relative}
#dk-bottombar.dkb .dkb-item.dkb-more{display:none!important}
#dk-bottombar.dkb a.dkb-item,#dk-bottombar.dkb button.dkb-item,#dk-bottombar.dkb .dkb-item>a,#dk-bottombar.dkb .dkb-item>button,#dk-bottombar.dkb .dkb-item>.nav-link{flex:1 1 auto;min-height:54px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:6px 2px;font-size:10.5px;font-weight:700;line-height:1.1;text-align:center;color:inherit;background:none;border:0}
#dk-bottombar.dkb .dkb-item svg,#dk-bottombar.dkb .dkb-item .icms-svg-icon{width:20px;height:20px}
#dk-bottombar.dkb .dkb-item+.dkb-item::before{content:"";position:absolute;left:0;top:12px;bottom:12px;width:1px;background:rgba(255,255,255,.07)}
#dk-bottombar.dkb .dkb-center::before,#dk-bottombar.dkb .dkb-center+.dkb-item::before{display:none}
/* центральная кнопка: приподнятый жёлтый квадрат */
#dk-bottombar.dkb .dkb-center{flex:0 0 auto!important;width:68px;margin:0 4px!important;top:-18px;align-self:flex-start!important;height:70px;background:var(--d-accent,#ffb400);color:#16181b!important;border:3px solid var(--d-head-bg,#16181b);z-index:2}
#dk-bottombar.dkb a.dkb-center,#dk-bottombar.dkb button.dkb-center,#dk-bottombar.dkb .dkb-center>a,#dk-bottombar.dkb .dkb-center>button,#dk-bottombar.dkb .dkb-center>.nav-link,#dk-bottombar.dkb .dkb-center .wdb-btn{color:#16181b!important;background:transparent!important;box-shadow:none!important;min-height:64px}
#dk-bottombar.dkb .dkb-center svg,#dk-bottombar.dkb .dkb-center .icms-svg-icon{width:26px;height:26px;fill:currentColor}
#dk-bottombar.dkb .dkb-center:hover{filter:brightness(1.06)}
/* на широком экране — по центру, как панель приложения */
@media (min-width:768px){
  .dk-bottom-fixed #dk-bottombar.dkb{left:0;right:0;margin:0 auto;max-width:640px}
}
@media (prefers-reduced-motion:no-preference){#dk-bottombar.dkb .dkb-center{transition:filter .15s}}
#dk-bottombar.dkb a.dkb-item,#dk-bottombar.dkb button.dkb-item{flex-direction:column!important;align-items:center!important;justify-content:center!important;white-space:nowrap;overflow:hidden}
#dk-bottombar.dkb .dkb-item>a,#dk-bottombar.dkb .dkb-item>button,#dk-bottombar.dkb .dkb-item>.nav-link{white-space:nowrap;overflow:hidden;max-width:100%}
#dk-bottombar.dkb .dkb-item a:hover{color:var(--d-accent,#ffb400)}
#dk-bottombar.dkb .dkb-center a:hover{color:#16181b}
/* 1.0.1: все кнопки одного размера, центральная скромнее */
#dk-bottombar.dkb .dk-bottombar__col{min-height:52px}
#dk-bottombar.dkb .dkb-item{height:52px;align-self:center!important}
#dk-bottombar.dkb .dkb-item svg,#dk-bottombar.dkb .dkb-item .icms-svg-icon,#dk-bottombar.dkb .dkb-item i[class*="fa"]{width:22px!important;height:22px!important;min-width:22px;font-size:20px!important;line-height:22px}
#dk-bottombar.dkb .dkb-item img{max-width:24px;max-height:24px}
#dk-bottombar.dkb a.dkb-item,#dk-bottombar.dkb button.dkb-item,#dk-bottombar.dkb .dkb-item>a,#dk-bottombar.dkb .dkb-item>button,#dk-bottombar.dkb .dkb-item>.nav-link,#dk-bottombar.dkb .dkb-item .wdb-btn{min-height:52px!important;height:52px;padding:4px 2px!important;font-size:10px!important;gap:2px!important}
#dk-bottombar.dkb .dkb-item .wdb-lbl{font-size:10px}
#dk-bottombar.dkb .dkb-center{width:54px!important;height:54px!important;top:-8px;margin:0 6px!important;border-width:2px}
#dk-bottombar.dkb a.dkb-center,#dk-bottombar.dkb button.dkb-center,#dk-bottombar.dkb .dkb-center>a,#dk-bottombar.dkb .dkb-center>button,#dk-bottombar.dkb .dkb-center>.nav-link,#dk-bottombar.dkb .dkb-center .wdb-btn{min-height:50px!important;height:50px}
#dk-bottombar.dkb .dkb-center svg,#dk-bottombar.dkb .dkb-center .icms-svg-icon{width:24px!important;height:24px!important}
/* 1.0.2: меньше сигнальной ленты. Лента остаётся только под шапкой сайта (фирменный знак),
   в остальных местах — тонкая спокойная линия или ничего */
html body #dk-bottombar .dk-bottombar::before{background:var(--d-line-strong,rgba(127,127,127,.35))!important;height:1px!important}
html body .wd .wd-hero,html body .wd .wd-rh,html body .wd .wd-ohead,html body .wd .wd-wbox,html body .wd-w .wd-wbox{border-top:0!important;border-image:none!important}
html body .wd .wd-sheet-head,html body .wd .wd-set-save{border-image:none!important;border-top:2px solid var(--d-accent,#ffb400)!important}
html body .modal-header::after{background:var(--d-accent,#ffb400)!important;height:2px!important;bottom:-2px!important}
html body .dk-panel__head::after,html body .dk-user__head::after{background:var(--d-accent,#ffb400)!important;height:2px!important}
/* ================= 1.0.7: 5 мест, «+» в центре, остальное в «Ещё»; стрелки — в рулетке наверху ================= */
html body #dk-bottombar.dkb .dk-bottombar__col{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;gap:0!important;padding:0!important;overflow:visible!important;min-height:54px}
html body #dk-bottombar.dkb .dkb-item{width:100%;min-width:0;height:54px!important;justify-self:stretch;align-self:stretch!important;flex:none!important;margin:0!important;top:0!important}
html body #dk-bottombar.dkb .dkb-slot-empty{display:block;height:54px}
html body #dk-bottombar.dkb .dkb-item::before{display:none!important}
/* «+»: жёлтый квадрат ровно в средней ячейке */
html body #dk-bottombar.dkb .dkb-center{position:relative!important;left:auto!important;top:0!important;transform:none!important;justify-self:center!important;align-self:center!important;
  width:60px!important;max-width:100%;height:48px!important;min-height:0!important;margin:0 auto!important;border:0!important;
  background:var(--d-accent,#ffb400)!important;color:#16181b!important;display:flex!important;align-items:center;justify-content:center;box-shadow:none!important}
html body #dk-bottombar.dkb .dkb-center>a,html body #dk-bottombar.dkb .dkb-center>button,html body #dk-bottombar.dkb .dkb-center .nav-link{background:transparent!important;color:#16181b!important;min-height:48px!important;height:48px!important}
html body #dk-bottombar.dkb .dkb-center svg,html body #dk-bottombar.dkb .dkb-center .icms-svg-icon,html body #dk-bottombar.dkb .dkb-center i{color:#16181b!important;width:26px!important;height:26px!important}
/* «Ещё» */
html body #dk-bottombar.dkb .dkb-morebtn{all:unset;box-sizing:border-box;cursor:pointer;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:2px;height:54px;font-size:10px;font-weight:700;color:var(--d-head-text,#f4f4f1);-webkit-tap-highlight-color:transparent}
html body #dk-bottombar.dkb .dkb-morebtn svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round}
html body #dk-bottombar.dkb .dkb-morebtn.is-open{color:var(--d-accent,#ffb400);box-shadow:inset 0 3px 0 var(--d-accent,#ffb400)}
/* окно «Ещё»: плитка над панелью */
.dkb-sheet-bd{position:fixed;inset:0;z-index:1044;background:rgba(10,11,13,.55);opacity:0;visibility:hidden;transition:opacity .2s,visibility .2s}
.dkb-sheet-bd.is-on{opacity:1;visibility:visible}
.dkb-sheet{position:fixed;left:0;right:0;bottom:var(--dkb-h,54px);z-index:1045;max-width:640px;margin:0 auto;background:var(--d-head-bg,#16181b);color:var(--d-head-text,#f4f4f1);
  border-top:3px solid var(--d-accent,#ffb400);box-shadow:0 -12px 40px rgba(0,0,0,.45);padding:10px 8px 12px;transform:translateY(12px);opacity:0;visibility:hidden;transition:transform .2s,opacity .2s,visibility .2s}
.dkb-sheet.is-on{transform:none;opacity:1;visibility:visible}
.dkb-sheet__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.dkb-sheet .dkb-item{min-height:64px;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:4px;background:rgba(255,255,255,.04);color:var(--d-head-text,#f4f4f1);font-size:11px;font-weight:700;text-align:center}
.dkb-sheet .dkb-item a,.dkb-sheet a.dkb-item,.dkb-sheet .nav-link{color:var(--d-head-text,#f4f4f1)!important;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:11px}
.dkb-sheet .dkb-item svg,.dkb-sheet .dkb-item .icms-svg-icon{width:24px;height:24px}
/* Darbis кнопкой в панели */
#dk-bottombar .aih-root .aih-open{flex-direction:column;gap:2px;height:54px;width:100%;justify-content:center;font-size:10px;font-weight:700;color:var(--d-head-text,#f4f4f1)}
#dk-bottombar .aih-root .aih-open .aih-ava{width:28px!important;height:28px!important}
#dk-bottombar .aih-root .aih-open-label{display:block!important;font-size:10px}
/* рулетка наверху: процент крупнее, по нажатию — меню ▲ ▼ */
html body .dk-ruler__case{padding:3px 6px 4px!important;font-size:.66rem!important;cursor:pointer}
/* 1.0.10: невидимая рулетка не должна ловить нажатия (вверху страницы она лежит прямо на кнопке меню ☰) */
html body .dk-ruler__case:not(.is-on){pointer-events:none!important;visibility:hidden!important}
html body .dk-ruler__case::after{content:" ▾";font-size:.55rem}
.dk-rpop{position:fixed;z-index:1046;min-width:200px;background:var(--d-ink,#16181b);color:var(--d-head-text,#f4f4f1);border:2px solid var(--d-accent,#ffb400);box-shadow:0 10px 30px rgba(0,0,0,.4);
  opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .15s,transform .15s,visibility .15s}
.dk-rpop.is-on{opacity:1;visibility:visible;transform:none}
.dk-rpop__info{padding:8px 12px;font:700 .72rem/1.3 var(--d-mono,ui-monospace,monospace);color:var(--d-accent,#ffb400);border-bottom:1px solid rgba(255,180,0,.3)}
.dk-rpop button{all:unset;box-sizing:border-box;cursor:pointer;display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:0 12px;font-size:.9rem;font-weight:700}
.dk-rpop button:hover,.dk-rpop button:focus-visible{background:rgba(255,180,0,.12)}
.dk-rpop button:disabled{opacity:.35;cursor:default}
.dk-rpop svg{width:20px;height:20px;fill:none;stroke:var(--d-accent,#ffb400);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
@media print{.dk-rpop,.dkb-sheet,.dkb-sheet-bd{display:none!important}}
/* плитки «Ещё»: кнопки виджетов без браузерной рамки, Darbis как остальные */
.dkb-sheet .dkb-item button,.dkb-sheet button.dkb-item{background:transparent!important;border:0!important;color:inherit!important;font:inherit;cursor:pointer;box-shadow:none!important}
.dkb-sheet .aih-root .aih-open{display:flex!important;flex-direction:column;align-items:center;gap:4px;font-size:11px;font-weight:700;color:var(--d-head-text,#f4f4f1)!important}
.dkb-sheet .aih-root .aih-open .aih-ava{width:28px!important;height:28px!important}
.dkb-sheet .aih-root .aih-open-label{display:block!important}
html body #dk-bottombar.dkb .dkb-slot-empty::before{display:none!important}
.dkb-sheet .dpf-trigger{flex-direction:column!important;gap:4px!important;font-size:11px!important;min-height:0!important;padding:0!important;color:var(--d-head-text,#f4f4f1)!important}
/* ================= 1.0.8: 7 мест, приподнятый «+», мини-плеер радио ================= */
html body #dk-bottombar.dkb .dk-bottombar__col{grid-template-columns:repeat(3,minmax(0,1fr)) 72px repeat(3,minmax(0,1fr))!important;min-height:56px}
html body #dk-bottombar.dkb .dkb-item,html body #dk-bottombar.dkb .dkb-slot-empty,html body #dk-bottombar.dkb .dkb-morebtn{height:56px!important}
html body #dk-bottombar.dkb .dkb-item>a,html body #dk-bottombar.dkb .dkb-item>button,html body #dk-bottombar.dkb .dkb-item .nav-link,html body #dk-bottombar.dkb a.dkb-item,html body #dk-bottombar.dkb button.dkb-item{min-height:56px!important;height:56px!important;padding:4px 1px!important}
html body #dk-bottombar.dkb .dkb-item .nav-item-text,html body #dk-bottombar.dkb .dkb-item .wdb-lbl,html body #dk-bottombar.dkb .dkb-lbl,html body #dk-bottombar.dkb .dkb-item .aih-open-label,html body #dk-bottombar.dkb .dpf-trigger span,html body #dk-bottombar.dkb .dkb-morebtn span{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px!important;font-weight:700;line-height:1.15}
/* «+»: большой жёлтый квадрат, приподнят над панелью; рамка цвета панели отделяет его от страницы */
html body #dk-bottombar.dkb .dkb-center{width:60px!important;height:60px!important;max-width:none;top:-16px!important;align-self:start!important;margin:0 auto!important;
  border:4px solid var(--d-head-bg,#16181b)!important;box-sizing:content-box!important;z-index:3}
html body #dk-bottombar.dkb .dkb-center>a,html body #dk-bottombar.dkb .dkb-center>button,html body #dk-bottombar.dkb .dkb-center .nav-link{min-height:60px!important;height:60px!important;width:60px;padding:0!important;display:flex!important;align-items:center;justify-content:center}
html body #dk-bottombar.dkb .dkb-center svg,html body #dk-bottombar.dkb .dkb-center .icms-svg-icon,html body #dk-bottombar.dkb .dkb-center i{width:30px!important;height:30px!important;font-size:28px!important;line-height:30px;stroke-width:2.6}
html body #dk-bottombar.dkb .dkb-center .nav-item-text,html body #dk-bottombar.dkb .dkb-center .dkb-lbl{display:none!important}
html body #dk-bottombar.dkb .dkb-center:active{transform:translateY(1px)!important}
html body #dk-bottombar.dkb .dk-bottombar,html body #dk-bottombar.dkb .row,html body #dk-bottombar.dkb{overflow:visible!important}
/* мини-плеер: тонкая полоса над панелью, только пока играет радио */
/* снизу у полосы 16px тёмного поля: в него поднимается «+», полоса и панель выглядят одним блоком */
.dkb-mini{position:fixed;left:0;right:0;bottom:var(--dkb-h,56px);z-index:1029;max-width:640px;margin:0 auto;height:58px;padding-bottom:16px;box-sizing:border-box;display:flex;align-items:stretch;
  background:var(--d-head-bg,#16181b);color:var(--d-head-text,#f4f4f1);border-top:2px solid var(--d-accent,#ffb400);
  transform:translateY(100%);opacity:0;visibility:hidden;transition:transform .2s,opacity .2s,visibility .2s}
.dkb-mini.is-on{transform:none;opacity:1;visibility:visible}
.dkb-mini button{all:unset;box-sizing:border-box;cursor:pointer;display:flex;align-items:center;-webkit-tap-highlight-color:transparent}
.dkb-mini .dkb-mini__pp,.dkb-mini .dkb-mini__x{width:48px;justify-content:center;flex:0 0 48px}
.dkb-mini .dkb-mini__pp{background:var(--d-accent,#ffb400);color:#16181b}
.dkb-mini svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.dkb-mini__pp .i-play{display:none;fill:currentColor;stroke:none}
.dkb-mini.is-paused .dkb-mini__pp .i-play{display:block}.dkb-mini.is-paused .dkb-mini__pp .i-pause{display:none}
.dkb-mini .dkb-mini__t{flex:1 1 auto;min-width:0;gap:8px;padding:0 10px;font-size:13px;font-weight:700}
.dkb-mini__name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dkb-mini .dkb-mini__x{color:rgba(244,244,241,.7)}
.dkb-eq{display:inline-flex;align-items:flex-end;gap:2px;height:14px;flex:0 0 auto}
.dkb-eq i{display:block;width:3px;height:100%;background:var(--d-accent,#ffb400);transform-origin:bottom}
.dkb-mini.is-paused .dkb-eq i{transform:scaleY(.3)}
@media (prefers-reduced-motion:no-preference){
  .dkb-mini:not(.is-paused) .dkb-eq i{animation:dkbEq .9s ease-in-out infinite}
  .dkb-mini:not(.is-paused) .dkb-eq i:nth-child(2){animation-delay:-.3s}.dkb-mini:not(.is-paused) .dkb-eq i:nth-child(3){animation-delay:-.6s}
}
@keyframes dkbEq{0%,100%{transform:scaleY(.3)}50%{transform:scaleY(1)}}
html.dkb-mini-on body{padding-bottom:calc(var(--dkb-h,56px) + 58px)!important}
html.dkb-mini-on .dkb-sheet{bottom:var(--dkb-h,56px);z-index:1045}
@media print{.dkb-mini{display:none!important}}
html body #dk-bottombar.dkb .dkb-slot-empty{border:0!important;background:none!important;box-shadow:none!important}
html.dkb-mini-on body #dk-bottombar .dk-bottombar::before{opacity:0}
/* ================= 1.0.9: Darbis поверх шапки, радио без стрелки ================= */
/* окно Darbis живёт внутри нижней панели, поэтому было ниже шапки; пока оно открыто — панель поднимается над шапкой */
html body #dk-bottombar:has(.aih-root.aih-on),html body .dkb-sheet:has(.aih-root.aih-on){z-index:1065!important}
html:has(.aih-root.aih-on) .dkb-mini{display:none!important}
@media (max-width:640px){
  /* на телефоне окно помощника — на весь экран, его шапка с кнопкой «закрыть» всегда видна */
  #dk-bottombar .aih-root.aih-on .aih-box,.dkb-sheet .aih-root.aih-on .aih-box{position:fixed!important;top:0!important;bottom:0!important;left:0!important;right:0!important;height:100%!important;height:100dvh!important;max-height:none!important;width:100%!important;z-index:1066!important}
  html:has(.aih-root.aih-on) body{overflow:hidden}
}
/* радио: в панели только значок, без стрелки; список станций открывается нажатием на полосу плеера */
html body #dk-bottombar .brw-more{display:none!important}

/* ================= 1.0.11: проще — без мини-плеера и без рулетки ================= */
.dkb-mini,.dk-rpop{display:none!important}
html body #dk-ruler,html body #dk-ruler-case,html body .dk-ruler,html body .dk-ruler__case{display:none!important}
