.practice-card{
  max-width: 760px;
  margin: 0 auto;
  padding: 8px 0 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.practice-header{
  margin-bottom: 28px;
}

.practice-top{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.practice-label{
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #20a36a;
}

.practice-counter{
  font-size: 14px;
  font-weight: 600;
  color: #6c757d;
}

.practice-progress{
  margin-bottom: 0;
}

.practice-progress .progress{
  height: 4px;
  border-radius: 999px;
  background: rgba(0,0,0,.08);
  overflow: hidden;
}

.practice-progress .progress-bar{
  background: #198754 !important;
  transition: width .3s ease;
}

.practice-question{
  max-width: 760px;
  margin: 0 auto 28px;
  font-size: 32px;
  line-height: 1.25;
  font-weight: 700;
  color: #212529;
  text-align: center;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-wrap{
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}

.play-circle-btn{
  width: 88px;
  height: 88px;
  border: none;
  border-radius: 50%;
  background: #198754;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(25,135,84,.18);
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.play-circle-btn i{
  font-size: 40px;
  line-height: 1;
  margin-left: 4px;
}

.play-circle-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(25,135,84,.24);
}

.play-circle-btn:disabled{
  opacity: .55;
  cursor: not-allowed;
  box-shadow: none;
}

.practice-bottom{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.practice-timer-label{
  font-size: 15px;
  color: #6c757d;
  margin-bottom: 4px;
}

.practice-timer{
  font-size: 52px;
  line-height: 1;
  font-weight: 800;
  color: #198754;
  margin-bottom: 8px;
}

#statusText{
  font-size: 16px !important;
  color: #6c757d !important;
  text-align: center;
  max-width: 420px;
  margin: 0 auto;
}

.practice-finish{
  max-width: 560px;
  margin: 32px auto 0;
  text-align: center;
}

.practice-finish h2{
  font-size: 42px;
  font-weight: 700;
  color: #212529;
}

.practice-finish p{
  color: #6c757d !important;
  font-size: 18px;
  line-height: 1.6;
}

@media (max-width: 767.98px){
  .practice-card{
    padding-top: 0;
  }

  .practice-header{
    margin-bottom: 22px;
  }

  .practice-top{
    margin-bottom: 8px;
  }

  .practice-label{
    font-size: 12px;
  }

  .practice-counter{
    font-size: 13px;
  }

  .practice-question{
    font-size: 22px;
    line-height: 1.35;
    min-height: 84px;
    margin-bottom: 22px;
    padding: 0 8px;
  }

  .play-wrap{
    margin-bottom: 18px;
  }

  .play-circle-btn{
    width: 76px;
    height: 76px;
  }

  .play-circle-btn i{
    font-size: 34px;
  }

  .practice-timer{
    font-size: 42px;
  }

  .practice-timer-label{
    font-size: 14px;
  }

  #statusText{
    font-size: 14px !important;
    padding: 0 10px;
  }

  .practice-finish h2{
    font-size: 32px;
  }

  .practice-finish p{
    font-size: 16px;
  }
}


/* POPUP */
.settings-btn{
  width: 38px;
  height: 38px;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  transition: .2s ease;
}

.settings-btn:hover{
  color: #198754;
  border-color: rgba(25,135,84,.25);
  background: #f8f9fa;
}

.settings-btn i{
  font-size: 18px;
  line-height: 1;
}

.settings-modal{
  position: fixed;
  inset: 0;
  z-index: 1050;
}

.settings-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
}

.settings-dialog{
  position: relative;
  z-index: 2;
  width: calc(100% - 32px);
  max-width: 420px;
  margin: 80px auto 0;
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.18);
}

.settings-dialog-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.settings-title{
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #212529;
}

.settings-close-btn{
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: #6c757d;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.settings-close-btn:hover{
  background: #f3f4f6;
  color: #212529;
}

.settings-group{
  margin-top: 6px;
}

.settings-label{
  font-size: 14px;
  font-weight: 600;
  color: #495057;
  margin-bottom: 12px;
}

.timer-options{
  display: flex;
  gap: 10px;
}

.timer-option{
  flex: 1;
  cursor: pointer;
}

.timer-option input{
  display: none;
}

.timer-option span{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 12px;
  background: #fff;
  color: #212529;
  font-weight: 600;
  transition: .2s ease;
}

.timer-option input:checked + span{
  background: #198754;
  border-color: #198754;
  color: #fff;
}

@media (max-width: 767.98px){
  .settings-dialog{
    margin-top: 60px;
    padding: 18px;
  }
}

/* сетка для количества вопросов */
.timer-options-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.settings-hint{
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.4;
  color: #6c757d;
}

@media (max-width: 767.98px){
  .timer-options-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

/* disabled choicing question count */
.timer-option input:disabled + span{
  opacity: .5;
  cursor: not-allowed;
  background: #f1f3f5;
  color: #6c757d;
  border-color: rgba(0,0,0,.08);
}

.timer-option input:disabled:checked + span{
  opacity: .65;
  background: #198754;
  color: #fff;
}