:root{
  --shell-w: 880px;
  --card-radius: 20px;
  --soft: rgba(255,255,255,.72);
  --soft-2: rgba(255,255,255,.88);
  --line: rgba(15, 23, 42, .08);
  --shadow: 0 18px 40px rgba(15, 23, 42, .10);
  --shadow-2: 0 10px 24px rgba(15, 23, 42, .10);
  --primary: #667eea;
  --primary-2: #7c3aed;
}

.app-bg{
  min-height: 100vh;
  background:
    radial-gradient(1200px 420px at 50% -80px, rgba(102,126,234,.22), transparent 60%),
    radial-gradient(900px 360px at 80% 0px, rgba(124,58,237,.14), transparent 55%),
    #eef2f7;
}

.timer-shell{
  max-width: var(--shell-w);
}

.timer-card{
  border-radius: var(--card-radius);
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.brand-badge{
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: linear-gradient(135deg, var(--primary), #8b5cf6);
  box-shadow: 0 10px 18px rgba(102,126,234,.25);
}

.btn-icon{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  box-shadow: 0 6px 14px rgba(15,23,42,.06);
}

.btn-icon-lg{
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  box-shadow: 0 8px 18px rgba(15,23,42,.07);
}

.section-kicker{
  font-size: .78rem;
  letter-spacing: .02em;
  color: rgba(15, 23, 42, .55);
  text-transform: uppercase;
  font-weight: 600;
}

.soft-panel{
  background: rgba(245, 248, 252, .75);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-2);
}

.soft-input{
  border-radius: 12px !important;
  border: 1px solid var(--line) !important;
  background: var(--soft-2) !important;
}

.soft-input:focus{
  box-shadow: 0 0 0 .25rem rgba(102,126,234,.16) !important;
  border-color: rgba(102,126,234,.55) !important;
}

.soft-add{
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #8b5cf6);
  border: 0;
  box-shadow: 0 10px 18px rgba(102,126,234,.22);
}

.interval-row{
  padding: 10px 10px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.82);
  box-shadow: 0 10px 18px rgba(15,23,42,.05);
}

.interval-row.active{
  outline: 2px solid rgba(102,126,234,.25);
  background: rgba(102,126,234,.06);
}

.name-input{
  min-width: 160px;
}

.round-number{
  font-size: 2.2rem;
  font-weight: 700;
  color: rgba(15,23,42,.85);
  min-width: 44px;
  text-align: center;
}

.main-cta{
  border-radius: 18px;
  box-shadow: 0 16px 30px rgba(15,23,42,.12);
}

.btn-success.main-cta{
  background: linear-gradient(135deg, #22c55e, #10b981);
  border: 0;
}

.btn-danger.main-cta{
  background: linear-gradient(135deg, #fb7185, #ef4444);
  border: 0;
}

.sound-pill{
  border-radius: 999px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 18px rgba(15,23,42,.06);
  
  font-size: 0.8rem;   /* ← 이 줄 추가 또는 수정 */
}

.sound-pill.sound-off{
  opacity: .75;
}

.status-box{
  margin-top: 6px;
  padding: 14px 12px;
  border-radius: 16px;
  background: rgba(245, 248, 252, .75);
  border: 1px solid var(--line);
}

.display-time{
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.soft-progress{
  height: 10px;
  border-radius: 999px;
  background: rgba(15,23,42,.08);
  overflow: hidden;
}

.soft-progress .progress-bar{
  background: linear-gradient(135deg, var(--primary), #8b5cf6);
  border-radius: 999px;
}
