/* v0.9.106 · animated bot manager, stable support cases and UI refinements */

/* The expanded Bot Manager grows and shrinks instead of snapping. */
#accountCenterOverlay .account-center-panel {
  transition: width .38s cubic-bezier(.2,.78,.2,1), border-radius .38s cubic-bezier(.2,.78,.2,1) !important;
  will-change: width;
}
#accountCenterOverlay.bot-pane-active #botManagementPane:not(.hidden) {
  animation: neonBotManagerReveal106 .34s cubic-bezier(.2,.78,.2,1) both !important;
}
@keyframes neonBotManagerReveal106 {
  from { opacity: 0; transform: translateX(24px) scale(.985); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}
#accountCenterOverlay.bot-pane-leaving .account-center-panel {
  transition-duration: .42s !important;
}

/* The right-hand case-status column is wider and remains flush with the full-width fields below. */
.support-case-edit-grid {
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr) !important;
}

/* Case lists and threads use the same lime scrollbar as other in-game panels. */
.support-ticket-list,
.support-ticket-detail,
.support-ticket-thread {
  scrollbar-width: auto !important;
  scrollbar-color: var(--wf-lime, #b8ff35) #111827 !important;
  overscroll-behavior: contain !important;
  scrollbar-gutter: stable !important;
}
.support-ticket-list::-webkit-scrollbar,
.support-ticket-detail::-webkit-scrollbar,
.support-ticket-thread::-webkit-scrollbar {
  width: 14px;
  height: 14px;
}
.support-ticket-list::-webkit-scrollbar-track,
.support-ticket-detail::-webkit-scrollbar-track,
.support-ticket-thread::-webkit-scrollbar-track {
  margin-block: 3px;
  border: 2px solid #071116;
  border-radius: 999px;
  background: #111827;
  box-shadow: inset 2px 2px 0 rgba(255,255,255,.06);
}
.support-ticket-list::-webkit-scrollbar-thumb,
.support-ticket-detail::-webkit-scrollbar-thumb,
.support-ticket-thread::-webkit-scrollbar-thumb {
  min-height: 44px;
  border: 3px solid #071116;
  border-radius: 999px;
  background: var(--wf-lime, #b8ff35);
  box-shadow: 2px 2px 0 #071116;
}
.support-ticket-list::-webkit-scrollbar-thumb:hover,
.support-ticket-detail::-webkit-scrollbar-thumb:hover,
.support-ticket-thread::-webkit-scrollbar-thumb:hover {
  background: #d6ff6a;
}

/* Inbox refresh keeps enough width for its complete label. */
#accountInboxRefresh {
  min-width: 108px !important;
  min-height: 42px !important;
  padding: 9px 16px !important;
  white-space: nowrap !important;
  line-height: 1.1 !important;
}

@media (max-width: 800px) {
  .support-case-edit-grid { grid-template-columns: 1fr !important; }
}
