/* ======== 改枪码前台样式 ======== */
.gc-page { flex: 1; padding: 20px 0 50px; }
.gc-wrap { display: flex; gap: 20px; align-items: flex-start; }

/* 左侧枪型导航 */
.gc-nav { width: 200px; flex-shrink: 0; background: #fff; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.08); overflow: hidden; position: sticky; top: 10px; }
.gc-nav-hd { background: linear-gradient(135deg,#222,#444); color: #fff; padding: 12px 14px; font-size: 14px; font-weight: bold; display: flex; align-items: center; gap: 8px; }
.gc-char-group {}
.gc-char-label { padding: 5px 12px; font-size: 11px; color: #999; background: #f9f9f9; border-bottom: 1px solid #eee; letter-spacing: 2px; }
.gc-nav-item { display: block; padding: 9px 14px; border-bottom: 1px solid #f5f5f5; font-size: 13px; color: #444; text-decoration: none; transition: .15s; }
.gc-nav-item:hover { background: #fff3eb; color: #ff6700; }
.gc-nav-item.active { background: #ff6700; color: #fff; font-weight: bold; }

/* 右侧内容 */
.gc-main { flex: 1; min-width: 0; }
.gc-gun-title { background: linear-gradient(135deg,#1a1a2e,#16213e); color: #fff; border-radius: 8px; padding: 18px 22px; margin-bottom: 18px; display: flex; align-items: center; gap: 14px; }
.gc-gun-icon { width: 48px; height: 48px; background: rgba(255,255,255,.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.gc-gun-name { font-size: 22px; font-weight: bold; }
.gc-gun-sub { font-size: 13px; opacity: .7; margin-top: 3px; }

/* 改枪码卡片 */
.gc-codes-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.gc-code-card { background: #fff; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.08); overflow: hidden; transition: .2s; }
.gc-code-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,.12); transform: translateY(-2px); }
.gc-code-hd { background: linear-gradient(135deg,#1a1a2e,#16213e); color: #fff; padding: 10px 14px; display: flex; align-items: center; justify-content: space-between; }
.gc-code-price { font-size: 18px; font-weight: bold; color: #ffd700; }
.gc-code-price span { font-size: 12px; opacity: .8; }
.gc-code-body { padding: 14px; }
.gc-attrs { margin-bottom: 12px; }
.gc-attr-item { display: inline-block; background: #f0f4ff; color: #4a6fa5; font-size: 12px; padding: 2px 8px; border-radius: 3px; margin: 2px 3px 2px 0; }
.gc-code-box { background: #1a1a2e; border-radius: 6px; padding: 12px; position: relative; }
.gc-code-text { font-family: 'Courier New', monospace; font-size: 12px; color: #7ec8e3; word-break: break-all; line-height: 1.6; white-space: pre-wrap; max-height: 120px; overflow-y: auto; padding-right: 40px; }
.gc-copy-btn { position: absolute; top: 8px; right: 8px; background: #ff6700; color: #fff; border: none; border-radius: 4px; padding: 4px 10px; font-size: 12px; cursor: pointer; transition: .2s; white-space: nowrap; }
.gc-copy-btn:hover { background: #e55a00; }
.gc-copy-btn.copied { background: #52c41a; }
.gc-empty { text-align: center; padding: 60px 0; color: #ccc; }
.gc-empty i { font-size: 48px; display: block; margin-bottom: 12px; }

/* 顶部所有枪列表 */
.gc-all-guns { background: transparent; box-shadow: none; padding: 16px 20px; margin-bottom: 20px; }
.gc-all-guns-hd { font-size: 15px; font-weight: bold; color: #fff; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid rgba(255,255,255,.15); display: flex; align-items: center; gap: 8px; }
.gc-all-guns-hd i { color: #ff6700; }
.gc-gun-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.gc-gun-tag { display: inline-block; padding: 5px 14px; background: rgba(255,255,255,.08); border-radius: 20px; font-size: 13px; color: rgba(255,255,255,.9); text-decoration: none; transition: .2s; border: 1px solid rgba(255,255,255,.18); }
.gc-gun-tag:hover { background: rgba(255,103,0,.25); color: #fff; border-color: #ff6700; }
.gc-gun-tag.active { background: #ff6700; color: #fff; border-color: #ff6700; }

/* 收藏图标按钮 */
.gc-fav-icon { background: none; border: none; padding: 0; cursor: pointer; font-size: 16px; color: rgba(255,255,255,.4); transition: color .2s, transform .15s; line-height: 1; }
.gc-fav-icon:hover { color: #ff4d6a; transform: scale(1.2); }
.gc-fav-icon.faved { color: #ff4d6a; }
.gc-fav-icon:disabled { opacity: .5; cursor: not-allowed; }

@media (max-width: 900px) { .gc-wrap { flex-direction: column; } .gc-nav { width: 100%; position: static; } .gc-codes-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .gc-codes-grid { grid-template-columns: 1fr; } }

/* 主播专区 */
.gc-streamer-zone {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 10px;
  padding: 10px 14px 12px;
  margin-bottom: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
  border: 1px solid rgba(255,103,0,.25);
}
.gc-streamer-zone-hd {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.gc-streamer-zone-hd i { color: #ff6700; font-size: 13px; }
.gc-streamer-zone-tip { font-size: 12px; color: rgba(255,255,255,.65); margin: 0 0 8px; line-height: 1.4; }
.gc-streamer-empty { color: rgba(255,255,255,.45); font-size: 12px; padding: 4px 0; }
.gc-streamer-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gc-streamer-chip {
  padding: 5px 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,103,0,.5);
  background: rgba(255,103,0,.12);
  color: #ffb380;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: .18s;
}
.gc-streamer-chip:hover {
  background: #ff6700;
  color: #fff;
  border-color: #ff6700;
}
.gc-streamer-lock-panel {
  background: #fff;
  border-radius: 10px;
  padding: 28px 24px 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.gc-streamer-lock-panel h3 { margin: 0 0 12px; font-size: 17px; color: #222; }
.gc-streamer-lock-panel p { font-size: 13px; color: #666; margin: 0 0 18px; line-height: 1.6; }
.gc-unlock-form { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; }
.gc-unlock-input {
  flex: 1;
  min-width: 160px;
  padding: 10px 14px;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
}
.gc-unlock-btn {
  padding: 10px 20px;
  background: #ff6700;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  font-size: 14px;
}
.gc-unlock-btn:hover { background: #e55a00; }
.gc-unlock-err { color: #cf1322; font-size: 13px; margin-top: 12px; }
.gc-back-official {
  display: inline-block;
  margin-top: 20px;
  font-size: 13px;
  color: #1890ff;
  text-decoration: none;
}
.gc-back-official:hover { text-decoration: underline; }
.gc-streamer-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  background: linear-gradient(90deg, #fff7f0, #fff);
  border: 1px solid #ffd8bf;
  border-radius: 8px;
  padding: 12px 18px;
  margin-bottom: 16px;
  font-size: 14px;
  color: #333;
}
.gc-streamer-banner strong { color: #ff6700; }
.gc-back-official-inline {
  font-size: 13px;
  color: #1890ff;
  text-decoration: none;
  font-weight: 600;
}
.gc-back-official-inline:hover { text-decoration: underline; }

/* 主播已解锁：顶部资料卡 */
.gc-streamer-hero {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 22px;
  box-shadow: 0 8px 32px rgba(26, 26, 46, .14);
  border: 1px solid rgba(255, 103, 0, .22);
  background: #fff;
}
.gc-streamer-hero-top {
  padding: 10px 16px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 55%, #1f2d4a 100%);
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}
.gc-streamer-hero-top::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 103, 0, .35) 0%, transparent 70%);
  pointer-events: none;
}
.gc-streamer-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .9);
  background: rgba(255, 103, 0, .25);
  border: 1px solid rgba(255, 180, 120, .35);
  border-radius: 14px;
  padding: 2px 8px;
  margin: 0;
  flex-shrink: 0;
}
.gc-streamer-hero-badge i { color: #ffb380; font-size: 10px; }
.gc-streamer-hero-name {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
  position: relative;
  z-index: 1;
  line-height: 1.2;
}
.gc-streamer-hero-body {
  padding: 18px 22px 20px;
  background: linear-gradient(180deg, #fafbfd 0%, #fff 100%);
}
.gc-streamer-hero-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}
.gc-streamer-meta-item {
  background: #fff;
  border: 1px solid #e8ecf4;
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: 0 2px 8px rgba(30, 40, 80, .04);
  transition: border-color .2s, box-shadow .2s;
}
.gc-streamer-meta-item:hover {
  border-color: rgba(255, 103, 0, .35);
  box-shadow: 0 4px 14px rgba(255, 103, 0, .08);
}
.gc-streamer-meta-item--live .gc-streamer-meta-value {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.gc-streamer-meta-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #8a8fa8;
  letter-spacing: .04em;
  margin-bottom: 6px;
}
.gc-streamer-meta-label i {
  color: #ff6700;
  font-size: 12px;
}
.gc-streamer-meta-value {
  font-size: 15px;
  font-weight: 700;
  color: #1a1d26;
  line-height: 1.4;
  word-break: break-word;
}
.gc-streamer-meta-room {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #ff6700;
  background: #fff7f0;
  border-radius: 6px;
  padding: 2px 8px;
  width: fit-content;
}
.gc-streamer-meta-item--bio {
  align-self: stretch;
}
.gc-streamer-meta-value--bio {
  font-size: 13px;
  font-weight: 500;
  color: #444;
  line-height: 1.55;
  max-height: 72px;
  overflow-y: auto;
}
.gc-streamer-hero-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #666;
  text-decoration: none;
  transition: color .2s;
}
.gc-streamer-hero-back:hover {
  color: #ff6700;
}
@media (max-width: 900px) {
  .gc-streamer-hero-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .gc-streamer-hero-top { padding: 10px 14px; justify-content: center; }
  .gc-streamer-hero-name { font-size: 20px; }
  .gc-streamer-hero-body { padding: 14px 16px 16px; }
  .gc-streamer-hero-meta { grid-template-columns: 1fr; }
  .gc-unlock-form { flex-direction: column; }
  .gc-unlock-input { width: 100%; }
  .gc-unlock-btn { width: 100%; }
}

