
/* ============================================================
   鉴定所专属：对图台 + 印章 + 成绩
   ============================================================ */

.at-stage{ max-width:1060px; }

/* ---------- 轮次条 ---------- */
.at-bar{
  display:flex; align-items:center; gap:1rem; flex-wrap:wrap;
  margin-bottom:clamp(18px,2.4vw,28px);
  font-family:var(--mono); font-size:var(--fs-sm);
}
.at-round{ font-weight:700; letter-spacing:0; }
.at-score{ color:var(--text-2); }
.at-bar .at-fill{
  flex:1 1 140px; height:10px; min-width:90px;
  background:var(--paper); border:var(--bw) solid var(--ink); border-radius:var(--r-pill);
  overflow:hidden;
}
.at-fill i{
  display:block; height:100%; width:0;
  background:var(--ink); transition:width .25s var(--ease);
}

/* ---------- 对图 ---------- */
.at-duel{
  display:grid; grid-template-columns:1fr 1fr; gap:clamp(14px,2.4vw,26px);
}
.acard{
  position:relative; padding:0; overflow:hidden;
  background:var(--paper); border:var(--bw) solid var(--ink);
  border-radius:var(--r-lg); box-shadow:var(--sd-3);
  cursor:pointer; text-align:center;
}
.acard:focus-visible{ outline:3px solid var(--pink-d); outline-offset:3px; }
.acard[disabled]{ cursor:default; }
.aframe{
  display:flex; align-items:center; justify-content:center;
  height:clamp(200px,30vw,380px); overflow:hidden;
}
.aframe img{
  max-height:100%; max-width:100%; width:auto; height:auto; object-fit:contain;
}
.acard figcaption{
  padding:.55rem .8rem .7rem; border-top:var(--bw) solid var(--ink);
  font-family:var(--mono); font-size:var(--fs-sm); font-weight:700;
}
/* 答后：选中的那张描边加粗 */
.acard.pick{ box-shadow:var(--sd-3), 0 0 0 3px var(--ink); }
/* 印章：真迹红章 / 赝品墨章，盖在画面右下 */
.stamp{
  position:absolute; right:10px; bottom:46px;
  font-family:var(--serif-display), serif; font-weight:700;
  font-size:var(--fs-xl); line-height:1;
  padding:.32em .38em; transform:rotate(-8deg);
  border:3px solid currentColor; border-radius:6px;
  background:rgba(255,252,245,.88);
}
.stamp.t{ color:#B3261E; }
.stamp.f{ color:var(--ink); opacity:.85; }

/* ---------- 反馈条 ---------- */
.at-verdict{
  margin-top:clamp(18px,2.4vw,28px);
  padding:clamp(16px,2.2vw,24px);
  background:var(--paper); border:var(--bw) solid var(--ink);
  border-radius:var(--r-lg); box-shadow:var(--sd-2);
}
.at-verdict[hidden]{ display:none; }
.at-verdict .v-head{ font-family:var(--serif-display); font-size:var(--fs-lg); }
.at-verdict .v-head b{ color:#B3261E; }
.at-verdict p{ margin:.5em 0 0; color:var(--text-2); font-size:var(--fs-sm); line-height:1.85; }
.at-verdict .btn{ margin-top:1rem; }

/* ---------- 成绩 ---------- */
.at-final{ text-align:center; }
.at-final[hidden]{ display:none; }
.at-final .big{
  font-family:var(--serif-display); font-size:var(--fs-2xl); line-height:1.2;
}
.at-final .big b{ color:#B3261E; }
.at-final p{ margin:.8em auto 0; max-width:26em; color:var(--text-2); line-height:1.9; }
.at-final .btn{ margin-top:1.4rem; }

/* 规则一句话 */
.at-rule{ margin:.9em 0 0; color:var(--text-2); font-size:var(--fs-sm); }

@media (max-width:640px){
  .at-duel{ grid-template-columns:1fr; }
  .aframe{ height:min(56vw,340px); }
  .stamp{ bottom:auto; top:10px; }
}
