/* quiz2.css — 新版测试页 + 结果页样式(沿用主页色板与字体) */

.q2-sound-toggle {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: rgba(255,246,229,0.85);
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  color: #8B857D;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: background 0.2s, transform 0.15s;
}
.q2-sound-toggle:active { transform: scale(0.92); }

@font-face {
  font-family: "Noto Serif SC";
  src: url("assets/fonts/NotoSerifSC-Black-subset.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Serif SC";
  src: url("assets/fonts/NotoSerifSC-Regular-subset.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Serif";
  src: url("assets/fonts/NotoSerif-Regular-Latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #FFF6E5;
  --text: #2D2D2D;
  --text-soft: #6E6E6E;
  --primary: #FF6B5B;
  --secondary: #74B9FF;
  --border: #2D2D2D;
  --card-bg: #FFFDF8;
  /* 结果页 2.0 色板 (v14.3) */
  --sand: #F7EFDC;     /* 基底 */
  --paper: #FDF8EC;    /* 卡面 */
  --soft: #EFE7D4;     /* 内块(锚点区底) */
  --ink: #2E2A24;      /* 墨 */
  --sub: #8A7D68;      /* 次文字 */
  --line: 2.5px solid var(--ink);
  --r: 24px;
  --hero: 146px;       /* 立绘尺寸 */
  --sh: 7px;           /* 硬投影偏移 */
  --theme: #A99BC9;    /* 主题色兜底(运行时由 JS 按本命人格色覆盖, 取自 result-copy.json personaColors) */
  --band: #A99BC9;     /* 门牌色带兜底(同主题色) */
  --b1: #4E6E9B;       /* 信仰卡主色 */
  --b2: #4E6E9B;       /* 信仰卡副色 */
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

body {
  margin: 0;
  font-family: -apple-system, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

.q2-page {
  width: min(420px, 100vw);
  margin: 0 auto;
  padding: 24px 16px 32px;
  min-height: 100vh;
}

.q2-screen { display: none; }
.q2-screen.active { display: block; animation: q2-fade 0.3s ease; }
@keyframes q2-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.q2-brand { text-align: center; padding: 24px 0 32px; }
.q2-brand-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text);
}
.q2-brand-sub {
  font-size: 14px;
  color: var(--text-soft);
  margin-top: 6px;
}

.q2-card {
  background: var(--card-bg);
  border: 2.5px solid var(--border);
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 4px 0 var(--border);
  margin-bottom: 16px;
}

.q2-card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.q2-card-title.q2-start-big {
  font-size: 24px;
  line-height: 1.4;
  margin-bottom: 20px;
  text-align: center;
}

.q2-card-desc {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 16px;
  line-height: 1.6;
}

.q2-btn-primary {
  width: 100%;
  padding: 14px 20px;
  background: var(--primary);
  color: #fff;
  border: 2.5px solid var(--border);
  border-radius: 16px;
  font-size: 16.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 3px 0 var(--border);
  transition: transform 0.1s, box-shadow 0.1s;
}
.q2-btn-primary:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--border); }
.q2-btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

.q2-btn-secondary {
  width: 100%;
  padding: 12px 20px;
  background: #fff;
  color: var(--text);
  border: 2.5px solid var(--border);
  border-radius: 16px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 0 var(--border);
}
.q2-btn-secondary:active { transform: translateY(1px); box-shadow: 0 1px 0 var(--border); }

/* 出题页 */
.q2-progress {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.q2-progress-bar {
  flex: 1;
  height: 6px;
  background: #EEE;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}
.q2-progress-bar::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: var(--pct, 0%);
  background: var(--primary);
  border-radius: 3px;
  transition: width 0.3s ease;
}
.q2-progress-text {
  font-size: 13px;
  color: var(--text-soft);
  font-weight: 600;
}

.q2-quiz-card { min-height: 360px; display: flex; flex-direction: column; }
.q2-q-stem {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.7;
  margin-bottom: 16px;
  color: var(--text);
}
.q2-q-type {
  display: inline-block;
  font-size: 12px;
  padding: 2px 8px;
  background: #FFE9D2;
  color: #B85B00;
  border-radius: 8px;
  font-weight: 600;
  margin-bottom: 12px;
}
.q2-q-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.q2-option {
  padding: 14px 16px;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  transition: all 0.15s;
}
.q2-option:hover { background: #FFF6E5; }
.q2-option.selected {
  background: var(--primary);
  color: #fff;
  border-color: var(--border);
  box-shadow: 0 2px 0 var(--border);
}
.q2-option.selected .q2-option-label { color: #fff; }
.q2-option-label {
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
}

.q2-multi-hint {
  font-size: 12px;
  color: var(--text-soft);
  margin-top: 12px;
  text-align: right;
}

.q2-footer {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.q2-footer .q2-btn-primary,
.q2-footer .q2-btn-secondary { flex: 1; }

/* ===== 结果页 2.0 (按 v14.3 还原) ===== */

/* 页头标题 */
.q2-rptTtl {
  font-family: "Noto Serif SC","Source Han Serif SC","Songti SC","SimSun",serif;
  font-weight: 900; font-size: 25px; letter-spacing: .22em;
  margin: 30px 0 0 22px;
}

/* 五区眉头 — 短横线 + 章间留白(上疏下密 5:1) */
.q2-secTtl {
  display: flex; align-items: center; gap: 9px;
  margin-bottom: 20px;
  padding: 96px 20px 0 2px;
}
/* 第一段(HOW)紧跟大标题,留白缩减 */
.q2-secTtl--first {
  padding-top: 40px;
}
.q2-secTtl .q2-dash {
  width: 22px; height: 2.5px; background: var(--sub); flex: 0 0 auto;
}
.q2-secTtl b {
  font-family: "Noto Serif",Georgia,serif; font-size: 12.5px; letter-spacing: .26em;
  color: var(--sub); font-weight: 400;
}
.q2-secTtl i {
  font-style: normal; font-size: 13.5px; color: var(--sub); letter-spacing: .04em;
}

/* 大卡通用 (奶油底/墨边2.5px/圆角24px/硬投影7px主题色) */
.q2-card {
  position: relative; background: var(--paper);
  border: var(--line); border-radius: var(--r);
  padding: 18px; margin: 0 16px;
  box-shadow: var(--sh) var(--sh) 0 var(--theme);
}
.q2-how { padding: 17px 17px 20px; }

/* 门牌左色带 (14px宽/墨边2.5px/圆角8px/贴大卡左外沿left:-9px) */
.q2-band {
  position: absolute; left: -9px; top: 16px;
  width: 14px; height: var(--bandH, 74px);
  background: var(--band); border: 2.5px solid var(--ink);
  border-radius: 8px; z-index: 1;
}

/* 印章 (正圆红色 #C4453A / 旋转-8° / 直径68px / 白字 / 与分享卡同色同风格) */
.q2-stamp {
  position: absolute; right: -8px; top: -18px;
  width: 68px; height: 68px;
  border-radius: 50%;
  background: #C4453A; border: none;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; z-index: 6;
  box-shadow: 0 3px 10px rgba(196,69,58,0.35);
  transform: rotate(-8deg);
  padding: 0;
}

/* HOW 卡右上角分享图标 (生成 4:5 分享卡入口)
   左移为放大后的印章让位, 两者不重叠 */
.q2-how-share-btn {
  position: absolute; right: 60px; top: 14px;
  height: 32px;
  display: flex; align-items: center; justify-content: center; gap: 4px;
  background: transparent;
  border: none;
  color: var(--theme);
  opacity: 0.5;
  z-index: 7;
  cursor: pointer;
  padding: 0 6px;
  transition: transform 0.12s ease, opacity 0.12s ease;
  font-family: 'Noto Serif SC', serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.q2-how-share-btn span {
  color: inherit;
  line-height: 1;
}
.q2-how-share-btn:active { transform: scale(0.94); opacity: 0.7; }
.q2-how-share-btn[disabled] { opacity: 0.3; pointer-events: none; }
/* 按钮隐藏后点击区域同步失效 (防御性: 防止 display:none/visibility:hidden 残留点击) */
.q2-how-share-btn[style*="display: none"],
.q2-how-share-btn[style*="display:none"],
.q2-how-share-btn[hidden] { pointer-events: none !important; }
.q2-stamp b {
  display: block; font-family: "Noto Serif",Georgia,serif;
  font-size: 18px; letter-spacing: .02em; line-height: 1;
  color: #FFFFFF; font-weight: 700;
}
.q2-stamp span {
  display: block; margin-top: 2px;
  font-size: 7px; letter-spacing: .08em;
  color: #FFFFFF; white-space: nowrap;
  opacity: 0.9;
}

/* 门牌文字 */
.q2-plate { padding-left: 4px; }
.q2-plate .q2-fam {
  font-family: "Noto Serif SC","Source Han Serif SC","Songti SC","SimSun",serif;
  font-weight: 900; font-size: 17px; letter-spacing: .16em;
}
.q2-plate .q2-motto {
  margin-top: 7px; font-size: 13px; line-height: 1.65; color: #5F5748;
}

/* 门牌与身份行虚线分隔 (2.5px dashed #CFC3A8) */
.q2-hr {
  margin: 15px -3px 0;
  border-top: 2.5px dashed #CFC3A8;
}

/* 身份行 */
.q2-idrow {
  margin-top: 17px;
  display: flex; align-items: center; gap: 16px;
}
.q2-heroImg {
  width: var(--hero); height: var(--hero);
  border: var(--line); border-radius: 22px; overflow: hidden;
  background: var(--sand);
  box-shadow: var(--sh) var(--sh) 0 var(--theme);
  flex: 0 0 auto;
}
.q2-heroImg img { width: 100%; height: 100%; object-fit: cover; }
.q2-who { min-width: 0; flex: 1; }

/* 人格名 (字号按字数自适应, JS 设置) */
.q2-pname {
  font-family: "Noto Serif SC","Source Han Serif SC","Songti SC","SimSun",serif;
  font-weight: 900; letter-spacing: .03em;
  line-height: 1.14; font-size: 34px;
}
.q2-pname .x {
  display: block; font-family: "Noto Serif",Georgia,serif;
  font-weight: 400; font-size: 13px;
  color: var(--sub); margin: 3px 0;
}
.q2-pslogan {
  margin-top: 10px; font-size: 13px; line-height: 1.6;
  color: #6B6255; font-style: italic;
}
.q2-pid {
  margin-top: 6px;
  font-family: "SF Mono", "Menlo", "Monaco", "Consolas", monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--sub);
  text-transform: uppercase;
}

/* 徽章圆片 (38px圆/刺绣自带缝线边/硬投影3px徽章色/只放图不带文字) */
.q2-pins { display: flex; gap: 8px; margin-top: 13px; }
.q2-pins .q2-pin {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; overflow: hidden;
  box-shadow: 3px 3px 0 var(--bc);
}
.q2-pins .q2-pin img { width: 100%; height: 100%; object-fit: cover; }

/* 总结条 (整行横跨, 身份行下方) */
.q2-psum {
  margin-top: 15px; font-size: 12.5px; line-height: 1.82; color: #6B6255;
}

/* 混血 slogan 整行居中 (移出中间栏, 身份行下方) */
.q2-sloganFull {
  margin-top: 14px; text-align: center;
  font-size: 13px; line-height: 1.6; color: #6B6255;
  font-style: italic; display: none;
}

/* 混血态三栏对称 */
.q2-idrow.dual { gap: 10px; justify-content: center; }
.q2-idrow.dual .q2-hero-wrap {
  width: calc(var(--hero) * .70); height: calc(var(--hero) * .70);
}
.q2-idrow.dual .q2-heroImg {
  width: 100%; height: 100%;
}
.q2-idrow.dual .q2-who { text-align: center; }
.q2-idrow.dual .q2-pname {
  line-height: 1.28; word-break: keep-all;
}
.q2-idrow.dual .q2-pins {
  justify-content: center; margin-top: 9px; gap: 6px;
}
.q2-idrow.dual .q2-pins .q2-pin {
  width: 30px; height: 30px; font-size: 15px;
}
.q2-idrow.dual ~ .q2-sloganFull { display: block; }

/* 混血态挂角徽章 */
.q2-heroImg { position: relative; }
.q2-hero-wrap {
  position: relative;
  flex: 0 0 auto;
}
.q2-corner-wrap {
  position: absolute;
  z-index: 10;
  pointer-events: none;
}
.q2-corner-wrap.q2-cw-right {
  right: -16px;
  bottom: -14px;
}
.q2-corner-wrap.q2-cw-left {
  left: -16px;
  bottom: -14px;
}
.q2-corner-badge {
  position: relative;
  width: 40px;
}
.q2-cb-ribbon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 22px;
  z-index: 1;
}
.q2-cb-face {
  position: relative;
  z-index: 2;
  width: 30px;
  height: 30px;
  margin: 0 auto;
  margin-top: 16px;
  border-radius: 50%;
  background: var(--sand);
  box-shadow: 2px 2px 0 var(--bc);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 16px;
}

/* 三轴光谱条 */
.q2-axes {
  margin-top: 19px;
  display: flex; flex-direction: column; gap: 13px;
}
.q2-ax { display: flex; align-items: center; gap: 10px; }
.q2-ax .q2-end {
  font-family: "Noto Serif SC","Source Han Serif SC","Songti SC","SimSun",serif; font-weight: 900;
  font-size: 16px; width: 17px; text-align: center; color: #C3B69C;
}
.q2-ax .q2-end.hit { color: var(--ink); }
.q2-ax .q2-bar {
  flex: 1; height: 8px; background: #EAE0CB;
  border: 2px solid var(--ink); border-radius: 99px; position: relative;
}
.q2-ax .q2-dot {
  position: absolute; top: 50%; width: 16px; height: 16px; border-radius: 50%;
  background: var(--theme); border: 2.5px solid var(--ink);
  transform: translate(-50%,-50%); transition: left .32s ease-out;
}
/* 百分比列宽70px + nowrap */
.q2-ax .q2-pct {
  width: 70px; text-align: right; font-size: 11px;
  color: var(--sub); white-space: nowrap; flex: 0 0 auto;
}

/* 心理学锚点 (米黄底#EFE7D4/圆角18px/无描边) */
.q2-anchor {
  margin-top: 20px; padding: 15px;
  border-radius: 18px; background: var(--soft);
}
.q2-anchor b, .q2-whisper b {
  display: block; font-size: 10.5px; letter-spacing: .2em;
  color: var(--sub); margin-bottom: 8px; font-weight: 400;
}
.q2-anchor .q2-t { font-size: 13.5px; line-height: 1.85; }
.q2-anchor .q2-t em {
  font-style: normal; font-family: "Noto Serif SC","Source Han Serif SC","Songti SC","SimSun",serif; font-weight: 900;
}

/* 没人对你说过的话 (虚线框2.5px dashed #CFC3A8/圆角18px/无底色) */
.q2-whisper {
  margin-top: 13px; padding: 15px;
  border: 2.5px dashed #CFC3A8; border-radius: 18px;
}
.q2-whisper p {
  font-size: 14px; line-height: 1.85; font-weight: 400;
  font-family: "Noto Serif SC","Source Han Serif SC","Songti SC","SimSun",serif;
}

/* WHAT 徽章陈列 */
.q2-badges {
  padding: 6px 8px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.q2-bdg-row {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
}
.q2-badge { display: none; }
.q2-bdg {
  flex: 0 1 152px;
  text-align: center;
}
.q2-badges.single .q2-bdg { flex: 0 1 262px; }
.q2-bdg-medal {
  position: relative;
  height: 104px;
  display: flex;
  justify-content: center;
}
.q2-badges.single .q2-bdg-medal { height: 118px; }
.q2-bdg-medal svg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
.q2-bdg-face {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  box-shadow: 3px 3px 0 var(--bc);
  overflow: hidden;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
}
.q2-bdg-face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.q2-bdg-name {
  margin-top: 11px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .04em;
  font-family: "Noto Serif SC","Source Han Serif SC","Songti SC","SimSun",serif;
}
.q2-badges.single .q2-bdg-name { font-size: 18px; }
.q2-bdg-desc {
  margin-top: 7px;
  font-size: 11.5px;
  color: #6B6255;
  line-height: 1.7;
}
.q2-badges.single .q2-bdg-desc { font-size: 12.5px; }
.q2-bdg-shelf {
  width: calc(100% - 16px);
  margin-top: 18px;
  border-top: 2.5px dashed #CFC3A8;
}

/* WHY 信仰卡 (硬投影7px主题色) */
.q2-belief {
  margin: 0 16px; border: var(--line); border-radius: var(--r);
  overflow: hidden; display: flex; color: #FBF7EE;
  background: linear-gradient(150deg, var(--b1) 0%, var(--b1) 42%, var(--b2) 100%);
  box-shadow: var(--sh) var(--sh) 0 var(--theme);
}
.q2-belief .q2-glyphs {
  flex: 0 0 92px; border-right: 2.5px solid rgba(251,247,238,.35);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 22px 0;
}
.q2-belief .q2-g {
  writing-mode: vertical-rl; font-family: "Noto Serif SC","Source Han Serif SC","Songti SC","SimSun",serif;
  font-weight: 900; font-size: 44px; line-height: 1; letter-spacing: .1em;
}
.q2-belief .q2-slash {
  width: 42px; height: 2px; background: rgba(251,247,238,.55); transform: rotate(-18deg); margin: 2px 0;
}
.q2-belief .q2-gp {
  font-size: 10.5px; letter-spacing: .08em; opacity: .82; writing-mode: horizontal-tb;
}
.q2-belief .q2-btxt {
  padding: 22px 18px 20px; min-width: 0; flex: 1;
  display: flex; flex-direction: column; justify-content: center;
}
.q2-belief .q2-hook {
  font-family: "Noto Serif SC","Source Han Serif SC","Songti SC","SimSun",serif; font-weight: 900; font-size: 16.5px; line-height: 1.65;
}
.q2-belief .q2-body { margin-top: 11px; font-size: 13px; line-height: 1.85; opacity: .94; }

/* WHOM 搭子预警 */
.q2-alert { padding: 15px 18px; }
.q2-alertTitle {
  font-family: "Noto Serif SC","Source Han Serif SC","Songti SC","SimSun",serif; font-weight: 900; font-size: 14px; letter-spacing: .06em;
}
.q2-alert p { font-size: 13.5px; line-height: 1.7; margin-top: 6px; }

/* WHOM 双按钮组 */
.q2-btn-group {
  display: flex !important;
  flex-direction: row !important;
  gap: 12px;
  margin: 0 18px 16px;
}
.q2-btn-group > .q2-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin: 0;
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  height: 50px;
  font-size: 15.5px;
  letter-spacing: .04em;
}
.q2-btn-group .q2-btn-secondary {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--theme);
}
.q2-btn-group .q2-btn-secondary:active {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 var(--theme);
}

/* 按钮 (硬投影5px, 按下3px+translate) */
.q2-btn {
  display: block; margin: 0 18px 16px; padding: 14px;
  height: 54px;
  border: var(--line); border-radius: 18px;
  background: var(--ink); color: var(--sand);
  text-align: center; font-size: 16.5px; letter-spacing: .06em; font-weight: 700;
  cursor: pointer;
  box-shadow: 5px 5px 0 var(--theme);
  transition: transform .12s, box-shadow .12s;
}
.q2-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--theme);
}
.q2-btn.q2-ghost { background: var(--paper); color: var(--ink); margin: 0 16px; }

/* 底部链接区 */
.q2-bottom-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 0 0 12px;
  flex-wrap: wrap;
}
.q2-foot-link {
  padding: 10px 0;
  color: var(--sub);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s;
}
.q2-foot-link:active { color: var(--ink); }
button.q2-foot-link {
  background: none;
  border: none;
  padding: 10px 0;
  font-family: inherit;
}
button.q2-foot-link:active { color: var(--ink); }
.q2-foot-dot {
  color: var(--sub);
  opacity: 0.4;
  font-size: 13px;
  line-height: 1;
}

/* WHERE */
.q2-needline { margin: 0 20px 12px; font-size: 12.5px; line-height: 1.8; color: #6b6255; font-style: italic; }
.q2-foot { text-align: center; padding: 20px; font-size: 11px; color: var(--sub); letter-spacing: .08em; }

.q2-loading {
  text-align: center;
  padding: 80px 20px;
  font-size: 18px;
  color: var(--text-soft);
}
.q2-loading-err {
  text-align: center;
  padding: 60px 24px;
}
.q2-err-msg {
  font-size: 16px;
  color: var(--text-main);
  margin: 0 0 24px;
}

/* 组队邀请横幅 (结果页顶部) — 风格参考 status-tip */
/* 受邀便当盒卡片 */
.q2-invite-bento {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 16px;
  background: linear-gradient(135deg, #FFF8EE 0%, #FBF0E4 100%);
  border: 1.5px solid #E8D0BC;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(200,139,111,0.08);
}
.q2-invite-emoji {
  font-size: 32px;
  flex-shrink: 0;
}
.q2-invite-body { flex: 1; }
.q2-invite-text {
  font-size: 16px;
  font-weight: 700;
  color: #5A5040;
  line-height: 1.4;
}
.q2-invite-sub {
  font-size: 12px;
  color: #A89B84;
  margin-top: 4px;
  letter-spacing: 0.04em;
}

/* 旧 banner 样式保留兼容 */
.q2-team-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: #f7f7f5;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 16px;
}
.q2-team-banner-text {
  font-size: 13px;
  color: #888;
  flex: 1;
  line-height: 1.4;
}
.q2-team-banner-btn {
  flex-shrink: 0;
  padding: 6px 14px;
  font-size: 13px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  color: #555;
  cursor: pointer;
  white-space: nowrap;
}
.q2-team-banner-btn:active {
  background: #f0f0ee;
}
.q2-team-banner-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
