/* ================= 学校非机动车不戴头盔抓拍曝光大屏 ================= */

/* ---------- 曝光台 ---------- */
.expose-grid {
  height: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));   /* 2 行铺满面板，避免出现被裁切的第三行 */
  gap: 10px;
  overflow: hidden;
}

.expose-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(255, 159, 46, .13), rgba(6, 22, 48, .80));
  border: 1px solid rgba(255, 159, 46, .30);
  border-radius: 4px;
  overflow: hidden;
  animation: exposeIn .5s cubic-bezier(.2, .8, .3, 1) both;
}
@keyframes exposeIn {
  from { opacity: 0; transform: translateY(-14px) scale(.96); }
  to   { opacity: 1; transform: none; }
}
.expose-card.is-done { border-color: rgba(0, 214, 143, .45); }

.expose-shot {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  background:
    radial-gradient(60% 70% at 50% 28%, rgba(255, 159, 46, .14), transparent 70%),
    linear-gradient(180deg, #0a2340, #061a33);
}
.expose-shot .shot-inner {
  position: absolute;
  left: 50%; bottom: 0;
  width: 124px; height: 116px;
  margin-left: -62px;
}
.expose-shot .shot-inner svg { position: absolute; left: 0; bottom: 0; }
.expose-shot::after {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.032) 0 1px, transparent 1px 3px);
  pointer-events: none;
}
/* 未佩戴头盔告警框 */
.head-warn {
  /* 与 SVG 中骑行人头部圆心 (77,38)/viewBox 130x122 精确对齐 */
  position: absolute;
  left: 56px; top: 19px;
  width: 34px; height: 34px;
  border: 1.5px dashed var(--red);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(255, 77, 94, .6);
  animation: flash 1.4s infinite;
}
.head-warn::after {
  content: "未佩戴头盔";
  position: absolute;
  left: 50%; top: -17px;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 10px;
  color: var(--red);
  letter-spacing: 0;
}
.expose-tag {
  position: absolute;
  right: 6px; top: 6px;
  padding: 0 6px;
  font-size: 11px;
  line-height: 17px;
  border-radius: 3px;
  background: rgba(255, 77, 94, .2);
  color: var(--red);
  border: 1px solid rgba(255, 77, 94, .6);
}
.expose-tag.done { background: rgba(0, 214, 143, .18); color: var(--green); border-color: rgba(0, 214, 143, .5); }
.expose-tag.check { background: rgba(0, 229, 255, .16); color: var(--cyan); border-color: rgba(0, 229, 255, .5); }
.expose-no {
  position: absolute;
  left: 6px; top: 6px;
  font-size: 11px;
  font-family: Consolas, monospace;
  color: var(--text-mute);
}
.expose-meta {
  flex: 0 0 auto;
  padding: 6px 8px 7px;
  font-size: 12px;
  line-height: 1.6;
  background: rgba(3, 12, 27, .78);
}
.expose-meta .row1 { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.expose-meta .place { color: #ffffff; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.expose-meta .time { flex: 0 0 auto; font-family: Consolas, monospace; color: var(--cyan); font-size: 11px; }
.expose-meta .row2 { display: flex; align-items: center; justify-content: space-between; color: var(--text-mute); font-size: 11px; }
.expose-meta .plate { font-family: Consolas, monospace; }