/* cherish-lab (patch-lab-card.py, 2026-10-27) — 「내 포켓몬 › 시험장」 하위탭.
   cherish-skin.css 의 토큰(--cw-*)과 .cw-cta 뼈대를 그대로 쓰고 색만 바꾼다 — 랭크 CTA 의 붉은 결과 구별되는
   **청록**이 「정식 매칭이 아니다」를 말한다 (사용자: 실험실 느낌을 확 주자). skin 은 patch-skin.py 가 통째로 다시 쓰므로 여기 따로 둔다. */
.cw-lab { padding: 14px 14px 12px; }
.cw-lab-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.cw-lab-tag {
	display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px;
	background: linear-gradient(135deg, #0d9488, #0f766e); color: #fff; font-size: 8.5pt; font-weight: 800; letter-spacing: .02em;
	box-shadow: 0 3px 10px -5px rgba(13, 148, 136, .7);
}
.cw-lab-head b { font: 400 12.5pt/1.2 'Cafe24Dongdong', 'Pretendard', sans-serif; color: var(--cw-ink, #3b2a3e); }
.cw-lab-tester { font-size: 8pt; color: var(--cw-ink-2, #8a6a8c); border: 1px dashed currentColor; border-radius: 999px; padding: 2px 8px; }
.cw-lab-refresh { margin-left: auto; padding: 3px 9px; font-size: 9pt; }
.cw-lab-rule { margin: 0 0 10px; font-size: 9.5pt; line-height: 1.55; color: var(--cw-ink-2, #6f5a72); word-break: keep-all; }
.cw-lab-rule b { color: #0f766e; }
.cw-lab-roster { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.cw-lab-roster li {
	display: flex; align-items: center; gap: 6px; min-width: 0; padding: 8px 10px; border-radius: 12px;
	background: rgba(13, 148, 136, .08); border: 1px solid rgba(13, 148, 136, .25); font-size: 9.5pt; color: var(--cw-ink, #3b2a3e);
}
.cw-lab-roster li.is-over { background: rgba(190, 18, 60, .06); border-color: rgba(190, 18, 60, .3); }
.cw-lab-roster .cw-lab-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.cw-lab-roster small { flex: none; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; font-size: 8.5pt; color: var(--cw-ink-2, #6f5a72); }
.cw-lab-roster small em { font-style: normal; font-size: 7pt; opacity: .8; }
.cw-lab-roster li i { flex: none; font-size: 9px; color: #0f766e; }
.cw-lab-roster li.is-over i, .cw-lab-roster li.is-over small { color: #be123c; }
/* 연습 상대 세기 — 세그먼트 칩 셋 (2026-10-27). 대기 중·배틀 중에는 잠긴다(서버가 예약 시점에 읽는 값이라 중간에 바꿔도 이번 판엔 안 먹는다). */
.cw-lab-diff { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.cw-lab-diff-label { font-size: 9pt; font-weight: 700; color: var(--cw-ink-2, #6f5a72); margin-right: 2px; }
.cw-lab-diff-chip {
	padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(13, 148, 136, .35); background: #fff; color: #0f766e;
	font: inherit; font-size: 9pt; font-weight: 700; cursor: pointer; transition: background .14s ease, color .14s ease;
}
.cw-lab-diff-chip.on { background: linear-gradient(135deg, #14b8a6, #0f766e); color: #fff; border-color: transparent; }
.cw-lab-diff-chip:disabled { cursor: default; opacity: .6; }
.cw-lab-diff-sub { flex: 1 1 100%; font-size: 8.5pt; color: var(--cw-ink-2, #6f5a72); }
/* CTA — 뼈대는 .cw-cta(skin §10·§15), 색만 청록으로. 두 절이 뒤에서 덮으므로 .cw-lab 스코프로 특이도를 올린다 */
.cw-lab .cw-cta.cw-cta-lab { background: linear-gradient(135deg, #14b8a6 0%, #0f766e 100%); box-shadow: 0 10px 26px -12px rgba(15, 118, 110, .75); }
.cw-lab .cw-cta.cw-cta-lab:hover:not(:disabled) { box-shadow: 0 14px 30px -12px rgba(15, 118, 110, .85); }
.cw-lab .cw-cta.cw-cta-lab.is-waiting { background: linear-gradient(135deg, #5eead4 0%, #99f6e4 100%); color: #134e4a; }
.cw-lab .cw-cta.cw-cta-lab.is-locked { background: linear-gradient(135deg, #94a3b8, #64748b); box-shadow: none; cursor: default; opacity: .9; }
.cw-lab .cw-cta.cw-cta-lab .cw-cta-wait-bar { background: rgba(15, 118, 110, .55); }
@media (max-width: 700px) {
	.cw-lab { padding: 12px 10px 10px; }
	.cw-lab-roster { gap: 5px; }
	.cw-lab-roster li { padding: 7px 8px; font-size: 9pt; }
}
