/* 潮生 · 随身版（/lab/passport/）：设备外壳 + 240×320 屏 + 三个键 */

.lab.passport { max-width: 1180px; }

.passport-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 34px;
  align-items: start;
  margin-top: 26px;
}

/* ---------- 机身 ---------- */
.dev-wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; }

.dev-body {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 16px 20px 20px;
  border-radius: 26px;
  background:
    linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,.02) 42%, rgba(0,0,0,.35)),
    rgba(16, 22, 32, .92);
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: 0 30px 70px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.12);
}

.dev-power {
  position: absolute;
  left: -5px;
  top: 46px;
  width: 5px;
  height: 30px;
  border-radius: 3px;
  background: rgba(255,255,255,.16);
}

/* 屏：240×320 真像素，放大 2.4 倍 */
.dev-screen-shell {
  width: calc(240px * 2.4);
  height: calc(320px * 2.4);
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.10);
}

.dev-screen {
  position: relative;
  width: 240px;
  height: 320px;
  transform: scale(2.4);
  transform-origin: top left;
  background: #06080f;
}

#dev { display: block; width: 240px; height: 320px; image-rendering: pixelated; }

.dev-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(118deg, rgba(255,255,255,.09) 0%, rgba(255,255,255,.02) 26%, rgba(255,255,255,0) 48%);
}

/* ---------- 右侧三个键 ---------- */
.dev-keys { display: flex; flex-direction: column; gap: 10px; }

.dev-key {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.04));
  color: #cfe4f6;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  transition: transform .08s ease, background .12s ease;
}
.dev-key:hover { background: linear-gradient(180deg, rgba(255,255,255,.24), rgba(255,255,255,.07)); }
.dev-key.is-down { transform: scale(.93); background: rgba(255,214,150,.30); color: #2a1c08; }

.dev-caption { margin: 0; font-size: 12px; color: #6d8ba3; letter-spacing: .02em; }

/* ---------- 右栏 ---------- */
.dev-panel { display: flex; flex-direction: column; gap: 22px; }
.panel-block h2 {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #6d8ba3;
}
.panel-now { font-size: 13px; color: #cfe4f6; }
.now-name { font-size: 15px; margin-bottom: 8px; color: #ffe0b0; }
.now-row { display: flex; justify-content: space-between; padding: 3px 0; color: #9db8cc; }
.now-row b { color: #dbeaf7; font-weight: 500; }

.panel-keys { margin: 0; padding-left: 16px; font-size: 12.5px; line-height: 1.9; color: #9db8cc; }
.panel-keys b { color: #dbeaf7; font-weight: 600; }

.panel-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.panel-btns .lab-btn { font-size: 12px; }

.panel-hw dl { margin: 0; display: grid; grid-template-columns: 52px 1fr; gap: 6px 10px; font-size: 12px; }
.panel-hw dt { color: #6d8ba3; }
.panel-hw dd { margin: 0; color: #a9c2d4; }

/* ---------- 对比表 ---------- */
.note-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.note-table th, .note-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid rgba(255,255,255,.08); }
.note-table th { color: #6d8ba3; font-weight: 500; font-size: 12px; letter-spacing: .06em; }
.note-table td:first-child { color: #8fb4cc; width: 88px; }
.note-table td { color: #b9cfdf; }

@media (max-width: 900px) {
  .passport-stage { grid-template-columns: minmax(0, 1fr); }
  .dev-screen-shell { width: calc(240px * 1.9); height: calc(320px * 1.9); }
  .dev-screen { transform: scale(1.9); }
  .dev-keys { flex-direction: row; }
  .dev-body { flex-wrap: wrap; justify-content: center; }
}
