/* Game SMS Admin — 1280×800 viewport */
:root {
  --sidebar-w: 200px;
  --brand: #2563eb;
  --brand-light: #eff6ff;
  --surface: #f5f6f8;
  --border: #e5e7eb;
  --text: #111827;
  --muted: #6b7280;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; }
body { font-family: ui-sans-serif, system-ui, "PingFang SC", "Microsoft YaHei", sans-serif; color: var(--text); background: var(--surface); }
.viewport { width: 1280px; height: 800px; overflow: hidden; display: flex; }
.sidebar { width: var(--sidebar-w); background: #fff; border-right: 1px solid var(--border); flex-shrink: 0; }
.sidebar .nav-active { background: var(--brand-light); color: var(--brand); font-weight: 500; }
.main { flex: 1; display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.main-scroll { flex: 1; overflow: auto; padding: 16px 20px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: 8px; }
.badge-pass { background: #dcfce7; color: #166534; }
.badge-fail { background: #fee2e2; color: #991b1b; }
.badge-pending { background: #fef9c3; color: #854d0e; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: #1d4ed8; }
.btn-log { background: var(--brand); color: #fff; border-radius: 9999px; padding: 4px 14px; font-size: 12px; }
.table-row:hover { background: #f9fafb; }
.filter-input { border: 1px solid var(--border); border-radius: 6px; padding: 8px 12px; font-size: 13px; width: 100%; }
.tag { display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 4px; background: #f3f4f6; color: #374151; margin: 2px 4px 2px 0; }
.tag-blue { background: #dbeafe; color: #1d4ed8; }
iframe.page-frame { width: 1280px; height: 800px; border: 1px solid var(--border); border-radius: 4px; background: #fff; }
.prototype-label { font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
/* 日志截图卡片 */
.log-thumb { border: 1px solid var(--border); border-radius: 6px; overflow: hidden; background: #fff; }
.log-thumb img, .log-thumb .mock-screen { width: 100%; height: 140px; object-fit: cover; display: block; }
.log-file-box { height: 140px; background: #f3f4f6; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--muted); font-size: 12px; }
.tab-active { color: var(--brand); border-bottom: 2px solid var(--brand); }
/* 验证指引截图 mock（图一风格） */
.mock-verify { font-size: 10px; line-height: 1.4; padding: 8px; background: #fff; text-align: left; height: 140px; overflow: hidden; }
.mock-verify .bar { background: #f0f0f0; padding: 6px 8px; color: #666; margin: -8px -8px 6px; }
.mock-verify table { width: 100%; border-collapse: collapse; margin-top: 6px; }
.mock-verify td { border: 1px solid #e5e5e5; padding: 4px 6px; }
.template-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.type-verify { background: #ede9fe; color: #5b21b6; font-size: 11px; padding: 2px 8px; border-radius: 4px; }
.type-sms { background: #e0f2fe; color: #0369a1; font-size: 11px; padding: 2px 8px; border-radius: 4px; }
.log-txt-row { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.log-img-row { width: 100%; }
