/* A-Card 页面样式（2026-11-03，纸白页面上的深空卡）
   只放卡片本体与卡片相关区块；容器复用 feed.css 的 .af-main。 */

.ac-wrap { display: grid; gap: 18px; }
.ac-stage { display: grid; place-items: center; padding: 26px 0 8px; perspective: 1400px; }

.ac-card {
  position: relative; width: min(520px, 100%); aspect-ratio: 1.586 / 1;
  border-radius: 18px; overflow: hidden; cursor: pointer;
  background:
    radial-gradient(120% 140% at 12% 0%, rgba(167,139,250,.30) 0%, rgba(167,139,250,0) 46%),
    radial-gradient(90% 120% at 100% 100%, rgba(103,213,208,.14) 0%, rgba(103,213,208,0) 52%),
    linear-gradient(150deg, #171325 0%, #0E1018 58%, #0A0C12 100%);
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 18px 44px rgba(16,15,12,.18), 0 0 0 1px rgba(255,255,255,.05) inset;
  transform-style: preserve-3d; transition: transform .24s cubic-bezier(.22,.61,.36,1);
}
.ac-card[data-flipped="true"] { transform: rotateY(180deg); }
.ac-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.ac-face { position: absolute; inset: 0; padding: 22px; display: flex; flex-direction: column; backface-visibility: hidden; }
.ac-face--back { transform: rotateY(180deg); }
.ac-top { display: flex; align-items: center; gap: 10px; }
.ac-logo { width: 20px; height: 20px; flex: 0 0 20px; border-radius: 6px; background: linear-gradient(140deg, #EDE3D2 0%, #C9A87C 100%); }
.ac-brand { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: rgba(245,246,250,.72); }
.ac-level {
  margin-left: auto; font-size: 11px; color: #E7D3B4;
  border: 1px solid rgba(226,205,176,.45); border-radius: 999px; padding: 2px 10px;
}
.ac-mid { margin-top: auto; display: flex; align-items: flex-end; gap: 14px; }
.ac-av {
  width: 56px; height: 56px; flex: 0 0 56px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,.10); color: #F5F6FA;
  font-size: 20px; font-weight: 600; overflow: hidden;
}
.ac-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ac-name { font-size: 24px; font-weight: 600; letter-spacing: -.01em; color: #F5F6FA; }
.ac-role { margin-top: 3px; font-size: 11.5px; color: rgba(245,246,250,.62); }
.ac-id { margin-top: 10px; font-family: ui-monospace, Consolas, monospace; font-size: 16px; letter-spacing: .18em; color: rgba(245,246,250,.92); }
.ac-foot {
  margin-top: auto; display: flex; align-items: center; gap: 14px;
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(245,246,250,.5);
}
.ac-foot .ac-theme { margin-left: auto; }
.ac-link {
  display: inline-block; margin-top: 6px; font-family: ui-monospace, Consolas, monospace;
  font-size: 12px; color: rgba(245,246,250,.82); word-break: break-all;
}
.ac-hint { font-size: 11px; color: rgba(245,246,250,.45); margin-top: 4px; }
.ac-stats { display: flex; gap: 22px; margin-top: 16px; }
.ac-stat-num { font-family: ui-monospace, Consolas, monospace; font-size: 20px; color: #F5F6FA; font-weight: 300; }
.ac-stat-label { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: rgba(245,246,250,.5); }

/* 卡下方信息 */
.ac-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ac-meta-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink2); }
.ac-meta-row b { color: var(--ink); font-weight: 600; }
.ac-copy { margin-left: auto; }

/* 卡面列表 */
.ac-themes { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.ac-theme {
  border: 1px solid var(--line); border-radius: 10px; padding: 12px;
  display: flex; flex-direction: column; gap: 4px; background: var(--bg);
}
.ac-theme.is-current { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset; }
.ac-theme-name { font-size: 13px; font-weight: 600; }
.ac-theme-desc { font-size: 11.5px; color: var(--ink3); }
.ac-theme-act { margin-top: 6px; }

/* 徽章 */
.ac-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.ac-badge { border: 1px solid var(--gold-line); background: var(--gold-soft); color: var(--gold); border-radius: 6px; padding: 3px 9px; font-size: 12px; }
.ac-empty { font-size: 12.5px; color: var(--ink3); }

@media (max-width: 560px) {
  .ac-face { padding: 16px; }
  .ac-name { font-size: 20px; }
  .ac-id { font-size: 14px; }
  .ac-av { width: 46px; height: 46px; flex-basis: 46px; font-size: 17px; }
  .ac-stage { padding-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .ac-card { transition: none; }
}

/* 卡片下方区块 */
.card-section { margin-top: 6px; padding: 18px 0 0; border-top: 1px solid var(--line); }
.section-title { margin: 0 0 12px; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.mono { font-family: ui-monospace, Consolas, monospace; letter-spacing: .06em; }

/* 成长 */
.ac-growth { display: flex; flex-direction: column; gap: 10px; }
.ac-growth-nums { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.ac-growth-nums b { font-size: 22px; font-weight: 300; font-family: ui-monospace, Consolas, monospace; letter-spacing: -.02em; }
.ac-growth-nums span { font-size: 12px; color: var(--ink3); }
.ac-meter { height: 6px; border-radius: 999px; background: var(--overlay, #F1F1EE); overflow: hidden; }
.ac-meter-fill { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--gold) 0%, #C08A4E 100%); transition: width .3s cubic-bezier(.22,.61,.36,1); }
.ac-growth-hint { margin-top: 2px; }

/* 成就 */
.ac-ach { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.ac-ach-item {
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px;
  display: flex; flex-direction: column; gap: 3px; background: var(--bg); opacity: .55;
}
.ac-ach-item.is-on { opacity: 1; border-color: var(--gold-line); background: var(--gold-soft); }
.ac-ach-item--badge { border-style: dashed; }
.ac-ach-name { font-size: 13px; font-weight: 600; color: var(--ink); }
.ac-ach-item.is-on .ac-ach-name { color: var(--gold); }
.ac-ach-desc { font-size: 11.5px; color: var(--ink3); line-height: 1.6; }

/* 交换与联系人 */
.ac-social { display: flex; flex-direction: column; gap: 8px; }
.ac-social-row {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--bg);
}
.ac-social-main { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.ac-social-main b { font-size: 13px; font-weight: 600; }
.ac-social-main span { font-size: 11.5px; color: var(--ink3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-social-acts { display: flex; gap: 8px; flex: 0 0 auto; }


/* 2026-11-03：A-Card 页的框体去边框，改柔和阴影 */
.ac-theme,
.ac-ach-item,
.ac-social-row,
.ac-meta-row {
  border: 0 !important;
  box-shadow: var(--shadow-soft-sm, 0 4px 14px rgba(16,15,12,.05));
  background: var(--bg);
}
.ac-ach-item.is-on { background: var(--gold-soft); }