.pyrobase-floating-panel {
  position: fixed;
  z-index: 999999;
  box-sizing: border-box;
  padding: 7px 9px 8px;
  background:
    linear-gradient(135deg, rgba(10, 13, 25, 0.92), rgba(6, 9, 19, 0.82));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: #c7d2fe;
  font-family: Inter, Roboto, Arial, sans-serif;
  max-width: calc(100vw - 24px);
  min-width: 320px;
}

.pyrobase-floating-panel a {
  text-decoration: none !important;
}

.pyrobase-panel-admin {
  border-radius: 14px 22px 14px 22px;
  min-width: 340px;
  max-width: min(92vw, 500px);
  border-color: rgba(251, 191, 36, 0.24);
}

.pyrobase-panel-user {
  border-radius: 16px;
  min-width: 420px;
  width: auto;
  max-width: calc(100vw - 24px);
  border-color: rgba(34, 211, 238, 0.20);
}

.pyrobase-panel-hidden {
  display: none !important;
}

.pyrobase-panel-head {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 2px 6px;
  cursor: move;
  user-select: none;
  -webkit-user-select: none;
}

.pyrobase-panel-head:active {
  cursor: grabbing;
}

.pyrobase-panel-drag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  opacity: 0.95;
  flex: 0 0 auto;
}

.pyrobase-panel-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.pyrobase-panel-title {
  font-size: 10px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pyrobase-panel-subtitle {
  font-size: 9px;
  line-height: 1.05;
  opacity: 0.62;
  white-space: nowrap;
}

.pyrobase-panel-links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
}

.pyrobase-panel-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.05;
  font-weight: 750;
  white-space: nowrap;
  transition:
    color 150ms ease,
    background-color 150ms ease,
    transform 150ms ease,
    box-shadow 150ms ease;
}

.pyrobase-panel-links a:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.18);
}

.pyrobase-panel-links a + a {
  margin-left: 0;
  padding-left: 8px;
  position: relative;
}

.pyrobase-panel-links a + a::before {
  display: none;
}

.pyrobase-panel-admin .pyrobase-panel-drag {
  color: #fde68a;
  background: rgba(245, 158, 11, 0.14);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.18);
}

.pyrobase-panel-admin .pyrobase-panel-title {
  font-size: 10px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pyrobase-panel-admin .pyrobase-panel-subtitle {
  font-size: 9px;
  line-height: 1.05;
  opacity: 0.62;
  white-space: nowrap;
}

.pyrobase-panel-admin .pyrobase-panel-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.05;
  font-weight: 750;
  white-space: nowrap;
  transition:
    color 150ms ease,
    background-color 150ms ease,
    transform 150ms ease,
    box-shadow 150ms ease;
}

.pyrobase-panel-admin .pyrobase-panel-links a:hover {
  color: #fff7ed !important;
  background: rgba(245, 158, 11, 0.16);
}

.pyrobase-panel-admin .pyrobase-panel-links a + a::before {
  display: none;
}

.pyrobase-panel-user .pyrobase-panel-drag {
  color: #a5f3fc;
  background: rgba(6, 182, 212, 0.14);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.18);
}

.pyrobase-panel-user .pyrobase-panel-title {
  font-size: 10px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pyrobase-panel-user .pyrobase-panel-subtitle {
  font-size: 9px;
  line-height: 1.05;
  opacity: 0.62;
  white-space: nowrap;
}

.pyrobase-panel-user .pyrobase-panel-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.05;
  font-weight: 750;
  white-space: nowrap;
  transition:
    color 150ms ease,
    background-color 150ms ease,
    transform 150ms ease,
    box-shadow 150ms ease;
}

.pyrobase-panel-user .pyrobase-panel-links a:hover {
  color: #dbeafe !important;
  background: rgba(6, 182, 212, 0.14);
}

.pyrobase-panel-user .pyrobase-panel-links a + a::before {
  display: none;
}

.pyrobase-panel-toggle {
  position: fixed;
  z-index: 1000000;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  font-family: Inter, Roboto, Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  box-shadow:
    0 10px 26px rgba(0,0,0,0.30),
    inset 0 1px 0 rgba(255,255,255,0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.pyrobase-panel-toggle .pyrobase-toggle-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  display: inline-block;
}

#pyrobase-admin-toggle {
  left: 12px;
  bottom: 12px;
  border: 1px solid rgba(251, 191, 36, 0.28);
  background:
    linear-gradient(135deg, rgba(10, 13, 25, 0.90), rgba(6, 9, 19, 0.78));
  color: #fde68a;
}

#pyrobase-admin-toggle:hover {
  color: #fff7ed;
  background:
    linear-gradient(135deg, rgba(40, 27, 9, 0.94), rgba(10, 13, 25, 0.82));
}

#pyrobase-admin-toggle .pyrobase-toggle-dot {
  background: #f59e0b;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.55);
}

#pyrobase-user-toggle {
  right: 12px;
  bottom: 12px;
  border: 1px solid rgba(103, 232, 249, 0.28);
  background:
    linear-gradient(135deg, rgba(10, 13, 25, 0.90), rgba(6, 9, 19, 0.78));
  color: #67e8f9;
}

#pyrobase-user-toggle:hover {
  color: #ecfeff;
  background:
    linear-gradient(135deg, rgba(8, 47, 73, 0.94), rgba(10, 13, 25, 0.82));
}

#pyrobase-user-toggle .pyrobase-toggle-dot {
  background: #06b6d4;
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.55);
}

.pyrobase-toggle-off {
  color: #94a3b8 !important;
  border-color: rgba(148, 163, 184, 0.25) !important;
}

.pyrobase-toggle-off .pyrobase-toggle-dot {
  background: #64748b !important;
  box-shadow: none !important;
}

body.pyrobase-panel-dragging,
body.pyrobase-panel-dragging * {
  user-select: none !important;
  -webkit-user-select: none !important;
}

@media (max-width: 900px) {
  .pyrobase-panel-admin,
  .pyrobase-panel-user {
  border-radius: 16px;
  min-width: 420px;
  width: auto;
  max-width: calc(100vw - 24px);
  border-color: rgba(34, 211, 238, 0.20);
}
}

@media (max-width: 560px) {
  .pyrobase-floating-panel {
  position: fixed;
  z-index: 999999;
  box-sizing: border-box;
  padding: 7px 9px 8px;
  background:
    linear-gradient(135deg, rgba(10, 13, 25, 0.92), rgba(6, 9, 19, 0.82));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: #c7d2fe;
  font-family: Inter, Roboto, Arial, sans-serif;
  max-width: calc(100vw - 24px);
  min-width: 320px;
}

  .pyrobase-panel-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.05;
  font-weight: 750;
  white-space: nowrap;
  transition:
    color 150ms ease,
    background-color 150ms ease,
    transform 150ms ease,
    box-shadow 150ms ease;
}

  .pyrobase-panel-title {
  font-size: 10px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

  .pyrobase-panel-subtitle {
  font-size: 9px;
  line-height: 1.05;
  opacity: 0.62;
  white-space: nowrap;
}

  #pyrobase-admin-toggle {
    left: 8px;
    bottom: 8px;
    font-size: 11px;
  }

  #pyrobase-user-toggle {
    right: 8px;
    bottom: 8px;
    font-size: 11px;
  }
}


/* PYROBASE_ONELINE_PATCH */
@media (min-width: 700px) {
  .pyrobase-panel-user .pyrobase-panel-links {
    flex-wrap: nowrap !important;
  }
}

@media (max-width: 699px) {
  .pyrobase-panel-user .pyrobase-panel-links {
    flex-wrap: wrap !important;
  }
}

/* PYROBASE_CENTER_USER_PANEL_TITLE */
.pyrobase-panel-user .pyrobase-panel-head {
  justify-content: center !important;
  text-align: center !important;
  padding-right: 18px;
}

.pyrobase-panel-user .pyrobase-panel-title-wrap {
  align-items: center !important;
  text-align: center !important;
}

.pyrobase-panel-user .pyrobase-panel-title,
.pyrobase-panel-user .pyrobase-panel-subtitle {
  text-align: center !important;
}

.pyrobase-panel-user .pyrobase-panel-drag {
  position: absolute;
  left: 10px;
}

/* PYROBASE_CENTER_USER_PANEL_TITLE */
.pyrobase-panel-user .pyrobase-panel-head {
  justify-content: center !important;
  text-align: center !important;
  padding-right: 18px;
}

.pyrobase-panel-user .pyrobase-panel-title-wrap {
  align-items: center !important;
  text-align: center !important;
}

.pyrobase-panel-user .pyrobase-panel-title,
.pyrobase-panel-user .pyrobase-panel-subtitle {
  text-align: center !important;
}

.pyrobase-panel-user .pyrobase-panel-drag {
  position: absolute;
  left: 10px;
}

/* PYROBASE_MOVE_USER_PANEL_TOGGLE_LEFT_V22 */
#pyrobase-user-toggle {
  right: 318px !important;
  bottom: 12px !important;
}

@media (max-width: 900px) {
  #pyrobase-user-toggle {
    right: calc(min(86vw, 300px) + 18px) !important;
  }
}

@media (max-width: 560px) {
  #pyrobase-user-toggle {
    right: calc(min(86vw, 300px) + 12px) !important;
  }
}
