.t-popup.t-popup_show:not([data-tooltip-hook*="quiz"]) .t-popup__container{
  max-width: 560px !important;                 
  width: min(94vw, 560px) !important;         
  margin: 0 auto !important;
}

.t-popup.t-popup_show:not([data-tooltip-hook*="quiz"]) .t-popup__content{
  display: block !important;
  height: auto !important;
  max-height: 86vh !important;                 
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch;

  padding: 24px 28px 20px !important;          
  border-radius: 18px !important;              
  box-shadow: 0 20px 60px rgba(16,24,40,.18) !important; 
  box-sizing: border-box !important;
}


.t-popup.t-popup_show:not([data-tooltip-hook*="quiz"]) .t-popup__content::-webkit-scrollbar{ width: 8px; }
.t-popup.t-popup_show:not([data-tooltip-hook*="quiz"]) .t-popup__content::-webkit-scrollbar-thumb{
  background: rgba(0,0,0,.22); border-radius: 8px;
}


.t-popup.t-popup_show:not([data-tooltip-hook*="quiz"]) h1,
.t-popup.t-popup_show:not([data-tooltip-hook*="quiz"]) .t-title{
  margin: 0 0 12px !important;
  line-height: 1.15 !important;                
}
.t-popup.t-popup_show:not([data-tooltip-hook*="quiz"]) .t-descr{
  margin: 0 0 16px !important;
  line-height: 1.45 !important;
  max-width: 520px !important;                 
  margin-left: auto !important; margin-right: auto !important;
  text-align: left !important;
}


.t-popup.t-popup_show:not([data-tooltip-hook*="quiz"]) .t-input-block{ margin-bottom: 12px !important; }
.t-popup.t-popup_show:not([data-tooltip-hook*="quiz"]) .t-input-group:last-child,
.t-popup.t-popup_show:not([data-tooltip-hook*="quiz"]) .t-input-block:last-child{ margin-bottom: 0 !important; }

.t-popup.t-popup_show:not([data-tooltip-hook*="quiz"]) .t-form__inputsbox input,
.t-popup.t-popup_show:not([data-tooltip-hook*="quiz"]) .t-form__inputsbox select,
.t-popup.t-popup_show:not([data-tooltip-hook*="quiz"]) .t-form__inputsbox textarea{
  height: 46px !important;                     
  padding: 10px 12px !important;
  font-size: 15px !important;
  border-radius: 12px !important;
}


.t-popup.t-popup_show:not([data-tooltip-hook*="quiz"]) .t-form__submit,
.t-popup.t-popup_show:not([data-tooltip-hook*="quiz"]) .t-submitbox{ margin: 16px 0 0 !important; }
.t-popup.t-popup_show:not([data-tooltip-hook*="quiz"]) .t-submit{
  height: 50px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  border-radius: 12px !important;
  box-shadow: 0 6px 18px rgba(0,107,255,.22) !important; 


.t-popup.t-popup_show[data-tooltip-hook*="quiz"] .t-popup__container,
.t-popup.t-popup_show[data-tooltip-hook*="quiz"] .t-popup__content{
  max-width: 1040px !important;                
  width: min(96vw, 1040px) !important;
  max-height: 92vh !important;
  padding: 32px 36px 28px !important;
  border-radius: 18px !important;
}

#popup\:quiz .t-row{ display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 28px !important; }
#popup\:quiz h1, #popup\:quiz .t-title{ font-size: clamp(26px, 3vw, 36px) !important; margin-bottom: 14px !important; }
#popup\:quiz .t-btn{ height: 50px !important; font-size: 16px !important; border-radius: 12px !important; font-weight: 600 !important; }


.t-popup__close svg path{ stroke:#fff !important; fill:#fff !important; }