/* 깜빡임 시뮬레이터 전용 스타일 (content.css 위에 얹음) */
.sim {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 26px 24px 30px; margin: 30px 0;
}
.sim h2 { margin-top: 0 !important; }

/* 눈 애니메이션 */
.sim-eye-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin: 10px 0 4px; }
.sim-eye { width: 150px; flex: 0 0 auto; }
#eye-lids { transform-origin: 50% 50%; transition: transform 0.07s ease-in; transform: scaleY(0); }
#eye-lids.closed { transform: scaleY(1); }
.sim-film { flex: 1 1 220px; min-width: 220px; }
.sim-film-track {
  height: 18px; border-radius: 99px; background: #f0eff5; overflow: hidden; position: relative;
}
#film-fill { height: 100%; border-radius: 99px; width: 100%; transition: background 0.4s ease; }
.sim-film-cap { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); margin-top: 6px; }
#film-label { font-weight: 700; color: var(--ink); }

/* 슬라이더 */
.sim-slider { margin: 22px 0 6px; }
.sim-slider label { font-weight: 600; color: var(--ink); font-size: 15px; }
.sim-slider input[type="range"] { width: 100%; accent-color: var(--accent); margin: 12px 0 2px; }
.sim-ticks { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); }
#bpm-now { font-weight: 800; color: var(--accent); }
#bpm-zone { color: var(--muted); font-weight: 500; }

/* 스탯 타일 */
.sim-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 20px 0 6px; }
.sim-stat { background: #faf9fe; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.sim-stat .n { font-family: "Fraunces", Georgia, serif; font-size: 30px; font-weight: 600; color: var(--ink); line-height: 1.1; }
.sim-stat .n small { font-size: 14px; color: var(--muted); font-family: "Inter", sans-serif; }
.sim-stat .l { font-size: 12.5px; color: var(--muted); margin-top: 4px; line-height: 1.45; }

/* 차트 */
#sim-chart { position: relative; margin-top: 8px; }
#sim-chart-svg { width: 100%; height: auto; display: block; }
.sim-bar { cursor: pointer; }
.sim-bar:hover { opacity: 0.85; }
#sim-tip {
  display: none; position: absolute; pointer-events: none; background: var(--bg); color: #fff;
  font-size: 12.5px; padding: 6px 10px; border-radius: 8px; white-space: nowrap; z-index: 5;
}
.sim-src { font-size: 12px; color: var(--muted); margin-top: 8px; }
.sim-table summary { cursor: pointer; font-size: 13px; color: var(--muted); margin-top: 10px; }
.sim-table table { border-collapse: collapse; margin-top: 8px; font-size: 13.5px; }
.sim-table td, .sim-table th { border: 1px solid var(--line); padding: 6px 12px; text-align: left; }
