html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  overflow: hidden;
}
#ggb {
  width: 100%;
  height: 100%;
}
.empty-tip {
  position: fixed;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.72);
  color: #ffffff;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  z-index: 1001;
  display: none;
  max-width: 80%;
  text-align: center;
  line-height: 1.4;
}
.toggle-btn {
  display: none;
}
.settings-btn {
  display: none;
}
.settings-panel {
  position: fixed;
  top: 10px;
  right: 10px;
  bottom: auto;
  background: white;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  border: 1px solid #e2e8f0;
  z-index: 1000;
  display: none;
  width: 200px;
}
.settings-panel.active {
  display: block;
}
.setting-item {
  margin-bottom: 12px;
}
.setting-item:last-child {
  margin-bottom: 0;
}
.setting-label {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.setting-input {
  width: 100%;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 18px;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e1;
  transition: .2s;
  border-radius: 18px;
}
.toggle-slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: .2s;
  border-radius: 50%;
}
input:checked + .toggle-slider {
  background-color: #3b82f6;
}
input:checked + .toggle-slider:before {
  transform: translateX(14px);
}
