#global-loading {
  display: none !important;
  pointer-events: none !important;
}

.ng-clickable {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.ng-clickable:active {
  transform: scale(0.96);
  opacity: 0.85;
}

.ng-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 14px;
  z-index: 10001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  max-width: 80vw;
  text-align: center;
  line-height: 1.5;
}

.ng-toast.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.ng-modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.ng-modal-mask.show {
  opacity: 1;
  pointer-events: auto;
}

.ng-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  width: 86vw;
  max-width: 360px;
  background: linear-gradient(180deg, #fff 0%, #f5f0ff 100%);
  border-radius: 16px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(132, 98, 253, 0.35);
}

.ng-modal.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

.ng-modal-header {
  background: linear-gradient(85deg, #AB82EA 0%, #8266F6 100%);
  color: #fff;
  padding: 16px 20px;
  font-size: 17px;
  font-weight: 600;
  text-align: center;
}

.ng-modal-body {
  padding: 20px;
  font-size: 14px;
  color: #333;
  line-height: 1.7;
}

.ng-modal-body .ng-prize {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: #8462FD;
  margin: 12px 0;
}

.ng-modal-footer {
  padding: 0 20px 20px;
  display: flex;
  gap: 10px;
}

.ng-modal-btn {
  flex: 1;
  height: 42px;
  border: none;
  border-radius: 21px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.ng-modal-btn-primary {
  background: linear-gradient(85deg, #AB82EA 0%, #8266F6 100%);
  color: #fff;
}

.ng-modal-btn-ghost {
  background: #f0ebff;
  color: #8462FD;
}

.ng-input {
  width: 100%;
  height: 42px;
  border: 1px solid #e0d8f5;
  border-radius: 10px;
  padding: 0 14px;
  font-size: 14px;
  margin-bottom: 12px;
  box-sizing: border-box;
  outline: none;
  background: #fff;
  color: #333;
}

.ng-input:focus {
  border-color: #8462FD;
  box-shadow: 0 0 0 2px rgba(132, 98, 253, 0.15);
}

.ng-form-tip {
  font-size: 12px;
  color: #999;
  text-align: center;
  margin: 4px 0 0;
}

.ng-form-tip a {
  color: #8462FD;
  text-decoration: none;
}

.ng-form-badge {
  text-align: center;
  background: #f5f0ff;
  color: #8462FD;
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 14px;
  font-size: 14px;
}

.ng-form-badge b {
  font-size: 18px;
}

.ng-modal-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.ng-float-redpack {
  position: fixed;
  right: 12px;
  bottom: 90px;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  z-index: 9990;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(238, 90, 36, 0.5);
  animation: ng-bounce 2s infinite;
}

@keyframes ng-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.ng-online-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(132, 98, 253, 0.92);
  color: #fff;
  font-size: 12px;
  text-align: center;
  padding: 4px 8px;
  z-index: 9980;
  transform: translateY(-100%);
  transition: transform 0.4s;
}

.ng-online-bar.show {
  transform: translateY(0);
}

.main-area-item.ng-clickable:hover,
.other-area-item.ng-clickable:hover {
  filter: brightness(1.05);
}

.footer-nav-item-title.active-tab {
  color: #8462FD;
  font-weight: 600;
}
