/* TuneTune queue presentation only. No API/state/command behavior is changed. */
body[data-account-page="bots"] .tt-queue-ui-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:12px 0 8px;
  min-height:42px;
}
body[data-account-page="bots"] .tt-queue-ui-toolbar[hidden],
body[data-account-page="bots"] .tt-queue-pager[hidden]{display:none!important}
body[data-account-page="bots"] .tt-queue-size-control{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--account-muted,#6f8096);
  font-size:13px;
  font-weight:800;
}
body[data-account-page="bots"] .tt-queue-size-control select{
  width:auto!important;
  min-width:70px;
  height:38px;
  padding:0 30px 0 11px!important;
  border:1px solid var(--account-border,#d5dfeb)!important;
  border-radius:10px!important;
  background:var(--account-surface,#fff)!important;
  color:var(--account-text,#1f2d43)!important;
  font:900 13px Nunito,sans-serif!important;
  cursor:pointer;
}
body[data-account-page="bots"] .tt-queue-size-control select:focus-visible{
  outline:none;
  border-color:#2f81f7!important;
  box-shadow:0 0 0 3px rgba(47,129,247,.14);
}
body[data-account-page="bots"] .tt-queue-range{
  color:var(--account-muted,#6f8096);
  font-size:12px;
  font-weight:800;
  white-space:nowrap;
}
body[data-account-page="bots"] #tunetune-queue-list.queue-list{
  position:relative;
  max-height:min(62vh,620px);
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
  padding:4px 8px 4px 2px;
  margin:8px 0 10px;
  scroll-behavior:smooth;
}
body[data-account-page="bots"] #tunetune-queue-list.queue-list::-webkit-scrollbar{width:10px}
body[data-account-page="bots"] #tunetune-queue-list.queue-list::-webkit-scrollbar-track{
  background:transparent;
}
body[data-account-page="bots"] #tunetune-queue-list.queue-list::-webkit-scrollbar-thumb{
  background:color-mix(in srgb,var(--account-muted,#718096) 28%,transparent);
  border:3px solid transparent;
  background-clip:padding-box;
  border-radius:999px;
}
body[data-account-page="bots"] #tunetune-queue-list.queue-list::-webkit-scrollbar-thumb:hover{
  background:color-mix(in srgb,var(--account-muted,#718096) 46%,transparent);
  border:3px solid transparent;
  background-clip:padding-box;
}
body[data-account-page="bots"] #tunetune-queue-list > .queue-track-b40c621d5[hidden]{display:none!important}
body[data-account-page="bots"] #tunetune-queue-list > .queue-track-b40c621d5{
  transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease!important;
}
body[data-account-page="bots"] #tunetune-queue-list > .queue-track-b40c621d5:hover{
  border-color:color-mix(in srgb,#2f81f7 34%,var(--account-border,#d5dfeb))!important;
  box-shadow:0 8px 22px rgba(47,129,247,.08)!important;
}
body[data-account-page="bots"] #tunetune-queue-list .tt-queue-actions{
  gap:7px!important;
  flex-wrap:nowrap!important;
}
body[data-account-page="bots"] #tunetune-queue-list .tt-queue-action-btn{
  width:auto!important;
  min-width:42px!important;
  height:40px!important;
  padding:0 12px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  border-radius:11px!important;
  border:1px solid #a9cfff!important;
  background:#eef6ff!important;
  color:#0969da!important;
  box-shadow:0 3px 10px rgba(9,105,218,.08)!important;
  font-size:17px!important;
  font-weight:950!important;
  line-height:1!important;
  cursor:pointer!important;
}
body[data-account-page="bots"] #tunetune-queue-list .tt-queue-action-btn::after{
  font-size:12px;
  font-weight:900;
  line-height:1;
}
body[data-account-page="bots"] #tunetune-queue-list .tt-queue-action-btn[data-queue-action="up"]::after{content:"Вверх"}
body[data-account-page="bots"] #tunetune-queue-list .tt-queue-action-btn[data-queue-action="down"]::after{content:"Вниз"}
body[data-account-page="bots"] #tunetune-queue-list .tt-queue-action-btn[data-queue-action="remove"]::after{content:"Удалить"}
body[data-account-page="bots"] #tunetune-queue-list .tt-queue-action-btn:hover:not(:disabled){
  transform:translateY(-1px)!important;
  border-color:#72adf7!important;
  background:#dceeff!important;
  color:#0757b7!important;
  box-shadow:0 6px 14px rgba(9,105,218,.14)!important;
}
body[data-account-page="bots"] #tunetune-queue-list .tt-queue-action-btn:focus-visible{
  outline:none!important;
  box-shadow:0 0 0 3px rgba(47,129,247,.18)!important;
}
body[data-account-page="bots"] #tunetune-queue-list .tt-queue-action-btn:disabled{
  opacity:.42!important;
  cursor:not-allowed!important;
  transform:none!important;
  box-shadow:none!important;
}
body[data-account-page="bots"] #tunetune-queue-list .tt-queue-action-btn--remove{
  border-color:#ffc1c7!important;
  background:#fff0f2!important;
  color:#cf222e!important;
  box-shadow:0 3px 10px rgba(207,34,46,.07)!important;
}
body[data-account-page="bots"] #tunetune-queue-list .tt-queue-action-btn--remove:hover:not(:disabled){
  border-color:#ff9da7!important;
  background:#ffe2e6!important;
  color:#a40e26!important;
  box-shadow:0 6px 14px rgba(207,34,46,.12)!important;
}
body[data-account-page="bots"] .tt-queue-pager{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:42px;
  margin:4px 0 12px;
}
body[data-account-page="bots"] .tt-queue-page-btn{
  min-width:36px;
  height:36px;
  padding:0 10px;
  display:inline-grid;
  place-items:center;
  border:1px solid var(--account-border,#d5dfeb);
  border-radius:9px;
  background:var(--account-surface,#fff);
  color:var(--account-text,#1f2d43);
  font:900 13px Nunito,sans-serif;
  cursor:pointer;
  transition:border-color .15s ease,background .15s ease,color .15s ease,transform .15s ease;
}
body[data-account-page="bots"] .tt-queue-page-btn:hover:not(:disabled){
  border-color:#9cc7ff;
  background:#eef6ff;
  color:#0969da;
  transform:translateY(-1px);
}
body[data-account-page="bots"] .tt-queue-page-btn.is-active{
  border-color:#2f81f7;
  background:#2f81f7;
  color:#fff;
}
body[data-account-page="bots"] .tt-queue-page-btn:disabled{opacity:.38;cursor:not-allowed}
body[data-account-page="bots"] .tt-queue-page-arrow{font-size:20px;line-height:1}
body[data-account-page="bots"] .tt-queue-page-dots{
  min-width:22px;
  text-align:center;
  color:var(--account-muted,#6f8096);
  font-weight:900;
}
html[data-theme="dark"] body[data-account-page="bots"] #tunetune-queue-list .tt-queue-action-btn{
  border-color:#345f94!important;
  background:#172b46!important;
  color:#79b8ff!important;
}
html[data-theme="dark"] body[data-account-page="bots"] #tunetune-queue-list .tt-queue-action-btn:hover:not(:disabled){
  border-color:#4d82c3!important;
  background:#1d3a60!important;
  color:#a8d1ff!important;
}
html[data-theme="dark"] body[data-account-page="bots"] #tunetune-queue-list .tt-queue-action-btn--remove{
  border-color:#743b45!important;
  background:#321b22!important;
  color:#ff9da7!important;
}
html[data-theme="dark"] body[data-account-page="bots"] #tunetune-queue-list .tt-queue-action-btn--remove:hover:not(:disabled){
  border-color:#9b4d5a!important;
  background:#46212a!important;
  color:#ffc0c6!important;
}
@media(max-width:1100px){
  body[data-account-page="bots"] #tunetune-queue-list .tt-queue-action-btn{
    width:40px!important;
    min-width:40px!important;
    padding:0!important;
  }
  body[data-account-page="bots"] #tunetune-queue-list .tt-queue-action-btn::after{display:none}
}
@media(max-width:760px){
  body[data-account-page="bots"] .tt-queue-ui-toolbar{align-items:flex-start;flex-direction:column;gap:8px}
  body[data-account-page="bots"] #tunetune-queue-list.queue-list{max-height:min(58vh,520px);padding-right:5px}
  body[data-account-page="bots"] .tt-queue-pager{justify-content:flex-start;overflow-x:auto;padding-bottom:3px}
  body[data-account-page="bots"] .tt-queue-page-btn{flex:0 0 auto}
}
