/* ============ 基础 ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --accent: #8b5cf6;
  --bg: #f5f6fb;
  --card: #ffffff;
  --text: #1f2430;
  --muted: #8a90a3;
  --border: #e6e8f0;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(80, 90, 200, 0.08);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ============ 导航 ============ */
.navbar {
  background: linear-gradient(120deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 2px 16px rgba(99, 102, 241, .3);
}
.navbar-inner {
  max-width: 1200px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255,255,255,.2); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700;
}
.brand-text h1 { font-size: 20px; font-weight: 600; }
.brand-text span { font-size: 12px; opacity: .85; }
.admin-link {
  color: #fff; text-decoration: none; font-size: 13px;
  padding: 8px 16px; border: 1px solid rgba(255,255,255,.5);
  border-radius: 999px; transition: all .2s;
  background: transparent; cursor: pointer; font-family: inherit;
}
.admin-link:hover { background: rgba(255,255,255,.15); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

/* ============ 用户菜单 ============ */
.user-menu {
  display: inline-flex; align-items: center; gap: 6px; position: relative;
  color: #fff; padding: 6px 10px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.3); transition: background .15s;
}
.user-menu:hover { background: rgba(255,255,255,.12); }
.user-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,.25); display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600;
}
.user-name { font-size: 13px; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-caret { font-size: 10px; opacity: .8; }
.user-dropdown {
  position: absolute; top: 100%; right: 0; margin-top: 8px;
  background: #fff; color: #333; border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0,0,0,.18); border: 1px solid var(--border);
  min-width: 200px; padding: 6px; display: none; z-index: 50;
}
.user-menu.open .user-dropdown { display: block; }
.user-dropdown-info { padding: 10px 12px; border-bottom: 1px solid var(--border); }
.ud-phone { font-size: 14px; font-weight: 600; }
.ud-id { font-size: 11px; color: var(--muted); margin-top: 2px; }
.user-dropdown-item {
  display: block; width: 100%; text-align: left;
  padding: 8px 12px; border: none; background: #fff; border-radius: 6px;
  font-size: 13px; color: #d33; cursor: pointer; font-family: inherit;
}
.user-dropdown-item:hover { background: #fef0f0; }

/* ============ 登录弹窗 ============ */
.auth-modal { max-width: 380px; margin: auto; }
.auth-form { display: flex; flex-direction: column; gap: 12px; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 13px; color: #444; font-weight: 500; }
.form-input {
  height: 42px; padding: 0 12px; border: 1px solid var(--border);
  border-radius: 8px; font-size: 14px; background: #fff;
  outline: none; transition: border-color .15s;
}
.form-input:focus { border-color: var(--primary); }
.auth-error { color: #d33; font-size: 12px; min-height: 16px; }
.auth-submit {
  margin-top: 8px; height: 44px; font-size: 15px; width: 100%;
}
.auth-switch {
  text-align: center; font-size: 13px; color: var(--muted); margin-top: 4px;
}
.auth-switch a { color: var(--primary); text-decoration: none; margin-left: 4px; }
.auth-switch a:hover { text-decoration: underline; }

/* ============ 布局 ============ */
.container {
  max-width: 100%; margin: 0; padding: 24px 32px;
  display: flex; flex-direction: column; gap: 20px;
  flex: 1; width: 100%;
  box-sizing: border-box;
}
.panel {
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid var(--border);
  padding: 20px;
}
.panel-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.panel-header h2 { font-size: 16px; }
.muted { color: var(--muted); font-size: 12px; }

/* ============ 选项卡 ============ */
.tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.tab {
  flex: 1; padding: 9px 0; border: 1px solid var(--border); background: #fafbff;
  border-radius: 10px; cursor: pointer; font-size: 14px; color: var(--text);
  transition: all .2s;
}
.tab.active {
  background: linear-gradient(120deg, var(--primary), var(--accent));
  color: #fff; border-color: transparent; box-shadow: 0 4px 12px rgba(99,102,241,.3);
}

/* ============ 音色卡片 ============ */
.voices-panel { max-height: calc(100vh - 180px); display: flex; flex-direction: column; }
.voice-grid {
  overflow-y: auto; display: flex; flex-direction: column; gap: 10px;
  padding-right: 4px; flex: 1;
}
.voice-grid::-webkit-scrollbar { width: 6px; }
.voice-grid::-webkit-scrollbar-thumb { background: #d5d9f0; border-radius: 3px; }
.voice-card {
  display: flex; align-items: center; gap: 12px; padding: 12px;
  border: 2px solid var(--border); border-radius: 12px; cursor: pointer;
  transition: all .18s; background: #fff;
}
.voice-card:hover { border-color: #c7cbfa; transform: translateY(-1px); }
.voice-card.selected {
  border-color: var(--primary);
  background: linear-gradient(135deg, #eef0ff, #f7f5ff);
  box-shadow: 0 4px 14px rgba(99,102,241,.18);
}
.voice-card.playing {
  border-color: #1aa563;
  background: linear-gradient(135deg, #e9fff2, #e6f9f0);
  box-shadow: 0 4px 14px rgba(26,165,99,.22);
}
.voice-card.playing .voice-avatar {
  animation: voicePulse 1.2s ease-in-out infinite;
}
.voice-card.paused .voice-avatar {
  opacity: 0.7;
}
@keyframes voicePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}
.v-preview-status {
  font-size: 11px; color: #1aa563; font-weight: 500;
}
.voice-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 17px; font-weight: 600;
}
.voice-info { flex: 1; min-width: 0; }
.voice-info .v-name { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.voice-info .v-desc { font-size: 12px; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v-label {
  font-size: 10px; padding: 2px 6px; border-radius: 4px; flex-shrink: 0;
}
.v-label.standard { background: #e8f4ff; color: #2b7cd3; }
.v-label.llm { background: #f0e9ff; color: #7c4ddf; }
.v-label.clone { background: #e9fff2; color: #1aa563; }
.v-label.bgm { background: #fff3e6; color: #e89b3a; }
.v-label.zh { background: #fff3e0; color: #d9822b; }
.v-label.ja { background: #ffe9ee; color: #d24b6a; }

/* ============ 文本输入 ============ */
.textarea-wrap { position: relative; margin-bottom: 16px; }
textarea {
  width: 100%; min-height: 130px; resize: vertical;
  border: 1.5px solid var(--border); border-radius: 12px;
  padding: 14px; font-size: 14px; line-height: 1.7;
  font-family: inherit; outline: none; transition: border .2s;
}
textarea:focus { border-color: var(--primary); }
.char-count { position: absolute; right: 12px; bottom: 10px; font-size: 12px; color: var(--muted); }

/* ============ 参数 ============ */
.params { display: flex; flex-direction: column; gap: 14px; margin-bottom: 16px; }
.params.row2 { flex-direction: row; gap: 16px; }
.params.row2 .select-box { flex: 1; }
.param label, .select-box label { font-size: 13px; color: var(--text); display: flex; justify-content: space-between; }
.param label span { color: var(--primary); font-weight: 600; }
input[type="range"] {
  width: 100%; margin-top: 6px; accent-color: var(--primary); cursor: pointer;
}
select {
  width: 100%; margin-top: 6px; padding: 8px 10px; border: 1.5px solid var(--border);
  border-radius: 8px; font-size: 13px; background: #fff; outline: none; cursor: pointer;
}

/* ============ 按钮 ============ */
.actions { display: flex; gap: 12px; margin-bottom: 16px; }
.btn-primary, .btn-preview, .btn-download {
  border: none; border-radius: 10px; cursor: pointer; font-size: 14px; font-weight: 600;
  padding: 11px 0; transition: all .2s;
}
.btn-primary {
  flex: 1; background: linear-gradient(120deg, var(--primary), var(--accent));
  color: #fff; box-shadow: 0 4px 14px rgba(99,102,241,.35);
}
.btn-primary:hover { opacity: .92; transform: translateY(-1px); }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-preview {
  flex: 1; background: #fff; color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-preview:hover { background: #f0f2ff; }
.btn-preview:disabled { opacity: .5; cursor: not-allowed; }

/* ============ 结果 ============ */
.result { border-top: 1px dashed var(--border); padding-top: 16px; }
.result-info { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.badge-ok { font-size: 12px; color: #1aa563; background: #e9fff2; padding: 3px 10px; border-radius: 999px; }
audio { width: 100%; height: 40px; margin-bottom: 12px; }
.btn-download {
  display: block; text-align: center; text-decoration: none;
  background: #f4f5ff; color: var(--primary); border: 1px solid #dfe1ff;
}
.btn-download:hover { background: #eceeff; }
.btn-download.disabled {
  background: #f0f0f0; color: #aaa; border-color: #ddd;
  cursor: not-allowed; pointer-events: none;
}

/* ============ 其他 ============ */
.loading { text-align: center; color: var(--muted); padding: 30px 0; }
.empty { text-align: center; color: var(--muted); padding: 30px 0; font-size: 13px; }
.footer { text-align: center; color: var(--muted); font-size: 12px; padding: 20px; }

/* ============ 再次创作按钮 ============ */
.btn-remix {
  display: block; width: 100%; margin-top: 12px;
  padding: 10px 0; border: 1.5px dashed var(--accent); background: #f8f5ff;
  color: var(--accent); border-radius: 10px; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all .2s;
}
.btn-remix:hover { background: #f0eaff; border-style: solid; transform: translateY(-1px); }

/* 再次创作结果 */
.remix-result { border-top: 1px dashed #dfe1ff; margin-top: 16px; padding-top: 16px; }
.badge-remix { font-size: 12px; color: var(--accent); background: #f0e9ff; padding: 3px 10px; border-radius: 999px; }

/* ============ 模态框 ============ */
.modal-mask {
  position: fixed; inset: 0; background: rgba(20,22,40,.55); z-index: 100;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  backdrop-filter: blur(2px);
}
.modal {
  background: var(--card); border-radius: 16px; width: 560px; max-width: 100%;
  max-height: 92vh; display: flex; flex-direction: column;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 22px; border-bottom: 1px solid var(--border);
}
.modal-header h3 { font-size: 16px; }
.modal-close {
  background: none; border: none; font-size: 24px; cursor: pointer;
  color: var(--muted); line-height: 1;
}
.modal-body { padding: 20px 22px; overflow-y: auto; }
.modal-footer {
  display: flex; gap: 10px; padding: 14px 22px; border-top: 1px solid var(--border);
}
.modal-footer .btn-primary { margin-left: auto; }

/* 表单 */
.form-item { margin-bottom: 14px; }
.form-item label {
  display: block; font-size: 13px; color: var(--text); margin-bottom: 6px; font-weight: 500;
}
.form-item input, .form-item select {
  width: 100%; padding: 9px 12px; border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 14px; outline: none; background: #fff; transition: border .2s;
}
.form-item input:focus, .form-item select:focus { border-color: var(--primary); }
.form-row { display: flex; gap: 12px; }
.form-row .form-item { flex: 1; }

.btn-outline {
  border: 1.5px solid var(--primary); background: #fff; color: var(--primary);
  border-radius: 8px; cursor: pointer; font-size: 13px; font-weight: 600;
  padding: 9px 18px; transition: all .2s;
}
.btn-outline:hover { background: #f0f2ff; }

.voice-source {
  padding: 10px 12px; background: #f6f7ff; border: 1px solid #dfe1ff;
  border-radius: 8px; font-size: 13px; color: #4a4f63; word-break: break-all;
}
.tip { font-size: 12px; color: var(--muted); line-height: 1.7; margin-bottom: 14px; }
.tip.warning { color: #d9822b; background: #fff8e6; padding: 8px 12px; border-radius: 8px; border: 1px solid #ffe3a8; }

/* Toast */
#toast {
  position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
  background: #32343f; color: #fff; padding: 10px 22px; border-radius: 8px;
  font-size: 14px; z-index: 999; opacity: 0; pointer-events: none;
  transition: opacity .25s; max-width: 80%;
}
#toast.show { opacity: 1; }
#toast.error { background: #e5484d; }

/* ============ 响应式 ============ */
@media (max-width: 900px) {
  .container { padding: 12px 16px; }
/* 全局隐藏原生 select，改用自定义触发器 */
.voice-picker select { display: none !important; }
}

/* ============ 配音员选择器 ============ */
.voice-picker-trigger {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; background: #fff; border: 1px solid var(--border);
  border-radius: 10px; cursor: pointer; font-size: 14px; font-weight: 500;
  transition: all .18s;
}
.voice-picker-trigger:hover { border-color: var(--primary); }
.voice-picker-name { color: #333; }
.voice-picker-name.empty { color: #aaa; font-weight: 400; }
.voice-picker-arrow { color: #999; font-size: 11px; transition: transform .2s; }
.voice-picker-trigger.open .voice-picker-arrow { transform: rotate(180deg); }

.voice-picker-modal {
  max-width: 480px; width: 92%; max-height: 85vh;
  display: flex; flex-direction: column;
}
.voice-picker-list {
  flex: 1; overflow-y: auto; padding: 8px 0;
}
.voice-picker-tip {
  text-align: center; font-size: 12px; color: #999;
  padding: 10px 16px; border-top: 1px solid #f0f0f0;
}

/* 弹窗内的音色卡片样式 */
.voice-picker-list .voice-card {
  position: relative; margin: 6px 12px;
}
.voice-picker-list .voice-card .btn-use-voice {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  padding: 6px 12px; background: var(--primary); color: #fff; border: none;
  border-radius: 8px; font-size: 12px; font-weight: 600; cursor: pointer;
  opacity: 0; transition: opacity .18s;
}
.voice-picker-list .voice-card:hover .btn-use-voice,
.voice-picker-list .voice-card.selected .btn-use-voice,
.voice-picker-list .voice-card.playing .btn-use-voice {
  opacity: 1;
}
.voice-picker-list .voice-card.selected .btn-use-voice {
  background: #1aa563; /* 绿色表示已选中 */
}

@media (max-width: 900px) {
  .voice-picker-list .voice-card .btn-use-voice {
    opacity: 1; /* 手机端始终显示按钮 */
  }
}

/* ============ 播放器包装 ============ */
.player-wrap { display: flex; align-items: center; gap: 8px; margin: 10px 0; }
.player-wrap audio { flex: 1; min-width: 0; }
.player-toggle {
  padding: 6px 14px; background: #f0f0f0; border: 1px solid var(--border);
  border-radius: 8px; font-size: 13px; cursor: pointer; color: #333;
  transition: all .15s; white-space: nowrap;
}
.player-toggle:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.player-toggle.paused { background: #e8f5e9; color: #2e7d32; border-color: #a5d6a7; }

/* ============ 创作记录 ============ */
.history-panel { margin-top: 16px; }
.history-tabs { display: flex; gap: 0; margin-bottom: 12px; border-bottom: 1px solid var(--border); }
.history-tab {
  flex: 1; padding: 10px; background: none; border: none; cursor: pointer;
  font-size: 14px; color: var(--muted); font-weight: 500; border-bottom: 2px solid transparent;
  transition: all .18s;
}
.history-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.history-list { min-height: 60px; }

.history-item {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px;
  border: 1px solid var(--border); border-radius: 10px; margin-bottom: 8px; background: #fff;
  transition: all .18s;
}
.history-item:hover { border-color: var(--primary); }
.history-icon {
  width: 40px; height: 40px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.history-icon.original { background: #e9f0ff; color: #6366f1; }
.history-icon.remix { background: #fff3e6; color: #e89b3a; }
.history-info { flex: 1; min-width: 0; }
.history-title {
  font-size: 13px; font-weight: 600; color: #333;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.history-meta { font-size: 11px; color: var(--muted); margin-top: 2px; }
.history-actions { display: flex; gap: 6px; flex-shrink: 0; }
.history-btn {
  padding: 6px 10px; border: 1px solid var(--border); background: #fff; border-radius: 6px;
  font-size: 12px; cursor: pointer; transition: all .15s;
}
.history-btn:hover { border-color: var(--primary); color: var(--primary); }
.history-btn.primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.history-btn.primary:hover { opacity: .9; }
.history-btn.danger { color: #e5484d; border-color: #f5c2c7; }
.history-btn.danger:hover { background: #fef0f0; }
.btn-clear-history {
  background: none; border: 1px solid var(--border); border-radius: 6px;
  padding: 4px 10px; font-size: 12px; color: var(--muted); cursor: pointer;
}
.btn-clear-history:hover { color: #e5484d; border-color: #e5484d; }

@media (max-width: 900px) {
  .history-item {
    flex-direction: column; align-items: stretch; gap: 10px;
    padding: 12px;
  }
  .history-info { display: flex; gap: 10px; align-items: flex-start; }
  .history-icon { width: 36px; height: 36px; font-size: 16px; }
  .history-title { font-size: 14px; }
  .history-actions {
    display: flex; gap: 8px; flex-shrink: 0;
    border-top: 1px solid var(--border); padding-top: 10px;
  }
  .history-btn {
    flex: 1; padding: 8px 6px; font-size: 13px;
    min-width: 0; text-align: center;
  }
}

/* ===== VIP 会员中心 ===== */
.ud-vip {
  padding: 8px 14px;
  background: linear-gradient(135deg, rgba(246,197,110,.14), rgba(91,141,239,.10));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 6px 0;
}
.ud-vip-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: #f1f1f4;
  color: #666;
}
.ud-vip-badge.tier-super  { background: linear-gradient(135deg,#f6c56e,#d89627); color: #fff; }
.ud-vip-badge.tier-year   { background: #5b8def; color: #fff; }
.ud-vip-badge.tier-month  { background: #7c78ef; color: #fff; }
.ud-vip-badge.tier-single { background: #22c55e; color: #fff; }
.ud-vip-badge.tier-none   { background: #f1f1f4; color: #666; }
.ud-vip-benefit {
  margin-top: 4px; font-size: 11px; line-height: 1.5;
}

/* VIP 中心 */
.vip-center {
  padding: 4px 2px;
}
.vip-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff6e0 0%, #eef3ff 100%);
  border: 1px solid #f0e1b6;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.vip-sum-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  background: #f1f1f4;
  color: #666;
  margin-bottom: 6px;
}
.vip-sum-badge.tier-super  { background: linear-gradient(135deg,#f6c56e,#d89627); color: #fff; }
.vip-sum-badge.tier-year   { background: #5b8def; color: #fff; }
.vip-sum-badge.tier-month  { background: #7c78ef; color: #fff; }
.vip-sum-badge.tier-single { background: #22c55e; color: #fff; }
.vip-sum-text { font-size: 12px; }
.vip-sum-right-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 22px;
}
.vip-sum-right-grid > div { display: flex; flex-direction: column; align-items: flex-start; }
.vip-sum-right-grid .num {
  font-size: 22px; font-weight: 800; color: #b07d0f; line-height: 1;
}
.vip-sum-right-grid .lbl { font-size: 11px; color: var(--muted); margin-top: 4px; }

.vip-plan-title {
  font-size: 14px;
  margin: 8px 2px 12px;
  color: #333;
}

.vip-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.vip-plan-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  padding: 18px 16px 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all .2s;
}
.vip-plan-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(40,50,120,.10); }
.vip-plan-card.featured {
  border: 2px solid #e9b34f;
  background: linear-gradient(180deg, #fffae8 0%, #fff 55%);
}
.vip-plan-ribbon {
  position: absolute;
  top: 10px; right: -30px;
  background: #e94f4f; color: #fff;
  font-size: 11px;
  padding: 2px 36px;
  transform: rotate(35deg);
  font-weight: 700;
}
.vip-plan-name {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}
.vip-plan-price {
  font-size: 30px;
  font-weight: 800;
  color: #e4572e;
  margin-bottom: 14px;
  line-height: 1;
}
.vip-currency { font-size: 16px; vertical-align: 10px; margin-right: 2px; font-weight: 700; }
.vip-sub { font-size: 12px; color: var(--muted); font-weight: 500; margin-left: 4px; }

.vip-plan-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  font-size: 12px;
  color: #555;
  line-height: 2;
  flex: 1;
}
.vip-plan-btn {
  width: 100%;
  padding: 10px 0;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #ffb347, #ff7e1a);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all .15s;
}
.vip-plan-btn:hover { filter: brightness(1.05); }
.vip-plan-card.featured .vip-plan-btn {
  background: linear-gradient(135deg, #ff6b6b, #e4572e);
}
.vip-plan-card.tier-year .vip-plan-btn { background: linear-gradient(135deg,#5b8def,#4070d8); }
.vip-plan-card.tier-month .vip-plan-btn { background: linear-gradient(135deg,#7c78ef,#5c55d6); }
.vip-plan-card.tier-single .vip-plan-btn { background: linear-gradient(135deg,#22c55e,#16a34a); }

.vip-contact-tip {
  background: #fffdf0;
  border: 1px dashed #e0c97a;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  color: #765a0f;
  line-height: 1.6;
}
.vip-contact-text {
  margin-top: 6px;
  font-weight: 600;
}

@media (max-width: 600px) {
  .vip-sum-right-grid { grid-template-columns: repeat(2, 1fr); }
  .vip-plan-price { font-size: 26px; }
}
