범인찾기 C3: 사이트 🔍 범인찾기 탭 · 결과 화면 · 경기 화면 버튼

- 경기 목록(분석 가능 · 분석 완료 · 준비 중 · 기록 부족 + 이유), 분석에 쓰는 기록 · 참가자(음성 표시) · 예상 비용 · 남은 예산 · 오늘 남은 횟수
- 진행 단계(기록 모으기 → AI가 읽는 중 → 근거 확인 → 완료) 실시간 표시, 실패 이유 표시
- 결과: 한 줄 요약 · 확신도, 팀별 범인 카드(이유 + 근거: 대화 ▶ 듣기 · 킬/라운드 → 타임라인 · 스탯 → 스코어보드), 10명 평점 · 태그 · 한 줄 평, 휴대폰 한 줄 배치
- 다시 분석은 관리자에게만 버튼, 예전 앱이면 "앱을 업데이트해 주세요"
- app/scripts/culprit-shots.mts: 실제 앱 코어 + 사이트 서버 + 헤드리스 브라우저로 화면 확인 (CSP 위반 · 오류 없음)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
EJClaw
2026-10-15 14:35:12 +09:00
parent dc67f2105b
commit 1cf7d7ebce
8 changed files with 975 additions and 2 deletions

View File

@@ -3227,3 +3227,198 @@ button.match:hover {
.dict-table .badge.src-user { background: rgba(200, 170, 110, 0.15); color: #c8aa6e; }
.dict-table .link { background: none; border: 0; color: #8696a6; cursor: pointer; font-size: 12px; }
.dict-table .link:hover { color: #ff4655; }
/* ── 🔍 범인찾기 ───────────────────────────────────── */
.chip.new { position: relative; }
.chip.new::after {
content: 'NEW';
position: absolute;
top: -7px;
right: -8px;
font-size: 9px;
font-weight: 800;
background: var(--gold);
color: #1b1f27;
border-radius: 5px;
padding: 0 4px;
line-height: 14px;
}
.culprit .panel h4 .cu-st { font-size: 11px; }
.cu-split { display: grid; grid-template-columns: minmax(300px, 400px) 1fr; gap: 14px; align-items: start; }
.cu-list { display: flex; flex-direction: column; gap: 6px; max-height: calc(100vh - 190px); overflow: auto; }
.cu-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.cu-row {
display: grid;
grid-template-columns: 38px 1fr auto auto;
gap: 10px;
align-items: center;
text-align: left;
padding: 10px 12px;
border-radius: 10px;
background: var(--panel2);
border: 1px solid var(--line);
border-left: 3px solid #5a6b7b;
color: var(--ink);
}
.cu-row.valorant { border-left-color: var(--accent); }
.cu-row.lol { border-left-color: var(--lol); }
.cu-row:hover { border-color: #35506a; }
.cu-row.on { box-shadow: 0 0 0 2px var(--accent) inset; }
.cu-row.st-blocked, .cu-row.st-pending { opacity: 0.6; }
.cu-row-main { display: flex; flex-direction: column; min-width: 0; }
.cu-row-main b { font-size: 14px; }
.cu-row-main small { color: var(--muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gtag { font-size: 10.5px; font-weight: 800; border-radius: 5px; padding: 2px 5px; text-align: center; }
.gtag.valorant { background: #3a141a; color: #ff8a94; }
.gtag.lol { background: #2a2414; color: var(--lol); }
.cu-score { font-family: var(--font-mono); font-weight: 800; font-size: 15px; }
.cu-score.win { color: var(--mint); }
.cu-score.loss { color: #c8d0d8; }
.cu-st { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 6px; white-space: nowrap; }
.cu-st.ready { background: #0f2a22; color: #7fe0b8; border: 1px solid #1d5141; }
.cu-st.done { background: #2a2410; color: var(--gold); border: 1px solid #5a4a1d; }
.cu-st.blocked { background: #2a1418; color: #ff8a94; border: 1px solid #5a2029; }
.cu-st.pending, .cu-st.running { background: #182634; color: #9fb0c0; border: 1px solid var(--line); }
.cu-st.running { color: #7fe9e1; }
.cu-hero {
display: flex;
align-items: center;
gap: 18px;
background: linear-gradient(100deg, #13222f, #1a1420);
border: 1px solid var(--line);
border-radius: 14px;
padding: 14px 20px;
}
.cu-hero.lol { background: linear-gradient(100deg, #10202a, #1c1a12); }
.cu-map { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: #16293a; flex: none; }
.cu-kicker { font-size: 11px; color: var(--accent); font-weight: 800; letter-spacing: 2px; }
.cu-hero.lol .cu-kicker { color: var(--lol); }
.cu-title { font-size: 26px; font-weight: 800; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cu-title .mono { color: #c8d0d8; }
.cu-res { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 6px; }
.cu-res.win { background: #0f2a22; color: #7fe0b8; }
.cu-res.loss { background: #2a1418; color: #ff8a94; }
.cu-when { margin-left: auto; font-size: 12px; color: var(--muted); text-align: right; line-height: 1.7; flex: none; }
.cu-sum { flex: 1; font-size: 15px; line-height: 1.6; padding-left: 18px; border-left: 1px solid var(--line); min-width: 0; }
.cu-sum small { display: block; color: var(--muted); font-size: 12px; }
.cu-conf { margin-top: 6px; font-size: 12px; color: var(--gold); }
.cu-conf.low { color: #ff9aa3; }
.cu-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cu-check { display: flex; align-items: center; gap: 10px; padding: 7px 2px; border-bottom: 1px solid #1c2b39; font-size: 13.5px; }
.cu-check i { font-style: normal; color: var(--good); font-weight: 800; width: 14px; }
.cu-check.no i { color: var(--accent); }
.cu-check small { margin-left: auto; color: var(--muted); font-size: 12px; }
.cu-note { margin-top: 8px; }
.cu-reason { margin-top: 8px; color: #ff9aa3; font-size: 13px; }
.cu-pl { display: flex; align-items: center; gap: 8px; padding: 5px 2px; font-size: 13.5px; }
.cu-pl .dim { margin-left: auto; }
.cu-voice { font-size: 10.5px; font-weight: 700; color: #7fe0b8; background: #0f2a22; border: 1px solid #1d5141; border-radius: 5px; padding: 0 5px; }
.cu-go { display: flex; align-items: center; gap: 22px; }
.cu-btn {
padding: 14px 26px;
border-radius: 10px;
font-size: 16px;
font-weight: 800;
color: #fff;
background: linear-gradient(180deg, #ff5a68, #e23a4a);
border: none;
box-shadow: 0 6px 24px rgba(255, 70, 85, 0.35);
flex: none;
}
.cu-btn:hover:not(:disabled) { filter: brightness(1.08); }
.cu-btn:disabled { background: #3a4654; box-shadow: none; color: #9fb0c0; cursor: not-allowed; }
.cu-go-info { flex: 1; display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; min-width: 0; }
.cu-why { color: #ff9aa3; font-size: 12.5px; }
.cu-go-note { text-align: right; line-height: 1.5; flex: none; }
.cu-steps { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: 13px; color: var(--dim); }
.cu-steps .did { color: var(--good); }
.cu-steps .now { color: #fff; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.cu-steps em { font-style: normal; color: #ff9aa3; flex-basis: 100%; }
.cu-spin { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #35506a; border-top-color: var(--mint); animation: cu-spin 0.9s linear infinite; display: inline-block; }
@keyframes cu-spin { to { transform: rotate(360deg); } }
.cu-recent-row { display: grid; grid-template-columns: 38px auto 1fr; gap: 10px; align-items: center; padding: 7px 4px; border-bottom: 1px solid #1c2b39; font-size: 13px; }
.cu-recent-row:hover { background: var(--panel2); }
.cu-recent-who { text-align: right; display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; color: var(--muted); }
.cu-recent-who b { color: #ff8a94; }
.culprit.result { display: flex; flex-direction: column; gap: 14px; }
.cu-crumbs { padding: 0; }
.link { background: none; border: none; color: var(--muted); font: inherit; cursor: pointer; padding: 0; }
.link:hover { color: #fff; }
.btn.mini { padding: 4px 10px; font-size: 12px; margin-top: 4px; }
.cu-culprits { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cu-card {
border-radius: 14px;
padding: 16px 18px;
background: linear-gradient(160deg, #2a1219, #141e29 55%);
border: 1px solid #6a2430;
position: relative;
overflow: hidden;
min-width: 0;
}
.cu-card::before { content: ''; position: absolute; right: -30px; top: -30px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(rgba(255, 70, 85, 0.25), transparent 70%); pointer-events: none; }
.cu-lab { font-size: 12px; letter-spacing: 2px; color: var(--accent); font-weight: 800; }
.cu-who { display: flex; align-items: center; gap: 14px; margin: 8px 0 10px; }
.cu-face { border-radius: 12px; border: 2px solid var(--accent); }
.cu-nm { font-size: 24px; font-weight: 800; }
.cu-nm small { font-size: 13.5px; color: var(--muted); font-weight: 500; margin-left: 6px; }
.cu-stamp { margin-left: auto; transform: rotate(-8deg); border: 3px solid var(--accent); color: var(--accent); font-weight: 900; font-size: 20px; padding: 4px 12px; border-radius: 8px; letter-spacing: 3px; flex: none; }
.cu-why-text { font-size: 14.5px; line-height: 1.65; margin-bottom: 10px; }
.cu-ev { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 8px; background: rgba(11, 20, 28, 0.55); margin-bottom: 5px; font-size: 13.5px; }
.cu-ev .t { color: var(--mint); font-size: 12px; width: 70px; flex: none; }
.cu-ev .ty { font-size: 11px; padding: 1px 6px; border-radius: 5px; flex: none; }
.cu-ev .ty.v { background: #1d2f45; color: #8cc4ff; }
.cu-ev .ty.k { background: #3a141a; color: #ff8a94; }
.cu-ev .ty.s { background: #2a2410; color: var(--gold); }
.cu-ev .ty.c { background: #1b2e2a; color: #7fe0b8; }
.cu-ev-body { min-width: 0; flex: 1; }
.cu-ev .pl { margin-left: auto; color: var(--muted); font-size: 12px; flex: none; background: none; border: none; cursor: pointer; }
.cu-ev .pl:hover { color: #fff; }
.cu-mini-ev { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.cu-evchip { display: inline-flex; gap: 6px; align-items: baseline; max-width: 100%; text-align: left; font-size: 11.5px; color: #9fb0c0; background: rgba(11, 20, 28, 0.55); border: 1px solid #1c2b39; border-radius: 6px; padding: 2px 7px; cursor: pointer; }
.cu-evchip:hover:not(:disabled) { color: #fff; border-color: #35506a; }
.cu-evchip .mono { color: var(--mint); flex: none; }
.cu-chan { font-size: 10.5px; color: #9fb0c0; background: #182634; border: 1px solid var(--line); border-radius: 5px; padding: 0 5px; }
.cu-teams { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cu-prow { display: grid; grid-template-columns: 34px 140px 92px 1fr; gap: 10px; align-items: start; padding: 10px 6px; border-bottom: 1px solid #1c2b39; }
.cu-prow > .ag { margin-top: 2px; }
.cu-prow:last-child { border-bottom: none; }
.cu-prow.bad { background: rgba(255, 70, 85, 0.08); border-radius: 8px; }
.cu-pn b { font-size: 14.5px; display: block; }
.cu-pn span { font-size: 12px; color: var(--muted); }
.cu-kda { font-size: 12px; color: var(--muted); line-height: 1.5; }
.cu-kda b { color: var(--ink); font-size: 13px; }
.cu-sc { display: flex; align-items: center; gap: 8px; margin-bottom: 3px; }
.cu-sc .num { font-weight: 800; font-size: 14px; width: 30px; }
.cu-sc .bar { width: 110px; height: 7px; border-radius: 4px; background: #22303e; overflow: hidden; }
.cu-sc .bar i { display: block; height: 100%; border-radius: 4px; background: var(--mint); }
.cu-prow.bad .cu-sc .bar i { background: var(--accent); }
.cu-tag { font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 6px; }
.cu-tag.carry { background: #2a2410; color: var(--gold); border: 1px solid #5a4a1d; }
.cu-tag.mvp { background: #0f2a22; color: #7fe0b8; border: 1px solid #1d5141; }
.cu-tag.plain { background: #182634; color: #9fb0c0; border: 1px solid var(--line); }
.cu-tag.meh { background: #22202a; color: #c3b3e0; border: 1px solid #3a3450; }
.cu-tag.bad { background: #2a1418; color: #ff8a94; border: 1px solid #5a2029; }
.cu-cm { font-size: 13px; line-height: 1.5; color: #c9d3dc; }
.cu-foot { font-size: 12px; color: var(--dim); display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between; }
@media (max-width: 1200px) {
.cu-split { grid-template-columns: 1fr; }
.cu-list { max-height: 360px; }
}
@media (max-width: 980px) {
.cu-two, .cu-culprits, .cu-teams { grid-template-columns: 1fr; }
.cu-hero { flex-wrap: wrap; }
.cu-sum { flex-basis: 100%; border-left: none; padding-left: 0; order: 3; }
.cu-when { margin-left: 0; text-align: left; }
}
@media (max-width: 720px) {
.cu-go { flex-direction: column; align-items: stretch; }
.cu-go-note { text-align: left; }
.cu-prow { grid-template-columns: 30px 1fr; }
.cu-prow .cu-kda { display: none; }
.cu-prow > div:last-child { grid-column: 1 / -1; }
.cu-nm { font-size: 20px; }
.cu-stamp { font-size: 15px; padding: 3px 8px; }
.cu-ev .t { width: auto; }
.cu-row { grid-template-columns: 34px 1fr auto; }
.cu-row .cu-st { grid-column: 2 / -1; justify-self: start; }
}