/* ============================================================
   花家网络 - 高级浅色主题 CSS
   ============================================================ */

:root {
  --bg: #f8f9fb;
  --bg-card: #ffffff;
  --bg-subtle: #f0f1f5;
  --bg-overlay: rgba(255,255,255,0.92);
  --accent: #c9a96e;
  --accent-hover: #b8943f;
  --accent-light: #f5efe5;
  --accent-glow: rgba(201,169,110,0.18);
  --text: #1a1a2e;
  --text-muted: #6b7280;
  --text-dim: #9ca3af;
  --border: #e8e9ee;
  --border-light: #f0f1f5;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow: 0 4px 20px rgba(0,0,0,0.07);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.1);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ===== 滚动条 ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-dim); }

/* ===== 通用容器 ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 24px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; cursor: pointer;
  border: 1.5px solid transparent; transition: var(--transition);
  text-decoration: none;
}
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost { background: transparent; color: var(--text-muted); border-color: transparent; }
.btn-ghost:hover { color: var(--accent); background: var(--bg-subtle); }
.btn-sm { padding: 6px 16px; font-size: 13px; }
.btn-xs { padding: 4px 12px; font-size: 12px; }

/* ===== 卡片 ===== */
.card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

/* ===== 表单 ===== */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 6px; }
.form-input {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-size: 14px; color: var(--text);
  background: var(--bg-card); outline: none; transition: var(--transition);
}
.form-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.form-checkbox { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); }

/* ===== Toast ===== */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(80px);
  padding: 12px 28px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600;
  background: var(--text); color: #fff; z-index: 9999;
  opacity: 0; transition: all 0.4s; pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.success { background: #22c55e; }
.toast.error { background: #ef4444; }

/* ===== Header ===== */
.header {
  background: var(--bg-card); border-bottom: 1px solid var(--border-light);
  position: sticky; top: 0; z-index: 100;
}
.header-inner { display: flex; align-items: center; gap: 32px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-icon {
  width: 36px; height: 36px; border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #e8c98a);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px; font-weight: 700;
}
.logo-text { font-size: 16px; font-weight: 700; white-space: nowrap; }
.logo-sub { font-size: 11px; color: var(--text-dim); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 16px; border-radius: var(--radius-xs);
  font-size: 14px; font-weight: 500; color: var(--text-muted);
  transition: var(--transition);
}
.nav-link:hover { color: var(--text); background: var(--bg-subtle); }
.nav-link.active { color: var(--accent); font-weight: 600; background: var(--accent-light); }
.header-right { display: flex; align-items: center; gap: 12px; margin-left: auto; flex-shrink: 0; }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--accent-light) 0%, #fff 50%, var(--accent-light) 100%);
  padding: 80px 0; text-align: center;
}
.hero-content { max-width: 720px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; padding: 6px 16px; border-radius: 20px;
  background: var(--accent-light); color: var(--accent); font-size: 13px; font-weight: 600;
  margin-bottom: 20px;
}
.hero-title { font-size: 48px; font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.hero-title .accent { color: var(--accent); }
.hero-sub { font-size: 16px; color: var(--text-muted); max-width: 520px; margin: 0 auto 32px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; }

/* ===== 快捷入口 ===== */
.quick-entry { padding: 64px 0; text-align: center; }
.section-title { font-size: 26px; font-weight: 800; margin-bottom: 8px; }
.section-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 32px; }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 720px; margin: 0 auto; }
.quick-item {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 32px 20px; border-radius: var(--radius);
  background: var(--bg-card); border: 1px solid var(--border-light);
  cursor: pointer; transition: var(--transition);
}
.quick-item:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--accent); }
.quick-icon {
  width: 64px; height: 64px; border-radius: 20px;
  display: flex; align-items: center; justify-content: center; font-size: 28px;
}
.quick-icon.live { background: linear-gradient(135deg, #fce4ec, #f8bbd0); }
.quick-icon.recharge { background: linear-gradient(135deg, #e8f5e9, #c8e6c9); }
.quick-name { font-size: 16px; font-weight: 600; }
.quick-desc { font-size: 13px; color: var(--text-muted); }

/* ===== 直播列表 ===== */
.live-section { padding: 0 0 64px; }
.live-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.live-card { overflow: hidden; cursor: pointer; transition: var(--transition); }
.live-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.live-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--bg-subtle); }
.live-thumb img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.live-card:hover .live-thumb img { transform: scale(1.05); }
.live-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--accent); color: #fff;
  padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 600;
}
.live-info { padding: 16px; }
.live-room { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.live-anchor { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.live-dot { width: 6px; height: 6px; background: #22c55e; border-radius: 50%; }

/* ===== 直播详情 ===== */
.room-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.room-title { font-size: 22px; font-weight: 700; }
.room-back { color: var(--text-muted); font-size: 14px; transition: var(--transition); }
.room-back:hover { color: var(--accent); }
.room-player { border-radius: var(--radius); overflow: hidden; background: #000; margin-bottom: 24px; }
.room-player video { width: 100%; max-height: 480px; display: block; }
.room-info { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.room-anchor-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #e8c98a);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: #fff; font-weight: 700;
}
.room-anchor-info h3 { font-size: 18px; font-weight: 600; }
.room-anchor-info p { font-size: 13px; color: var(--text-muted); }
.room-live-tag { background: #22c55e; color: #fff; padding: 3px 10px; border-radius: 6px; font-size: 12px; font-weight: 600; }
.room-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; }

/* ===== 礼物面板（4列横排） ===== */
.gift-section { }
.gift-title { font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.gift-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gift-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 16px 8px; background: var(--bg-subtle); border-radius: var(--radius-sm);
  cursor: pointer; transition: var(--transition); border: 1.5px solid transparent;
}
.gift-item:hover, .gift-item.selected { border-color: var(--accent); background: var(--accent-light); }
.gift-icon { font-size: 28px; line-height: 1; }
.gift-name { font-size: 13px; color: var(--text); font-weight: 500; }
.gift-price { font-size: 12px; color: var(--accent); font-weight: 600; }
.gift-send-btn { width: 100%; margin-top: 12px; justify-content: center; }

/* ===== 打赏记录 ===== */
.donation-list { }
.donation-title { font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.donation-scroll { max-height: 400px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
.donation-item { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--bg-subtle); border-radius: var(--radius-sm); font-size: 13px; }
.donation-icon { font-size: 20px; }
.donation-text { flex: 1; }
.donation-user { font-weight: 600; color: var(--text); }
.donation-gift { color: var(--text-muted); }
.donation-amount { color: var(--accent); font-weight: 600; font-size: 12px; }
.donation-time { color: var(--text-dim); font-size: 11px; }
.donation-empty { text-align: center; padding: 32px; color: var(--text-dim); font-size: 14px; }

/* ===== 道具商城 ===== */
.shop-page { padding: 48px 0 64px; }
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.shop-card {
  padding: 28px 20px; text-align: center; cursor: pointer;
  border: 1.5px solid var(--border); background: var(--bg-card);
  border-radius: var(--radius); transition: var(--transition);
}
.shop-card:hover { border-color: var(--accent); }
.shop-card.selected { border-color: var(--accent); background: var(--accent-light); box-shadow: 0 0 0 3px var(--accent-glow); }
.shop-icon { font-size: 40px; margin-bottom: 8px; }
.shop-name { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.shop-price { font-size: 18px; font-weight: 800; color: var(--accent); }
.shop-price-unit { font-size: 13px; color: var(--text-muted); font-weight: 400; }
.shop-tip {
  background: var(--accent-light); border-radius: var(--radius-sm);
  padding: 16px 20px; font-size: 14px; color: var(--text-muted); margin-bottom: 24px;
}

/* ===== 背包 ===== */
.inventory-section { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--border-light); }
.inventory-title { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.inventory-grid { display: flex; gap: 12px; flex-wrap: wrap; }
.inventory-item {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; background: var(--bg-subtle); border-radius: var(--radius-sm);
  font-size: 14px;
}
.inventory-count {
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 700;
  padding: 2px 8px; border-radius: 10px; min-width: 22px; text-align: center;
}
.inventory-empty { font-size: 14px; color: var(--text-dim); padding: 20px 0; }

/* ===== 登录注册弹窗 ===== */
.modal-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.4); z-index: 1000; display: none;
  align-items: center; justify-content: center;
}
.modal-overlay.show { display: flex; }
.modal {
  background: var(--bg-card); border-radius: var(--radius);
  width: 90%; max-width: 420px; box-shadow: var(--shadow-lg);
}
.modal-header { padding: 24px 24px 0; display: flex; align-items: center; justify-content: space-between; }
.modal-title { font-size: 20px; font-weight: 700; }
.modal-close { background: none; border: none; font-size: 24px; color: var(--text-dim); cursor: pointer; }
.modal-body { padding: 20px 24px; }
.modal-footer { padding: 0 24px 24px; display: flex; justify-content: center; }

/* ===== 认证页面 ===== */
.auth-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; }
.auth-card {
  background: var(--bg-card); border-radius: var(--radius);
  padding: 40px; width: 100%; max-width: 400px;
  box-shadow: var(--shadow); border: 1px solid var(--border-light);
}
.auth-logo { text-align: center; margin-bottom: 24px; }
.auth-footer { text-align: center; margin-top: 20px; font-size: 13px; color: var(--text-muted); }
.auth-footer a { color: var(--accent); }

/* ===== 用户下拉 ===== */
.user-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; cursor: pointer;
}
.balance-badge {
  background: var(--accent-light); color: var(--accent);
  padding: 4px 12px; border-radius: 16px; font-size: 13px; font-weight: 600;
}
.user-dropdown {
  display: none; position: absolute; top: 44px; right: 0;
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-sm); box-shadow: var(--shadow);
  min-width: 180px; z-index: 200;
}
.user-dropdown.show { display: block; }
.user-dropdown a {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; font-size: 14px; color: var(--text);
  transition: var(--transition);
}
.user-dropdown a:hover { background: var(--bg-subtle); }
.user-dropdown hr { border: none; border-top: 1px solid var(--border-light); }
.user-dropdown .logout { color: #ef4444; }

/* ===== Footer ===== */
.footer {
  background: var(--bg-card); border-top: 1px solid var(--border-light);
  padding: 48px 0 32px; margin-top: 48px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-desc { font-size: 14px; color: var(--text-muted); line-height: 1.8; }
.footer-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 14px; transition: var(--transition); }
.footer-links a:hover { color: var(--accent); }
.footer-report { margin-bottom: 32px; }
.report-links { display: flex; flex-wrap: wrap; gap: 12px; }
.report-link {
  padding: 6px 14px; border-radius: 20px;
  background: var(--bg-subtle); color: var(--text-muted);
  font-size: 13px; transition: var(--transition);
}
.report-link:hover { background: var(--accent-light); color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border-light); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; }
.footer-icp { font-size: 12px; color: var(--text-dim); }

/* ===== 协议页 ===== */
.agree-nav { margin-bottom: 40px; }
.agree-nav-list { display: flex; flex-wrap: wrap; gap: 8px; }
.agree-nav-item {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 20px;
  background: var(--bg-card); border: 1px solid var(--border-light);
  text-decoration: none; font-size: 13px; color: var(--text-muted);
  transition: all 0.3s;
}
.agree-nav-item:hover { border-color: var(--accent); color: var(--accent); }
.agree-nav-item.active { background: var(--accent-light); border-color: var(--accent); color: var(--accent); font-weight: 600; }
.agree-nav-num { font-weight: 700; opacity: 0.6; }
.agree-nav-title { }
.agreement-content { max-width: 800px; }
.agreement-content h2 { font-size: 26px; font-weight: 800; text-align: center; margin-bottom: 40px; padding-bottom: 24px; border-bottom: 2px solid var(--border-light); color: var(--text); }
.agreement-content h3 { font-size: 16px; font-weight: 700; color: var(--text); margin: 28px 0 12px; padding-left: 12px; border-left: 3px solid var(--accent); }
.agreement-content p { font-size: 15px; color: var(--text-muted); line-height: 2; margin-bottom: 16px; }
.agreement-content ul, .agreement-content ol { padding-left: 24px; margin: 12px 0; }
.agreement-content li { font-size: 15px; color: var(--text-muted); line-height: 2; }
.agreement-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.agreement-table th, .agreement-table td { padding: 10px 14px; border: 1px solid var(--border); text-align: left; font-size: 14px; }
.agreement-table th { background: var(--bg-subtle); font-weight: 600; }
.agreement-table td { color: var(--text-muted); }

/* ===== 后台管理 ===== */
.admin-page { padding: 40px 0 80px; }
.admin-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.admin-tabs { display: flex; gap: 4px; margin-bottom: 32px; }
.admin-tab {
  padding: 10px 24px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; cursor: pointer;
  border: 1px solid transparent; background: transparent;
  color: var(--text-muted); transition: var(--transition);
}
.admin-tab:hover { background: var(--bg-subtle); }
.admin-tab.active { background: var(--accent); color: #fff; }
.admin-panel { display: none; }
.admin-panel.active { display: block; }
.admin-section-title { font-size: 18px; font-weight: 700; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--accent-light); }
.admin-save-btn { margin-top: 24px; }
.admin-room-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.admin-room-card { padding: 24px; }
.admin-room-card .form-group { margin-bottom: 12px; }
.admin-room-card label { display: block; font-size: 12px; font-weight: 600; color: var(--text-muted); margin-bottom: 4px; }
.admin-room-card input, .admin-room-card textarea {
  width: 100%; padding: 8px 12px; border: 1.5px solid var(--border);
  border-radius: var(--radius-xs); font-size: 13px; color: var(--text);
  background: var(--bg); outline: none; transition: var(--transition);
}
.admin-room-card input:focus, .admin-room-card textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.admin-room-card textarea { resize: vertical; min-height: 60px; font-family: inherit; }
.admin-prop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.admin-prop-item { padding: 20px 12px; text-align: center; }
.admin-prop-item input { text-align: center; margin-top: 8px; }

/* ===== 协议管理（后台） ===== */
.agree-item { margin-bottom: 0; border-bottom: 1px solid var(--border-light); }
.agree-item:last-child { border-bottom: none; }
.agree-item-header {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; cursor: pointer; transition: background 0.2s;
}
.agree-item-header:hover { background: var(--bg-subtle); }
.agree-item-badge {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--accent-light); display: flex;
  align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--accent); flex-shrink: 0;
}
.agree-item-title-input {
  flex: 1; border: none; background: transparent;
  font-size: 14px; font-weight: 600; color: var(--text);
  outline: none; padding: 4px 0;
}
.agree-item-toggle { color: var(--text-dim); font-size: 18px; transition: transform 0.3s; flex-shrink: 0; }
.agree-item-toggle.open { transform: rotate(180deg); }
.agree-item-body { display: none; padding: 0 20px 16px 66px; }
.agree-item-body.open { display: block; }
.agree-item-body label { font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; display: block; margin-bottom: 8px; }
.agree-item-body textarea {
  width: 100%; min-height: 320px; padding: 14px 16px;
  border: 1.5px solid var(--border); border-radius: 10px;
  font-size: 14px; line-height: 1.8; color: var(--text);
  background: var(--bg); outline: none; resize: vertical;
  font-family: inherit; transition: border-color 0.3s;
}
.agree-item-body textarea:focus { border-color: var(--accent); background: var(--bg-card); box-shadow: 0 0 0 3px var(--accent-glow); }
.agree-item-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; }
.agree-hint { font-size: 12px; color: var(--text-dim); margin-bottom: 16px; }

/* ===== 封面图通用（position:absolute方式） ===== */
.cover { width: 100%; position: relative; overflow: hidden; }
.room-cover { aspect-ratio: 16/9; }
.comic-cover { aspect-ratio: 3/4; }
.music-cover { aspect-ratio: 1/1; }
.cover img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }

/* ===== 上传按钮 ===== */
.upload-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: var(--radius-xs);
  background: var(--bg-subtle); border: 1.5px dashed var(--border);
  font-size: 13px; color: var(--text-muted); cursor: pointer;
  transition: var(--transition);
}
.upload-btn:hover { border-color: var(--accent); color: var(--accent); }
.upload-preview {
  margin-top: 8px; border-radius: var(--radius-xs); overflow: hidden;
  max-width: 160px; max-height: 120px;
}
.upload-preview img { width: 100%; height: 100%; object-fit: cover; }

/* ===== 道具商城 ===== */
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.shop-card {
  padding: 24px 16px; text-align: center;
  background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: var(--radius); transition: var(--transition);
}
.shop-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.shop-icon { font-size: 48px; line-height: 1; margin-bottom: 12px; }
.shop-name { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.shop-price { font-size: 14px; color: var(--accent); font-weight: 600; }

/* ===== 背包 ===== */
.inventory-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.inv-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 16px 12px; background: var(--bg-subtle); border-radius: var(--radius-sm);
}
.inv-icon { font-size: 32px; }
.inv-name { font-size: 13px; color: var(--text-muted); }
.inv-count { font-size: 14px; font-weight: 700; color: var(--accent); }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .room-layout { grid-template-columns: 1fr; }
  .admin-room-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero-title { font-size: 32px; }
  .hero { padding: 48px 0; }
  .quick-grid { grid-template-columns: 1fr; max-width: 400px; }
  .live-grid { grid-template-columns: 1fr; }
  .gift-grid, .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .recharge-grid, .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .admin-room-grid { grid-template-columns: 1fr; }
  .admin-prop-grid { grid-template-columns: 1fr; }
  .nav { gap: 0; }
  .nav-link { padding: 6px 10px; font-size: 13px; }
  .room-layout { grid-template-columns: 1fr; }
}
