/* ================================
   BOMBANANA 组队大厅 - 主样式表 (v6)
   配色: Bombanana黄 + Biubiu蓝
   ================================ */

:root {
  /* Bombanana 主题色 */
  --banana: #FFD93D;
  --banana-dark: #F4B400;
  --banana-light: #FFF1A8;
  --explosion: #FF6B35;

  /* Biubiu 主题色 */
  --biu-blue: #1E90FF;
  --biu-blue-dark: #0066CC;
  --biu-blue-light: #4DA8FF;
  --biu-cyan: #00D4FF;

  /* 中性色 */
  --bg-dark: #0F1023;
  --bg-card: #1A1B35;
  --bg-elev: #252746;
  --text-primary: #FFFFFF;
  --text-secondary: #B8BBD9;
  --text-muted: #6E7191;
  --border: rgba(255,255,255,0.08);
  --border-light: rgba(255,255,255,0.15);

  /* 状态色 */
  --success: #4ADE80;
  --female: #FF6B9D;
  --male: #4DA8FF;

  /* 字体 */
  --font-display: 'Bangers', 'ZCOOL KuaiLe', cursive;
  --font-cn: 'ZCOOL KuaiLe', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;

  /* 阴影 */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.5);
  --shadow-yellow: 0 8px 32px rgba(255, 217, 61, 0.3);
  --shadow-blue: 0 8px 32px rgba(30, 144, 255, 0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  padding-bottom: 100px;
  background-image:
    radial-gradient(ellipse at top left, rgba(255, 217, 61, 0.08), transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(30, 144, 255, 0.08), transparent 50%);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============= 背景装饰 ============= */
.bg-decoration {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.banana-shape {
  position: absolute;
  font-size: 40px;
  opacity: 0.06;
  animation: floatBanana 20s infinite linear;
}

.banana-1 { top: 10%; left: 5%; }
.banana-2 { top: 30%; right: 8%; font-size: 60px; animation-delay: -5s; }
.banana-3 { top: 60%; left: 3%; animation-delay: -10s; }
.banana-4 { bottom: 20%; right: 5%; font-size: 50px; animation-delay: -15s; }

@keyframes floatBanana {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(20px, -30px) rotate(180deg); }
}

/* ============= 顶部导航（极简） ============= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 16, 35, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo-bomb {
  font-size: 28px;
  animation: shake 2s ease-in-out infinite;
  display: inline-block;
}

@keyframes shake {
  0%, 100% { transform: rotate(0deg); }
  25%, 75% { transform: rotate(-8deg); }
  50% { transform: rotate(8deg); }
}

.logo-text {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 1px;
  color: var(--text-primary);
  text-shadow: 2px 2px 0 var(--banana);
}

.logo-accent {
  color: var(--banana);
  text-shadow: 2px 2px 0 var(--explosion);
}

.brand-tag {
  background: var(--bg-elev);
  color: var(--text-secondary);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid var(--border);
}

/* 顶部 biubiu 推广（精简版） */
.nav-acc {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.15), rgba(0, 212, 255, 0.08));
  border: 1px solid rgba(30, 144, 255, 0.35);
  padding: 6px 6px 6px 10px;
  border-radius: 14px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.nav-acc::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(0, 212, 255, 0.06));
  pointer-events: none;
}

.nav-acc:hover {
  border-color: var(--biu-blue);
  box-shadow: 0 0 24px rgba(30, 144, 255, 0.35);
  transform: translateY(-1px);
}

.nav-acc-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, var(--biu-blue), var(--biu-cyan));
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(30, 144, 255, 0.4);
}

.nav-acc-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.nav-acc-name {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.2;
}

.nav-acc-eyebrow {
  font-size: 9px;
  font-weight: 700;
  color: var(--biu-cyan);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1;
}

.nav-acc-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.nav-acc-tag {
  font-size: 9px;
  font-weight: 700;
  color: var(--banana);
  background: rgba(255, 217, 61, 0.15);
  border: 1px solid rgba(255, 217, 61, 0.35);
  padding: 1px 5px;
  border-radius: 4px;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.nav-acc-tags {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-acc-mini {
  font-size: 10px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 4px;
  white-space: nowrap;
  line-height: 1.4;
}

.nav-acc-mini.tag-zero {
  color: var(--success);
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.3);
}

.nav-acc-mini.tag-blue {
  color: var(--biu-cyan);
  background: rgba(0, 212, 255, 0.12);
  border: 1px solid rgba(0, 212, 255, 0.3);
}

.nav-acc-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, var(--biu-blue), var(--biu-blue-dark));
  color: white;
  text-decoration: none;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.2s;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(30, 144, 255, 0.3);
}

.nav-acc-btn:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, var(--biu-cyan), var(--biu-blue));
  box-shadow: 0 4px 14px rgba(30, 144, 255, 0.5);
}

/* ============= Hero 区（精简） ============= */
.hero {
  position: relative;
  padding: 40px 0 30px;
  z-index: 1;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-text {
  text-align: left;
}

.hero-title {
  font-family: var(--font-cn);
  font-size: 56px;
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: 1px;
}

.title-line-1 {
  display: block;
  color: var(--text-primary);
}

.title-line-2 {
  display: block;
}

.highlight {
  position: relative;
  color: var(--banana);
  display: inline-block;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 12px;
  background: var(--banana);
  opacity: 0.2;
  z-index: -1;
  border-radius: 4px;
}

/* Hero 副标题 - 语音厅/音游/网恋风格 */
.hero-subtitle {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sub-line-1,
.sub-line-2 {
  display: block;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 400;
}

.sub-line-1 b {
  color: var(--banana);
  font-weight: 700;
  font-family: var(--font-cn);
  letter-spacing: 0.5px;
  text-shadow: 0 0 12px rgba(255, 217, 61, 0.3);
}

.sub-line-2 {
  font-size: 13px;
  color: var(--text-muted);
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-banner {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5),
              0 0 0 1px rgba(255, 217, 61, 0.2);
  transition: transform 0.4s;
}

.hero-banner:hover {
  transform: scale(1.02) rotate(-1deg);
}

/* ============= 实时统计条 ============= */
.stats-bar {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.08), rgba(255, 217, 61, 0.05));
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  margin-bottom: 0;
}

.stats-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 24px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 220px;
  justify-content: center;
}

.stat-emoji {
  font-size: 36px;
  line-height: 1;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
  flex-shrink: 0;
}

.stat-emoji-pulse {
  animation: statPulse 2s ease-in-out infinite;
}

@keyframes statPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.stat-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
}

.stat-num {
  font-family: var(--font-cn);
  font-size: 26px;
  font-weight: 700;
  color: var(--banana);
  text-shadow: 0 0 16px rgba(255, 217, 61, 0.4);
  letter-spacing: 0.5px;
}

.stat-item:nth-child(5) .stat-num,
.stat-accel .stat-num {
  color: var(--biu-cyan);
  text-shadow: 0 0 16px rgba(0, 212, 255, 0.4);
}

.stat-item:nth-child(3) .stat-num,
.stat-matches .stat-num {
  color: var(--explosion);
  text-shadow: 0 0 16px rgba(255, 107, 53, 0.4);
}

.stat-unit {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
  margin-left: 2px;
  text-shadow: none;
}

.stat-label {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border-light);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .stats-inner {
    gap: 12px;
  }
  .stat-item {
    min-width: 0;
    gap: 10px;
  }
  .stat-emoji {
    font-size: 28px;
  }
  .stat-num {
    font-size: 20px;
  }
  .stat-label {
    font-size: 11px;
  }
  .stat-divider {
    display: none;
  }
}

@media (max-width: 480px) {
  .stats-inner {
    flex-direction: column;
    gap: 8px;
  }
  .stat-item {
    width: 100%;
  }
}

/* ============= 筛选区 ============= */
.filter-bar {
  position: sticky;
  top: 72px;
  z-index: 50;
  background: rgba(15, 16, 35, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.filter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-chip {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
}

.filter-chip:hover {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border-light);
}

.filter-chip.active {
  background: var(--banana);
  color: #1A1A1A;
  border-color: var(--banana);
  font-weight: 700;
}

.chip-emoji {
  font-size: 16px;
}

.filter-right {
  display: flex;
  gap: 12px;
  align-items: center;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text-muted);
  min-width: 220px;
  transition: all 0.2s;
}

.search-box:focus-within {
  border-color: var(--biu-blue);
}

.search-box input {
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 14px;
  flex: 1;
  font-family: var(--font-body);
}

.search-box input::placeholder {
  color: var(--text-muted);
}

/* ============= 大厅区 ============= */
.lobby-section {
  padding: 30px 0 60px;
  position: relative;
  z-index: 1;
}

.lobby-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.lobby-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.empty-icon {
  font-size: 64px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.lobby-empty p {
  margin-bottom: 6px;
  font-size: 16px;
}

.empty-sub {
  font-size: 13px;
  color: var(--text-muted);
}

/* ============= 队伍卡片 ============= */
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.team-card:hover {
  transform: translateY(-2px);
  border-color: var(--banana);
  box-shadow: var(--shadow-md);
}

.team-card.female {
  border-color: rgba(255, 107, 157, 0.3);
}

.team-card.female::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--female), var(--banana));
}

/* 卡片顶部：组队类型 + 状态 */
.team-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.team-type {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 700;
}

.team-type .num {
  background: var(--banana);
  color: #1A1A1A;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-cn);
}

.team-type .arrow {
  color: var(--text-muted);
  margin: 0 2px;
  font-weight: 400;
  font-size: 16px;
}

.team-type-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  margin-left: 4px;
  background: var(--bg-elev);
  padding: 2px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.team-card.female .team-type-label {
  color: var(--female);
  background: rgba(255, 107, 157, 0.1);
}

/* 性别装饰（在猴头上） */
.gender-deco {
  position: absolute;
  top: -6px;
  right: -6px;
  font-size: 18px;
  z-index: 3;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.4));
  line-height: 1;
  pointer-events: none;
}

.slot.filled.female .gender-deco {
  animation: bowWiggle 3s ease-in-out infinite;
}

@keyframes bowWiggle {
  0%, 100% { transform: rotate(-8deg); }
  50% { transform: rotate(8deg); }
}

/* 猴位 + 空圈（核心视觉） */
.team-slots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 6px 0 2px;
}

.slot {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  flex-shrink: 0;
  position: relative;
  transition: all 0.3s;
}

.slot.filled {
  background: linear-gradient(135deg, rgba(255, 217, 61, 0.18), rgba(255, 107, 53, 0.12));
  border: 2.5px solid var(--banana);
  box-shadow: 0 4px 16px rgba(255, 217, 61, 0.25);
}

.slot.filled.female {
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.25), rgba(255, 217, 61, 0.1));
  border-color: var(--female);
  box-shadow: 0 4px 16px rgba(255, 107, 157, 0.3);
}

.slot.filled.male {
  background: linear-gradient(135deg, rgba(77, 168, 255, 0.25), rgba(255, 217, 61, 0.1));
  border-color: var(--male);
  box-shadow: 0 4px 16px rgba(77, 168, 255, 0.3);
}

.slot.filled.other {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.25), rgba(255, 217, 61, 0.1));
  border-color: #A78BFA;
  box-shadow: 0 4px 16px rgba(167, 139, 250, 0.3);
}

.slot.filled.secret {
  background: linear-gradient(135deg, rgba(160, 160, 180, 0.18), rgba(255, 217, 61, 0.08));
  border-color: rgba(160, 160, 180, 0.5);
}

.slot.filled:hover {
  transform: translateY(-2px) scale(1.05);
}

.slot-emoji {
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* 空位 - 虚线圆 + 加号 */
.slot.empty {
  background: rgba(255, 255, 255, 0.02);
  border: 2.5px dashed var(--border-light);
  animation: emptyPulse 2.5s ease-in-out infinite;
}

@keyframes emptyPulse {
  0%, 100% { border-color: var(--border-light); background: rgba(255, 255, 255, 0.02); }
  50% { border-color: var(--banana); background: rgba(255, 217, 61, 0.08); }
}

.slot.empty::before {
  content: '+';
  font-size: 28px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1;
}

.slot.empty:hover {
  border-color: var(--banana);
  background: rgba(255, 217, 61, 0.12);
}

.slot.empty:hover::before {
  color: var(--banana);
  font-weight: 500;
}

/* 空位 - 显示具体所需猴型（"急招"状态） */
.slot.empty.wanted {
  background: rgba(255, 217, 61, 0.1);
  border: 2.5px solid rgba(255, 217, 61, 0.5);
  animation: wantedPulse 1.8s ease-in-out infinite;
}

@keyframes wantedPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 217, 61, 0.4);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 0 16px 4px rgba(255, 217, 61, 0.3);
  }
}

.slot.empty.wanted::before {
  content: none;
}

.slot.empty.wanted .wanted-emoji {
  font-size: 30px;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
  animation: wantedShake 2.5s ease-in-out infinite;
}

@keyframes wantedShake {
  0%, 100% { transform: rotate(-3deg) scale(1); }
  50% { transform: rotate(3deg) scale(1.08); }
}

.slot.empty.wanted:hover {
  background: rgba(255, 217, 61, 0.18);
  border-color: var(--banana);
  transform: scale(1.1);
}

.slot.empty.wanted::after {
  content: '急招';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  font-weight: 700;
  color: var(--banana);
  background: var(--bg-dark);
  padding: 1px 5px;
  border-radius: 6px;
  white-space: nowrap;
  z-index: 2;
}

/* 需要的队友标签 */
.team-need {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.need-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.need-tag.role {
  color: var(--banana);
  background: rgba(255, 217, 61, 0.08);
  border-color: rgba(255, 217, 61, 0.3);
}

/* 留言 */
.team-message {
  font-size: 13px;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--banana);
  padding: 8px 10px;
  border-radius: 0 8px 8px 0;
  line-height: 1.5;
  word-break: break-word;
}

/* 在线时段行 */
.team-online-time {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
}

.team-online-time .ot-icon {
  font-size: 13px;
}

.team-online-time .ot-text {
  color: var(--biu-cyan);
  font-weight: 500;
}

/* 卡片底部 */
.team-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.team-time {
  font-size: 11px;
  color: var(--text-muted);
}

.join-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-body);
  transition: all 0.2s;
}

.join-btn .btn-text {
  white-space: nowrap;
}

.join-btn.join-apply {
  background: linear-gradient(135deg, var(--banana), var(--banana-dark));
  color: #1A1A1A;
  box-shadow: 0 2px 10px rgba(255, 217, 61, 0.3);
}

.join-btn.join-apply:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 217, 61, 0.45);
}

.join-btn.join-view {
  background: linear-gradient(135deg, var(--biu-blue), var(--biu-blue-dark));
  color: #fff;
  box-shadow: 0 2px 10px rgba(30, 144, 255, 0.3);
}

.join-btn.join-view:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(30, 144, 255, 0.45);
}

/* ============= 在线状态徽标（v5） ============= */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.status-pill .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-pill.is-online {
  color: var(--success);
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
}

.status-pill.is-online .status-dot {
  background: var(--success);
  box-shadow: 0 0 6px var(--success);
  animation: dotBlink 1.6s ease-in-out infinite;
}

@keyframes dotBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.status-pill.is-offline {
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.status-pill.is-offline .status-dot {
  background: var(--text-muted);
}

/* ============= 浮动发布按钮 ============= */
.float-post {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--banana), var(--explosion));
  color: #1A1A1A;
  border: none;
  cursor: pointer;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  font-family: var(--font-cn);
  letter-spacing: 1px;
  box-shadow: 0 8px 32px rgba(255, 107, 53, 0.45);
  transition: all 0.25s;
}

.float-post:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 40px rgba(255, 107, 53, 0.6);
}

/* ============= 弹窗 ============= */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 9, 20, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  width: 100%;
  max-width: 640px;
  max-height: 88vh;
  overflow-y: auto;
  padding: 26px 28px;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.25s ease-out;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.modal-title {
  font-family: var(--font-cn);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
}

.modal-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.modal-close {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.modal-close:hover {
  background: var(--explosion);
  color: #fff;
  border-color: var(--explosion);
}

/* ============= 表单 ============= */
.post-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.label-text {
  color: var(--text-primary);
}

.label-required {
  color: #F87171;
  font-weight: 700;
}

.label-optional {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 500;
  background: var(--bg-elev);
  padding: 1px 6px;
  border-radius: 4px;
}

.label-hint {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 400;
}

.post-form input[type="text"],
.post-form textarea {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 14px;
  font-family: var(--font-body);
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.post-form input[type="text"]:focus,
.post-form textarea:focus {
  border-color: var(--banana);
}

.post-form input::placeholder,
.post-form textarea::placeholder {
  color: var(--text-muted);
}

.post-form textarea {
  resize: vertical;
  min-height: 64px;
}

.steam-input {
  position: relative;
  display: flex;
  align-items: center;
}

.steam-input input {
  padding-right: 58px;
}

.steam-hint {
  position: absolute;
  right: 10px;
  font-size: 10px;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 4px;
  pointer-events: none;
}

/* radio-card */
.radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.radio-group.radio-group-small,
.radio-group.radio-group-3 {
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.radio-group.radio-group-3 {
  grid-template-columns: repeat(3, 1fr);
}

.radio-card {
  position: relative;
  cursor: pointer;
  display: block;
}

.radio-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-content {
  background: var(--bg-elev);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  transition: all 0.2s;
  text-align: center;
}

.radio-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-cn);
  letter-spacing: 0.5px;
}

.radio-desc {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.radio-card:hover .radio-content {
  border-color: var(--border-light);
}

.radio-card input:checked + .radio-content {
  border-color: var(--banana);
  background: rgba(255, 217, 61, 0.1);
  box-shadow: 0 0 0 3px rgba(255, 217, 61, 0.12);
}

.radio-card input:checked + .radio-content .radio-title {
  color: var(--banana);
}

/* tag-checkbox */
.teammate-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-checkbox {
  cursor: pointer;
  position: relative;
}

.tag-checkbox input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tag-checkbox span {
  display: inline-block;
  background: var(--bg-elev);
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 999px;
  transition: all 0.2s;
}

.tag-checkbox:hover span {
  border-color: var(--border-light);
  color: var(--text-primary);
}

.tag-checkbox input:checked + span {
  background: rgba(255, 217, 61, 0.12);
  border-color: var(--banana);
  color: var(--banana);
  font-weight: 700;
}

.online-time-presets {
  max-height: 168px;
  overflow-y: auto;
  padding: 4px;
  border: 1px dashed var(--border);
  border-radius: 12px;
}

.online-time-custom {
  margin-top: 8px;
}

/* 表单按钮 */
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  padding: 11px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-body);
  transition: all 0.2s;
}

.btn-ghost {
  background: var(--bg-elev);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--border-light);
}

.btn-primary {
  background: linear-gradient(135deg, var(--banana), var(--explosion));
  color: #1A1A1A;
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(255, 107, 53, 0.5);
}

/* ============= 2=1 双房主卡片 ============= */
.host-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.host-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.host-card.female {
  border-color: rgba(255, 107, 157, 0.35);
}

.host-card.female::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--female), var(--banana));
}

.host-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.host-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.host-tag.is-host {
  color: var(--banana);
  background: rgba(255, 217, 61, 0.12);
  border: 1px solid rgba(255, 217, 61, 0.35);
}

.host-tag.is-partner {
  color: var(--biu-cyan);
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
}

.host-gender {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
}

.host-gender.female { color: var(--female); }
.host-gender.male { color: var(--male); }
.host-gender.other { color: #A78BFA; }
.host-gender.secret { color: var(--text-muted); }

.host-gender-deco {
  font-size: 13px;
}

.host-card-body {
  display: flex;
  align-items: center;
  gap: 12px;
}

.host-slot {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  position: relative;
  background: linear-gradient(135deg, rgba(255, 217, 61, 0.18), rgba(255, 107, 53, 0.12));
  border: 2.5px solid var(--banana);
  flex-shrink: 0;
}

.host-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.host-nickname {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.host-steam-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

.host-steam-label {
  color: var(--text-muted);
  flex-shrink: 0;
}

.host-steam {
  color: var(--banana);
  font-weight: 700;
  font-family: var(--font-cn);
  letter-spacing: 1px;
}

.copy-host-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--biu-blue), var(--biu-blue-dark));
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-body);
  transition: all 0.2s;
  width: 100%;
}

.copy-host-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(30, 144, 255, 0.45);
}

.copy-host-btn.copied {
  background: linear-gradient(135deg, var(--success), #22C55E);
}

/* ============= Toast ============= */
.toast {
  position: fixed;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%) translateY(80px);
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--success);
  color: #0B2A18;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  max-width: calc(100vw - 40px);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-icon {
  font-size: 16px;
  font-weight: 900;
}

/* ============= 响应式 ============= */
@media (max-width: 768px) {
  .nav-inner {
    height: auto;
    padding: 10px 0;
    flex-wrap: wrap;
  }

  .nav-acc {
    width: 100%;
    justify-content: space-between;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-visual {
    order: -1;
  }

  .filter-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-right {
    width: 100%;
  }

  .search-box {
    min-width: 0;
    width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .radio-group.radio-group-small {
    grid-template-columns: repeat(2, 1fr);
  }

  .host-list {
    grid-template-columns: 1fr;
  }

  .float-post {
    right: 16px;
    bottom: 16px;
    padding: 12px 18px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }

  .hero-title {
    font-size: 32px;
  }

  .logo-text {
    font-size: 22px;
  }

  .nav-acc-text {
    min-width: 0;
  }

  .nav-acc-tags {
    display: none;
  }

  .lobby-grid {
    grid-template-columns: 1fr;
  }

  .modal {
    padding: 20px 16px;
  }

  .radio-group.radio-group-3 {
    grid-template-columns: 1fr;
  }
}
