/* ============================================
   offline-game.css - 无网提示横幅样式
   by yuyu
   ============================================ */

/* ---- 无网横幅（全屏覆盖） ---- */
.offline-banner {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  background: var(--bg-primary, #0a0a0f);
  z-index: 10001;
  padding: 40px 20px;
  box-sizing: border-box;
  overflow-y: auto;
}

.offline-banner.show {
  display: flex;
}

.offline-banner-img {
  width: 180px;
  height: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.offline-banner-text {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary, #ffffff);
  margin-bottom: 28px;
  letter-spacing: 1px;
}

/* by yuyu */
/* 无网横幅关闭按钮 */
.offline-banner-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--glass-border, rgba(255,255,255,0.1));
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary, #a0a0b0);
  font-size: 20px;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.offline-banner-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary, #ffffff);
}

.offline-banner-tip {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-muted, #666);
  opacity: 0.7;
}

/* ---- 响应式 ---- */
@media (max-width: 600px) {
  .offline-banner-img {
    width: 130px;
  }
  .offline-banner-text {
    font-size: 17px;
  }
}
