/* EKG 실습실 */
.ekl{display:flex;flex-direction:column;gap:16px;line-height:1.6}
.ekl .card{padding:16px 18px;background:var(--surface)}
.ekl h2{margin:0 0 8px;font-size:clamp(19px,3.4vw,24px)}.ekl h3{margin:16px 0 8px;font-size:16.5px}
.ekl-legend{margin:0 0 6px;font-size:14px}
.ekl-badge{display:inline-block;padding:3px 10px;border-radius:6px;font-size:12.5px;font-weight:800;border:1.5px solid var(--line);white-space:nowrap}
.ekl-badge.real{background:color-mix(in srgb,var(--ok) 18%,var(--surface));border-color:var(--ok)}
.ekl-badge.schem{background:color-mix(in srgb,var(--hot) 12%,var(--surface));border:1.5px dashed var(--hot)}
.ekl-head{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:10px}.ekl-head h2{margin:0}
.ekl-monwrap{border-radius:10px;overflow:hidden;background:#06130f}.ekl-monwrap canvas,.ekl-qmon canvas{display:block;width:100%}
.ekl-qmon{border-radius:10px;overflow:hidden;background:#06130f;margin:6px 0}
.ekl-ctl{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:10px 0 4px}.ekl-ctl .btn{padding:8px 14px}
.ekl-sp,.ekl-jump,.ekl-qbar label{font-size:14px;font-weight:700;display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}.ekl-jump{margin-bottom:6px}.ekl select{margin-left:6px;padding:7px 10px;border-radius:8px;border:1.5px solid var(--line);background:var(--surface);color:var(--ink);font:inherit;min-height:40px}
.ekl-nav{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:12px 0 8px;flex-wrap:wrap}
.ekl-nav .btn{min-width:112px;padding:12px 18px}.ekl-cur{flex:1;text-align:center;min-width:150px;font-size:15px}.ekl-cur b{font-size:19px}
.ekl-tbl{width:100%;border-collapse:collapse;font-size:14.5px;margin:6px 0}.ekl-tbl th,.ekl-tbl td{padding:8px 10px;border-bottom:1px solid var(--line);vertical-align:top;text-align:left}
.ekl-tbl th{width:30%;color:var(--mute);font-weight:700}.ekl-rt th{width:auto}
.ekl-det{border:1px solid var(--line);border-radius:10px;padding:8px 14px;margin:6px 0;background:var(--surface)}.ekl-det summary{cursor:pointer;font-weight:800;padding:4px 0}.ekl-det ul{margin:6px 0 4px;padding-left:20px}.ekl-det p{margin:6px 0}
.ekl-verify{margin-top:10px;padding:10px 14px;border-radius:10px;border:1.5px dashed var(--hot);background:color-mix(in srgb,var(--hot) 7%,var(--surface));font-size:14px}.ekl-verify ul{margin:6px 0 0;padding-left:20px}
.ekl-qbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:8px 0}
.ekl-q{margin-top:6px}.ekl-qstem{font-weight:800;font-size:16.5px;margin:8px 0}
.ekl-opts{display:flex;flex-direction:column;gap:8px;margin:10px 0}
.ekl-opt{margin:0;text-align:left;line-height:1.5;min-height:46px}
.ekl-opt.sel{border-color:var(--brand);background:var(--soft)}
.ekl-opt.right{border:2.5px solid var(--ok);background:color-mix(in srgb,var(--ok) 15%,var(--surface))}
.ekl-opt.wrong{border:2.5px dashed var(--hot);background:color-mix(in srgb,var(--hot) 12%,var(--surface))}
.ekl-opt:disabled{cursor:default;opacity:1}.ekl-mark{margin-right:2px}
.ekl .fb{margin-top:10px;padding:12px 14px;border-radius:10px;border-left:5px solid var(--ok);font-size:14.5px}.ekl .fb.no{border-left:5px dashed var(--hot)}
.ekl-cor,.ekl-key{margin-top:8px;padding:10px 14px;border-radius:10px;background:var(--soft);font-size:14.5px}
.ekl-act{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}.ekl-empty{padding:14px;background:var(--soft);border-radius:10px}
@media (max-width:560px){.ekl .card{padding:14px}.ekl-nav .btn{flex:1;min-width:0}.ekl-cur{order:-1;flex-basis:100%}.ekl-tbl th{width:36%}}
/* 모니터 + 3D 심장: 넓은 화면은 나란히, 폰은 위아래 */
.ekl-stage{display:grid;gap:10px;align-items:stretch}
@media (min-width:760px){.ekl-stage.with-heart{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}.ekl-stage.with-heart .ekl-heart{height:auto;min-height:230px}}
.ekl-heart{position:relative;height:280px;border-radius:12px;overflow:hidden;background:#170609;border:1px solid var(--line)}
.ekl-heart iframe{display:block;width:100%;height:100%;border:0}/* 기본 정보: 칸 배치 */
.ekl-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:6px 0 10px}
.ekl-facts>div{border:1px solid var(--line);border-radius:10px;padding:9px 12px;background:var(--surface);min-width:0}
.ekl-facts dt{font-size:12.5px;font-weight:700;color:var(--mute);margin:0}.ekl-facts dd{margin:3px 0 0;font-size:15px;font-weight:600;line-height:1.45}
.ekl-facts>.key{grid-column:1/-1;border-color:var(--brand);background:var(--soft)}
@media (max-width:760px){.ekl-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:420px){.ekl-facts{grid-template-columns:1fr}}
/* 재생 속도·Case 바로 가기: 글자와 선택 상자를 한 줄로 */
.ekl-sp,.ekl-jump{flex-wrap:nowrap}.ekl-sp select,.ekl-jump select{width:auto;max-width:100%;margin:0}
.ekl-jump{display:flex;white-space:nowrap}.ekl-jump select{flex:1 1 auto;min-width:0}
