/* ==========================================================================
   Alpha Game Club · V3 Hub, md-wechat Dual-Pane Workbench & Landing Blog
   ========================================================================== */

body.alpha-modal-open {
  overflow: hidden !important;
}

/* ---------- 社区标签筛选栏 & 管理员标签配置 ---------- */
.alpha-tag-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.alpha-tag-bar-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.alpha-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  color: rgba(237, 230, 214, 0.68);
  background: rgba(237, 230, 214, 0.025);
  border: 1px solid rgba(237, 230, 214, 0.10);
  cursor: pointer;
  transition: all 0.16s ease;
}

.alpha-tag-pill:hover {
  color: #ffffff;
  border-color: #E61938;
  background: rgba(230, 25, 56, 0.20);
}

.alpha-tag-pill.is-active {
  color: #ffffff;
  background: #D41432;
  border-color: #FF2A4B;
  font-weight: 600;
}

.alpha-tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  display: inline-block;
  flex: none;
}

.alpha-tag-manage-btn {
  padding: 5px 11px;
  border-radius: 8px;
  font-size: 11.5px;
  font-family: var(--font-mono, monospace);
  color: #FF8599;
  background: rgba(212, 20, 50, 0.14);
  border: 1px solid rgba(212, 20, 50, 0.36);
  cursor: pointer;
  transition: all 0.15s ease;
}

.alpha-tag-manage-btn:hover {
  background: #E61938;
  border-color: #FF2A4B;
  color: #ffffff;
}
}

/* ---------- 发帖框增强（多选标签 + 置顶） ---------- */
.alpha-composer-extras {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px dashed rgba(255, 255, 255, 0.06);
}

.alpha-composer-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.alpha-composer-tag-label {
  font-size: 11px;
  color: #71717a;
}

.alpha-composer-tag-btn {
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 11.5px;
  color: #a1a1aa;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.alpha-composer-tag-btn.is-picked {
  color: #ffb3bf;
  background: rgba(212, 20, 50, 0.16);
  border-color: rgba(212, 20, 50, 0.45);
}

.alpha-composer-pin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #ff8599;
  cursor: pointer;
}

.alpha-composer-pin[hidden] {
  display: none !important;
}

/* ---------- 社区频道侧栏按钮 ---------- */
.alpha-channel-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 12.5px;
  color: #a1a1aa;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
}

.alpha-channel-btn:hover {
  color: #f4f4f5;
  background: rgba(255, 255, 255, 0.04);
}

.alpha-channel-btn.is-active {
  color: #f7f6f2;
  background: rgba(212, 20, 50, 0.1);
  border-color: rgba(212, 20, 50, 0.25);
}

.alpha-channel-count {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  opacity: 0.65;
}

/* ---------- 帖子卡片 & 详情弹窗 ---------- */
.alpha-post-card {
  padding: 26px 32px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(16, 16, 23, 0.88) 0%, rgba(10, 10, 15, 0.96) 100%);
  border: 1px solid rgba(237, 230, 214, 0.10);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.alpha-post-card:hover {
  border-color: rgba(212, 20, 50, 0.34);
  background: linear-gradient(180deg, rgba(20, 20, 28, 0.94) 0%, rgba(12, 12, 18, 0.98) 100%);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.alpha-post-card.is-pinned {
  border-color: rgba(212, 20, 50, 0.42);
  background: linear-gradient(180deg, rgba(212, 20, 50, 0.06) 0%, rgba(11, 11, 16, 0.95) 100%);
}

.alpha-post-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.alpha-post-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.alpha-post-avatar {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(212, 20, 50, 0.24), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(212, 20, 50, 0.3);
  color: #ffb3bf;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.alpha-post-author-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: #f4f4f5;
}

.alpha-post-time {
  font-size: 11px;
  color: #71717a;
}

.alpha-role-badge,
.alpha-pin-badge,
.alpha-feat-badge,
.alpha-draft-badge {
  display: inline-flex;
  align-items: center;
  padding: 1px 7px;
  border-radius: 5px;
  font-size: 10.5px;
  font-weight: 600;
}

.alpha-role-badge {
  color: #ff8599;
  background: rgba(212, 20, 50, 0.14);
  border: 1px solid rgba(212, 20, 50, 0.32);
}

.alpha-pin-badge {
  color: #ffffff;
  background: #D41432;
}

.alpha-feat-badge {
  color: #ffb3bf;
  background: linear-gradient(135deg, rgba(212, 20, 50, 0.18), rgba(140, 28, 44, 0.16));
  border: 1px solid rgba(212, 20, 50, 0.38);
}

.alpha-draft-badge {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.alpha-post-head-acts {
  display: flex;
  align-items: center;
  gap: 6px;
}

.alpha-mini-btn {
  padding: 4px 10px;
  border-radius: 7px;
  font-size: 11px;
  color: #d4d4d8;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.alpha-mini-btn:hover {
  color: #ffffff;
  border-color: rgba(212, 20, 50, 0.45);
}

.alpha-mini-btn--danger:hover {
  color: #fca5a5;
  border-color: rgba(248, 113, 113, 0.45);
  background: rgba(248, 113, 113, 0.12);
}

.alpha-post-title {
  margin: 0 0 6px;
  font-size: 15.5px;
  font-weight: 700;
  color: #f7f6f2;
}

.alpha-post-body {
  font-size: 14px;
  line-height: 1.75;
  color: #d4d4d8;
  white-space: pre-wrap;
  word-break: break-word;
}

.alpha-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.alpha-post-tag,
.alpha-tag-chip {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 6px;
  font-size: 11px;
  color: #a1a1aa;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.alpha-post-tag:hover {
  color: #ffb3bf;
  border-color: rgba(212, 20, 50, 0.35);
}

.alpha-post-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.alpha-foot-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 7px;
  font-size: 12px;
  color: #a1a1aa;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.alpha-foot-btn:hover,
.alpha-foot-btn.is-liked {
  color: #ff8599;
  border-color: rgba(212, 20, 50, 0.35);
  background: rgba(212, 20, 50, 0.08);
}

.alpha-empty-state,
.alpha-landing-empty {
  padding: 56px 24px;
  text-align: center;
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.015);
}

.alpha-empty-kicker {
  font-family: var(--font-mono, monospace);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: #D41432;
  margin-bottom: 10px;
}

.alpha-empty-state h3,
.alpha-landing-empty h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #f4f4f5;
}

.alpha-empty-state p,
.alpha-landing-empty p {
  margin: 0;
  font-size: 13px;
  color: #8e8d9c;
}

.alpha-empty-inline {
  padding: 18px 8px;
  text-align: center;
  font-size: 12.5px;
  color: #71717a;
}

/* ---------- 标签管理 & 帖子详情模态 ---------- */
.alpha-tag-modal,
.alpha-wb-overlay,
.alpha-reader-overlay {
  position: fixed;
  inset: 0;
  z-index: 99990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.alpha-tag-modal[hidden],
.alpha-wb-overlay[hidden],
.alpha-reader-overlay[hidden] {
  display: none !important;
}

.alpha-wb-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 5, 8, 0.82);
  backdrop-filter: blur(10px);
}

.alpha-tag-modal-card,
.alpha-post-detail-card {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: 86vh;
  overflow-y: auto;
  border-radius: 18px;
  background: #0d0e13;
  border: 1px solid rgba(212, 20, 50, 0.28);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.78);
  color: #f4f4f5;
}

.alpha-post-detail-card {
  width: min(720px, 100%);
}

.alpha-tag-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.alpha-tag-modal-head h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.alpha-tag-add-form {
  display: flex;
  gap: 8px;
  padding: 16px 20px 8px;
}

.alpha-tag-add-form input[type="text"] {
  flex: 1;
  min-width: 0;
  padding: 8px 12px;
  border-radius: 9px;
  background: #06070a;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f4f4f5;
  font-size: 13px;
}

.alpha-tag-manage-list {
  padding: 10px 20px 20px;
  display: grid;
  gap: 8px;
}

.alpha-tag-manage-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.alpha-tag-manage-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.alpha-pd-body {
  padding: 18px 22px 24px;
}

.alpha-pd-author {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.alpha-pd-title {
  margin: 4px 0 10px;
  font-size: 18px;
  font-weight: 700;
}

.alpha-pd-content {
  font-size: 14.5px;
  line-height: 1.85;
  color: #e4e4e7;
  white-space: pre-wrap;
}

.alpha-pd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.alpha-pd-edit-box textarea,
.alpha-pd-comment-form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  background: #07080b;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f4f4f5;
  font-size: 13.5px;
  margin-bottom: 10px;
  resize: vertical;
}

.alpha-pd-edit-acts {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 14px;
}

.alpha-pd-comments h4 {
  margin: 0 0 10px;
  font-size: 13px;
  color: #a1a1aa;
}

.alpha-pd-comments-list {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.alpha-pd-comment-row {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.alpha-pd-comment-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #a1a1aa;
  margin-bottom: 4px;
}

.alpha-pd-comment-head strong {
  color: #f4f4f5;
}

.alpha-pd-comment-head .alpha-mini-btn {
  margin-left: auto;
}

.alpha-pd-comment-row p {
  margin: 0;
  font-size: 13px;
  color: #d4d4d8;
  white-space: pre-wrap;
}

/* ---------- 通用按钮 & md-wechat 双栏文章工作台 ---------- */
.alpha-wb-btn {
  padding: 6px 13px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  color: #e4e4e7;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: all 0.15s ease;
}

.alpha-wb-btn:hover {
  background: #E61938;
  border-color: #FF2A4B;
  color: #ffffff;
}

.alpha-wb-btn:active {
  background: #B00E26;
  color: #ffffff;
}

.alpha-wb-btn--primary {
  color: #ffffff;
  background: #D41432;
  border-color: #D41432;
  font-weight: 700;
}

.alpha-wb-btn--primary:hover {
  background: #E61938;
  border-color: #FF2A4B;
  color: #ffffff;
}

.alpha-wb-btn--primary:active {
  background: #B00E26;
  border-color: #B00E26;
}

.alpha-wb-btn--danger {
  color: #fca5a5;
  border-color: rgba(248, 113, 113, 0.35);
  background: rgba(248, 113, 113, 0.08);
}

.alpha-wb-close {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #d4d4d8;
  font-size: 14px;
  cursor: pointer;
}

.alpha-wb-shell {
  position: relative;
  z-index: 1;
  width: min(1380px, 98vw);
  height: min(92vh, 940px);
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  background: #0b0c10;
  border: 1px solid rgba(212, 20, 50, 0.32);
  box-shadow: 0 36px 96px rgba(0, 0, 0, 0.85);
  color: #f4f4f5;
}

.alpha-wb-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 16px;
  background: #11131a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.alpha-wb-head-l,
.alpha-wb-head-c,
.alpha-wb-head-r {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.alpha-wb-logo {
  height: 17px;
  width: auto;
}

.alpha-wb-badge {
  padding: 2px 8px;
  border-radius: 5px;
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #D41432;
  background: rgba(212, 20, 50, 0.1);
  border: 1px solid rgba(212, 20, 50, 0.25);
}

.alpha-wb-stats {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  color: #8e8d9c;
}

.alpha-wb-seg {
  display: inline-flex;
  padding: 2px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.alpha-wb-seg-btn {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  color: #a1a1aa;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.alpha-wb-seg-btn.is-active {
  color: #ffffff;
  background: #D41432;
  font-weight: 600;
}

.alpha-wb-meta,
.alpha-wb-submeta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: #0e1016;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.alpha-wb-input,
.alpha-wb-select {
  padding: 7px 10px;
  border-radius: 8px;
  background: #07080b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f4f4f5;
  font-size: 12.5px;
}

.alpha-wb-input--title {
  flex: 1 1 280px;
  font-weight: 600;
  font-size: 14px;
}

.alpha-wb-submeta .alpha-wb-input {
  flex: 1 1 300px;
}

.alpha-wb-input--tags {
  flex: 0 1 260px !important;
}

.alpha-wb-accents {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 4px;
}

.alpha-wb-dot {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
}

.alpha-wb-dot.is-active {
  border-color: #ffffff;
  transform: scale(1.15);
}

.alpha-wb-pin-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #ff8599;
  cursor: pointer;
  padding: 4px 8px;
}

.alpha-wb-body {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.alpha-wb-body[data-mode="edit"] {
  grid-template-columns: 1fr;
}

.alpha-wb-body[data-mode="edit"] .alpha-wb-preview-pane {
  display: none;
}

.alpha-wb-body[data-mode="preview"] {
  grid-template-columns: 1fr;
}

.alpha-wb-body[data-mode="preview"] .alpha-wb-editor-pane {
  display: none;
}

.alpha-wb-editor-pane {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: #090a0e;
}

.alpha-wb-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: #0f1118;
}

.alpha-wb-toolbar button,
.alpha-wb-upload-btn {
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 11.5px;
  color: #d4d4d8;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  cursor: pointer;
}

.alpha-wb-toolbar button:hover,
.alpha-wb-upload-btn:hover {
  color: #ffffff;
  border-color: rgba(212, 20, 50, 0.45);
}

.alpha-wb-upload-btn {
  margin-left: auto;
  color: #ff8599;
  border-color: rgba(212, 20, 50, 0.35);
}

.alpha-wb-textarea {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  padding: 18px 20px;
  border: 0;
  outline: 0;
  resize: none;
  background: transparent;
  color: #f4f4f5;
  font-family: var(--font-mono, monospace);
  font-size: 13.5px;
  line-height: 1.78;
}

.alpha-wb-preview-pane {
  overflow-y: auto;
  padding: 20px;
  background: #14161e;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.alpha-wb-preview-stage {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.48);
  transition: max-width 0.2s ease;
}

.alpha-wb-preview-stage.is-mobile {
  max-width: 395px;
}

.alpha-wb-preview-stage.is-desktop {
  max-width: 780px;
}

.alpha-wb-device-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #a1a1aa;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ---------- 文章阅读模态 ---------- */
.alpha-reader-shell {
  position: relative;
  z-index: 1;
  width: min(860px, 96vw);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  background: #0b0c10;
  border: 1px solid rgba(212, 20, 50, 0.28);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.85);
  color: #f4f4f5;
}

.alpha-reader-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 18px;
  background: #101218;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.alpha-reader-head-l,
.alpha-reader-head-r {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.alpha-reader-cat {
  font-size: 11px;
  font-family: var(--font-mono, monospace);
  color: #ff8599;
}

.alpha-reader-time {
  font-size: 11px;
  color: #71717a;
}

.alpha-reader-scroll {
  overflow-y: auto;
  flex: 1 1 auto;
}

.alpha-reader-meta {
  padding: 24px 28px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.alpha-reader-title {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.35;
  color: #f7f6f2;
}

.alpha-reader-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: #8e8d9c;
}

.alpha-reader-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.alpha-reader-canvas {
  min-height: 220px;
}

/* ---------- 落地页「文章专栏 / Blog」Tab ---------- */
.alpha-l-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1040px;
  margin: 0 auto clamp(28px, 4vw, 44px);
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.alpha-l-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.alpha-l-cat {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  color: rgba(247, 246, 242, 0.65);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.alpha-l-cat.is-active {
  color: #ffffff;
  background: #D41432;
  border-color: #D41432;
  font-weight: 600;
}

.alpha-l-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.alpha-l-search {
  padding: 7px 12px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f7f6f2;
  font-size: 12.5px;
  width: 190px;
}

.alpha-l-grid {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3.5vw, 40px);
  max-width: 1040px;
  margin: 0 auto;
}

.alpha-l-art-card,
.alpha-article-row {
  padding: clamp(22px, 2.8vw, 30px);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(16, 17, 22, 0.84) 0%, rgba(11, 12, 16, 0.94) 100%);
  border: 1px solid rgba(237, 230, 214, 0.11);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.alpha-l-art-card:hover,
.alpha-article-row:hover {
  border-color: rgba(212, 20, 50, 0.42);
  transform: translateY(-1px);
}

.alpha-l-art-card.is-pinned,
.alpha-article-row.is-pinned {
  border-color: rgba(212, 20, 50, 0.5);
  background: linear-gradient(180deg, rgba(212, 20, 50, 0.06) 0%, rgba(16, 17, 22, 0.88) 100%);
}

/* 落地页一行一篇文章：左封面图 + 右结构化正文 */
.alpha-l-art-card.alpha-l-art-row {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: clamp(24px, 3.2vw, 38px);
  align-items: stretch;
  padding: clamp(22px, 2.8vw, 30px);
}

.alpha-l-art-cover {
  position: relative;
  display: block;
  width: 100%;
  align-self: center;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background: #09090d;
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.alpha-l-art-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.alpha-l-art-card.alpha-l-art-row:hover .alpha-l-art-cover img {
  transform: scale(1.04);
}

.alpha-l-art-cover .alpha-l-art-no,
.alpha-article-row__cover .alpha-l-art-no {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(8, 8, 11, 0.78);
  border: 1px solid rgba(212, 20, 50, 0.38);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: #D41432;
  font-weight: 700;
}

.alpha-l-art-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.alpha-l-art-head,
.alpha-l-art-top,
.alpha-article-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: rgba(247, 246, 242, 0.56);
}

.alpha-cat-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 4px;
  background: rgba(212, 20, 50, 0.12);
  border: 1px solid rgba(212, 20, 50, 0.32);
  color: #ff8599;
  font-size: 11px;
  font-weight: 600;
}

.alpha-l-art-no {
  font-family: var(--font-mono, monospace);
  color: #D41432;
  font-weight: 700;
}

.alpha-l-art-cat,
.alpha-article-cat {
  color: #ff8599;
  font-weight: 600;
}

.alpha-l-art-time {
  margin-left: auto;
}

.alpha-l-art-title {
  margin: 0;
  font-family: var(--font-display-zh, "Noto Serif SC", serif);
  font-size: clamp(20px, 2.1vw, 25px);
  line-height: 1.4;
  color: #f7f6f2;
  font-weight: 700;
}

.alpha-l-art-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease;
}

.alpha-l-art-row:hover .alpha-l-art-title a {
  color: #ffb3bf;
}

.alpha-l-art-sub {
  margin: 0;
  font-size: 13.5px;
  color: rgba(232, 207, 155, 0.82);
  line-height: 1.6;
}

.alpha-l-art-sum,
.alpha-l-art-summary,
.alpha-article-summary {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(247, 246, 242, 0.68);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.alpha-l-art-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.alpha-l-art-foot,
.alpha-article-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 12px;
  color: rgba(247, 246, 242, 0.48);
}

.alpha-l-art-acts {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alpha-l-art-cta {
  color: #ff8599;
  font-weight: 600;
  text-decoration: none;
  font-size: 12.5px;
  white-space: nowrap;
}

/* 社区专栏一行一篇文章 */
#articleList {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 34px);
}

#articleList > * {
  margin-top: 0 !important;
}

.alpha-article-row {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(22px, 2.8vw, 32px);
  align-items: stretch;
  padding: clamp(20px, 2.5vw, 28px);
}

.alpha-article-row__cover {
  position: relative;
  width: 100%;
  align-self: center;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  background: #09090d;
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.alpha-article-row__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.alpha-article-row:hover .alpha-article-row__cover img {
  transform: scale(1.04);
}

.alpha-article-row__main {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.alpha-article-title {
  margin: 0;
  font-family: var(--font-display-zh, "Noto Serif SC", serif);
  font-size: clamp(19px, 1.9vw, 23px);
  line-height: 1.4;
  color: #f7f6f2;
  font-weight: 700;
}

@media (max-width: 820px) {
  .alpha-wb-body {
    grid-template-columns: 1fr;
  }
  .alpha-wb-preview-pane {
    display: none;
  }
  .alpha-wb-body[data-mode="preview"] .alpha-wb-preview-pane {
    display: flex;
  }
}

/* ==========================================================================
   Old Money Community Masthead · Channels · Controls · Pager
   ========================================================================== */
.workspace-main-content main {
  max-width: 1180px !important;
  padding: clamp(36px, 4.5vw, 60px) clamp(28px, 4vw, 56px) !important;
}

#view-articles main {
  max-width: 1080px !important;
}

.ag-community-masthead {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(212, 20, 50, 0.22);
  background:
    radial-gradient(ellipse 70% 90% at 12% 0%, rgba(180, 22, 46, 0.10), transparent 62%),
    radial-gradient(ellipse 65% 85% at 88% 100%, rgba(212, 20, 50, 0.08), transparent 60%),
    linear-gradient(180deg, #0b0b10 0%, #07070a 100%);
  padding: clamp(32px, 4vw, 48px) clamp(32px, 4vw, 52px);
  margin-bottom: clamp(32px, 4vw, 48px);
  box-shadow: inset 0 1px 0 rgba(255, 179, 191, 0.08), 0 18px 42px rgba(0, 0, 0, 0.45);
}

#communityChannels {
  margin-bottom: 24px;
}

#ideasFeed {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

#ideasFeed > * {
  margin-top: 0 !important;
}

.ag-masthead-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-family: var(--ag-font-display, "Bodoni Moda", Georgia, serif);
  font-size: 10.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(212, 20, 50, 0.85);
  margin-bottom: 12px;
}

.ag-eyebrow-rule {
  width: 24px;
  height: 1px;
  background: rgba(212, 20, 50, 0.45);
  display: inline-block;
}

.ag-masthead-title-wrap {
  position: relative;
  display: inline-block;
  isolation: isolate;
  padding-top: 24px;
  padding-left: 16px;
}

.ag-script-ghost {
  position: absolute;
  z-index: 0;
  left: -2px;
  top: -4px;
  font-family: "Pinyon Script", cursive;
  font-size: clamp(44px, 4.6vw, 60px);
  line-height: 1;
  font-weight: 400;
  font-style: normal;
  color: #D41432;
  -webkit-text-fill-color: #D41432;
  background: none;
  filter: drop-shadow(1px 0 0 #D41432);
  opacity: 1;
  transform: skewX(-8.5deg) scaleY(1.2);
  transform-origin: 0 30%;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.ag-masthead-h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--ag-font-serif, "Noto Serif SC", Georgia, serif);
  font-size: clamp(20px, 2.3vw, 27px);
  font-weight: 600;
  letter-spacing: 0.015em;
  line-height: 1.3;
  color: #f7f6f2;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.72);
}

.ag-masthead-sub {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(237, 230, 214, 0.64);
  max-width: 580px;
}

.ag-stats-ledger {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid rgba(212, 20, 50, 0.16);
  background: rgba(5, 5, 7, 0.62);
}

.ag-stats-ledger [data-stat] {
  font-family: var(--ag-font-display, "Bodoni Moda", "Noto Serif SC", serif);
  font-size: 20px;
  font-weight: 600;
  color: #ffb3bf;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}

.ag-stats-label {
  font-family: var(--ag-font-mono, monospace);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(237, 230, 214, 0.45);
  margin-top: 3px;
}

.ag-stats-sep {
  width: 1px;
  height: 28px;
  background: rgba(212, 20, 50, 0.22);
}

.community-ch-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 6px;
  font-size: 12.5px;
  color: rgba(237, 230, 214, 0.66);
  background: rgba(237, 230, 214, 0.025);
  border: 1px solid rgba(237, 230, 214, 0.10);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.16s ease;
}

.community-ch-btn:hover {
  color: #f7f6f2;
  border-color: rgba(212, 20, 50, 0.32);
  background: rgba(212, 20, 50, 0.05);
}

.community-ch-btn.is-active {
  color: #08080a;
  background: #f3ede0;
  border-color: rgba(212, 20, 50, 0.65);
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.community-ch-count {
  font-family: var(--ag-font-mono, monospace);
  font-size: 10px;
  opacity: 0.65;
}

.community-ch-btn.is-vip-ch {
  border-color: rgba(212, 20, 50, 0.24);
}

.community-ch-vip-badge {
  display: inline-flex;
  align-items: center;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(212, 20, 50, 0.16);
  border: 1px solid rgba(212, 20, 50, 0.42);
  color: #ffb3bf;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.25;
}

.community-ch-btn.is-active .community-ch-vip-badge {
  background: #08080a;
  color: #ffb3bf;
  border-color: #08080a;
}

.alpha-vip-lock-card {
  padding: 40px 32px;
  border-radius: 14px;
  border: 1px solid rgba(212, 20, 50, 0.34);
  background:
    radial-gradient(ellipse 80% 90% at 50% 0%, rgba(212, 20, 50, 0.09), transparent 65%),
    linear-gradient(180deg, rgba(16, 16, 23, 0.94) 0%, rgba(10, 10, 15, 0.98) 100%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.alpha-vip-lock-kicker {
  font-family: var(--ag-font-mono, monospace);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: #D41432;
}

.alpha-vip-lock-title {
  margin: 0;
  font-family: var(--ag-font-serif, "Noto Serif SC", Georgia, serif);
  font-size: 20px;
  font-weight: 600;
  color: #f7f6f2;
}

.alpha-vip-lock-desc {
  margin: 0;
  max-width: 520px;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(237, 230, 214, 0.72);
}

.alpha-vip-lock-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

.ag-composer-panel {
  border-radius: 14px;
  border: 1px solid rgba(212, 20, 50, 0.16);
  background: linear-gradient(180deg, rgba(16, 16, 23, 0.85) 0%, rgba(10, 10, 15, 0.96) 100%);
  padding: 22px 26px;
  margin-bottom: 26px;
}

.ag-composer-select {
  background: #08080c;
  border: 1px solid rgba(237, 230, 214, 0.14);
  border-radius: 6px;
  color: #EDE6D6;
  padding: 6px 10px;
  font-size: 13px;
}

.ag-composer-select:focus {
  outline: none;
  border-color: rgba(212, 20, 50, 0.55);
}

.ag-bone-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 16px;
  border-radius: 6px;
  border: 1px solid rgba(212, 20, 50, 0.45);
  background: #f3ede0;
  color: #08080a;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: background-color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.ag-bone-cta:hover:not(:disabled) {
  background: #E61938;
  border-color: #FF2A4B;
  color: #ffffff;
}

.ag-bone-cta:active:not(:disabled) {
  background: #B00E26;
  border-color: #B00E26;
  color: #ffffff;
}

.ag-bone-cta:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.ag-sort-group {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 8px;
  background: #0a0a0f;
  border: 1px solid rgba(237, 230, 214, 0.10);
}

.ideas-tab-btn {
  padding: 6px 13px;
  border-radius: 6px;
  font-size: 12px;
  color: rgba(237, 230, 214, 0.62);
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: all 0.15s ease;
}

.ideas-tab-btn:hover {
  color: #ffffff;
  background: rgba(230, 25, 56, 0.22);
}

.ideas-tab-btn:active,
.ideas-tab-btn.is-active {
  color: #ffffff;
  background: #D41432;
  box-shadow: 0 2px 10px rgba(212, 20, 50, 0.35);
}

.ag-search-input {
  width: 204px;
  padding: 6px 12px;
  border-radius: 6px;
  background: #0a0a0f;
  border: 1px solid rgba(237, 230, 214, 0.12);
  color: #EDE6D6;
  font-size: 12px;
  transition: width 0.2s ease, border-color 0.15s ease;
}

.ag-search-input:focus {
  width: 256px;
  outline: none;
  border-color: #D41432;
}

.alpha-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-top: 8px;
}

.alpha-pager-btn {
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  color: #EDE6D6;
  background: rgba(237, 230, 214, 0.03);
  border: 1px solid rgba(212, 20, 50, 0.34);
  cursor: pointer;
  transition: all 0.15s ease;
}

.alpha-pager-btn:hover:not(:disabled) {
  border-color: #FF2A4B;
  color: #ffffff;
  background: #E61938;
}

.alpha-pager-btn:active:not(:disabled) {
  background: #B00E26;
  border-color: #B00E26;
}

.alpha-pager-btn:disabled {
  opacity: 0.34;
  cursor: not-allowed;
}

.alpha-pager-meta {
  font-family: var(--ag-font-mono, monospace);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(237, 230, 214, 0.55);
}

.article-cat-pill.active,
.ag-bone-active,
#frontEdEditorModal button.bg-white.text-black {
  background: #D41432 !important;
  color: #ffffff !important;
  border: 1px solid #FF2A4B !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 14px rgba(212, 20, 50, 0.30) !important;
}

@media (max-width: 760px) {
  .alpha-l-art-card.alpha-l-art-row,
  .alpha-article-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .workspace-main-content main {
    padding: 20px 16px !important;
  }
  .ag-community-masthead {
    padding: 22px 18px;
    margin-bottom: 24px;
  }
  .alpha-l-art-card.alpha-l-art-row,
  .alpha-article-row {
    padding: 18px 16px;
    gap: 16px;
  }
  .alpha-post-card {
    padding: 20px 18px;
  }
  #ideasFeed,
  #articleList {
    gap: 18px;
  }
  .ag-stats-ledger {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }
}

/* ==========================================================================
   Alpha Club 全站统一会员方案与算力充值弹窗 (#alphaMembershipModal)
   ========================================================================== */
#alphaMembershipModal {
  overflow-y: auto;
  align-items: flex-start;
  padding: clamp(16px, 3vh, 32px) 16px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
}

.alpha-mem-card {
  position: relative;
  width: 100%;
  max-width: 1040px;
  margin: auto;
  padding: 48px 48px 40px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0B0B0D;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.85);
  color: #EDE6D6;
}

#alphaMemCloseBtn {
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: rgba(237, 230, 214, 0.72);
}

#alphaMemCloseBtn:hover {
  background: #E61938;
  border-color: #E61938;
  color: #FFFFFF;
}

.alpha-mem-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-right: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.alpha-mem-title {
  margin: 0;
  font-family: "Bodoni Moda", "Noto Serif SC", Georgia, serif;
  font-size: clamp(24px, 2.8vw, 32px);
  line-height: 1.15;
  font-weight: 500;
  color: #EDE6D6;
  letter-spacing: -0.01em;
}

.alpha-mem-sub {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(237, 230, 214, 0.46);
}

.alpha-mem-viewer-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.alpha-mem-viewer {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  min-height: 40px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.alpha-mem-viewer:focus-visible {
  outline: 2px solid #FF2A4B;
  outline-offset: 3px;
  border-radius: 8px;
}

.alpha-mem-bal-label {
  font-size: 13px;
  line-height: 1;
  color: rgba(237, 230, 214, 0.46);
}

.alpha-mem-bal-num {
  font-family: "Bodoni Moda", serif;
  font-variant-numeric: lining-nums tabular-nums;
  font-size: 20px;
  line-height: 1;
  font-weight: 500;
  color: #EDE6D6;
}

.alpha-mem-priv-section {
  margin-top: 18px;
}

.alpha-mem-section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(237, 230, 214, 0.72);
  margin-bottom: 10px;
}

.alpha-mem-priv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.alpha-mem-priv-item {
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(237, 230, 214, 0.08);
}

.alpha-mem-priv-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: #FF8599;
  margin-bottom: 4px;
}

.alpha-mem-priv-member {
  font-size: 12px;
  line-height: 1.55;
  color: rgba(237, 230, 214, 0.82);
}

.alpha-mem-priv-guest {
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.45;
  color: rgba(237, 230, 214, 0.44);
}

.alpha-mem-tabs {
  display: inline-flex;
  gap: 4px;
  margin-top: 20px;
  padding: 4px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(237, 230, 214, 0.09);
}

.alpha-mem-tab {
  padding: 7px 16px;
  border-radius: 6px;
  border: 0;
  background: transparent;
  color: rgba(237, 230, 214, 0.62);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.alpha-mem-tab:hover {
  color: #ffffff;
  background: rgba(230, 25, 56, 0.24);
}

.alpha-mem-tab.is-active {
  background: #D41432;
  color: #ffffff;
  font-weight: 600;
}

.alpha-mem-packs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.alpha-mem-pack-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 18px 18px;
  border-radius: 12px;
  background: rgba(16, 16, 23, 0.88);
  border: 1px solid rgba(237, 230, 214, 0.12);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.alpha-mem-pack-card.is-recommended {
  border-color: rgba(212, 20, 50, 0.72);
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(212, 20, 50, 0.16), transparent 70%),
    rgba(16, 16, 23, 0.96);
  box-shadow: 0 12px 32px rgba(212, 20, 50, 0.18);
}

.alpha-mem-pack-card:hover {
  border-color: #E61938;
}

.alpha-mem-pack-badge {
  display: inline-block;
  width: fit-content;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #ffffff;
  background: #D41432;
  border: 1px solid #FF2A4B;
  margin-bottom: 8px;
}

.alpha-mem-pack-name {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #f7f6f2;
}

.alpha-mem-pack-price {
  margin-top: 8px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.alpha-mem-pack-cny {
  font-family: var(--ag-font-display, "Bodoni Moda", Georgia, serif);
  font-size: 28px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.1;
}

.alpha-mem-pack-period {
  font-size: 12px;
  color: rgba(237, 230, 214, 0.56);
}

.alpha-mem-pack-features {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.alpha-mem-pack-features li {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(237, 230, 214, 0.78);
  padding-left: 14px;
  position: relative;
}

.alpha-mem-pack-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #D41432;
}

.alpha-mem-pack-desc {
  margin: 10px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(237, 230, 214, 0.72);
}

.alpha-mem-pack-btn {
  width: 100%;
  min-height: 38px;
}

.alpha-mem-checkout {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(212, 20, 50, 0.10);
  border: 1px solid rgba(212, 20, 50, 0.42);
}

.alpha-mem-checkout[hidden] {
  display: none !important;
}

.alpha-mem-checkout-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.alpha-mem-checkout-title {
  font-size: 14px;
  font-weight: 600;
  color: #FF8599;
}

.alpha-mem-checkout-code {
  font-family: var(--ag-font-mono, monospace);
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(8, 8, 12, 0.75);
  border: 1px solid rgba(212, 20, 50, 0.36);
  color: #EDE6D6;
}

.alpha-mem-checkout-desc {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(237, 230, 214, 0.86);
}

.alpha-mem-checkout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

@media (max-width: 680px) {
  .alpha-mem-card {
    padding: 22px 16px 20px;
  }
  .alpha-mem-priv-grid {
    grid-template-columns: 1fr;
  }
}
