:root{
  --bg:#edf2f7;
  --bg-2:#f7fafc;
  --surface:#ffffff;
  --surface-2:#f3f6f9;
  --line:rgba(24,32,51,.10);
  --line-strong:rgba(24,32,51,.18);
  --text:#182033;
  --muted:#67748b;
  --accent:#3f7cff;
  --accent-2:#3f7cff;
  --accent-soft:rgba(63,124,255,.10);
  --success:#19b37d;
  --shadow:none;
  --radius:32px;
  --radius-sm:20px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  min-width:320px;
  color:var(--text);
  font:16px/1.55 Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background-color:var(--bg);
  background-image:none;
  background-repeat:no-repeat;
}
.flex-img-box {
  width: 100%;
  display: flex;
  flex-direction: row;
  border: 1px solid #ddd;
  border-radius: 20px;
  margin-bottom: 10px;
  margin-top: 10px;
  padding: 10px;
}
.flex-img-box.flex-column {
  flex-direction: column;
}
.flex-img-box .img-box {
  width: 100%;
  max-width: 80px;
  display: flex;
}
.flex-img-box.flex-column .img-box {
  width: 100%;
  max-width: 400px;
}
.flex-img-box.flex-column .img-box img {
  border-radius: 20px;
  overflow: hidden;
}
.flex-img-box .img-box img {
  width: 100%;
  height: auto;
  align-self: center;
}
.flex-img-box .text-box {
  width: 100%;
  padding-left: 20px;
}
.flex-img-box.flex-column .text-box {
  padding-left: 0;
}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button,input,textarea{font:inherit}
button{cursor:pointer}
[hidden]{display:none!important}

.app{padding:24px 16px 32px}
.app__inner{width:min(100%,760px);margin:0 auto}
.app-header{margin-bottom:18px}
.brand{
  display:inline-flex;align-items:center;gap:12px;
  padding:10px 14px;border-radius:999px;
  background:#fff;border:1px solid var(--line);
  box-shadow:none;height:40px;border-radius:14px;display:grid;place-items:center;
  color:var(--accent);background:var(--accent-soft)
}
.brand__mark svg{width:22px;height:22px}
.brand__text{display:grid;line-height:1.05}
.brand__text strong{font-size:14px;letter-spacing:-.02em}
.brand__text span{font-size:12px;color:var(--muted)}

.shell,
.modal__dialog,
.overlay-loader__box{
  background:#fff;
  /* border:1px solid var(--line); */
  box-shadow:none;padding:28px;position:relative;border-radius:32px}
.hero-badge{
  display:inline-flex;align-items:center;gap:10px;
  min-height:38px;padding:0 16px;border-radius:999px;
  font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  color:#4b5a85;background:var(--surface-2);border:1px solid var(--line)
}
.app__title{margin:0 0 12px;font-size:clamp(34px,6vw,58px);line-height:.96;letter-spacing:-.05em;max-width:none;width:100%}
.app__lead{margin:0;max-width:44ch;color:var(--muted);font-size:17px}
.intro-screen{display:grid;gap:10px}
.intro-screen__actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.intro-choice{
  width:100%;min-height:180px;padding:24px;border:1px solid var(--line);border-radius:28px;
  background:#fff;
  display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;text-align:left;
  box-shadow:none;
  transition:transform .18s ease,border-color .18s ease,background .18s ease
}
.intro-choice:hover{transform:translateY(-2px);border-color:rgba(63,124,255,.26);background:#f7faff}
.intro-choice__icon{width:64px;height:64px;border-radius:18px;display:grid;place-items:center;color:var(--accent);background:var(--surface-2);border:1px solid var(--line)}
.intro-choice__icon--emoji{font-size:34px;line-height:1}
.intro-choice__title{font-size:24px;font-weight:700;letter-spacing:-.03em}

.quiz-stage{display:grid;gap:24px}
.quiz-topbar{display:flex;align-items:center;gap:16px}
@property --progressValue{syntax:"<number>";inherits:false;initial-value:0}
.quiz-progress-circle{
  --progress:0;
  --progressValue:0;
  width:70px;height:70px;border-radius:50%;display:grid;place-items:center;flex:0 0 auto;
  background:conic-gradient(var(--accent) calc(var(--progress) * 1%), rgba(63,124,255,.12) 0);
  position:relative;transition:--progressValue .5s ease,transform .28s ease,opacity .28s ease;
}
.quiz-progress-circle::before{
  content:"";position:absolute;inset:7px;border-radius:50%;background:#fff;
  border:1px solid rgba(24,32,51,.08)
}
.quiz-progress-circle__value{position:relative;z-index:1;font-size:14px;font-weight:800;letter-spacing:-.03em}
.quiz-header{display:grid;gap:10px}
.quiz-header__title{margin:0;font-size:clamp(28px,4.5vw,42px);line-height:1.06;letter-spacing:-.04em}
.quiz-header__subtitle{margin:0;color:var(--muted);font-size:16px}
.quiz-content{display:grid;gap:18px}
.quiz-progress-circle.is-pulsing{transform:scale(1.04)}
.quiz-topbar[hidden]{display:none!important}
.quiz-header,.quiz-content{opacity:1;transform:translateY(0);transition:opacity .32s ease,transform .32s ease}
.quiz-stage.is-transitioning .quiz-header,.quiz-stage.is-transitioning .quiz-content{opacity:0;transform:translateY(10px)}
.answers-grid .answer-option,.text-block__html > *, .result-shell__html > *{opacity:0;transform:translateY(14px);animation:fadeUp .42s ease forwards}
.answers-grid .answer-option:nth-child(2){animation-delay:.04s}.answers-grid .answer-option:nth-child(3){animation-delay:.08s}.answers-grid .answer-option:nth-child(4){animation-delay:.12s}.answers-grid .answer-option:nth-child(5){animation-delay:.16s}.answers-grid .answer-option:nth-child(6){animation-delay:.2s}.answers-grid .answer-option:nth-child(7){animation-delay:.24s}.answers-grid .answer-option:nth-child(8){animation-delay:.28s}
.text-block__html > :nth-child(2),.result-shell__html > :nth-child(2){animation-delay:.05s}.text-block__html > :nth-child(3),.result-shell__html > :nth-child(3){animation-delay:.1s}.text-block__html > :nth-child(4),.result-shell__html > :nth-child(4){animation-delay:.15s}.text-block__html > :nth-child(5),.result-shell__html > :nth-child(5){animation-delay:.2s}.text-block__html > :nth-child(6),.result-shell__html > :nth-child(6){animation-delay:.25s}
@keyframes fadeUp{to{opacity:1;transform:translateY(0)}}

.answers-grid{display:grid;gap:12px}
.answers-grid--tile{grid-template-columns:repeat(2,minmax(0,1fr))}

.answer-option{
  position:relative;width:100%;padding:18px 20px 18px 56px;text-align:left;color:var(--text);
  border:1px solid var(--line);border-radius:22px;
  background:#fff;
  box-shadow:none;
  transition:transform .18s ease,border-color .18s ease,background .18s ease
}
.answer-option:hover{transform:translateY(-1px);border-color:rgba(91,108,255,.28);background:#f8fbff}
.answer-option.is-selected{border-color:rgba(63,124,255,.62);background:#f5f9ff;box-shadow:none}
.answer-option__text{display:block;font-weight:600;letter-spacing:-.02em}
.answer-option__check{
  position:absolute;left:18px;top:18px;width:22px;height:22px;border-radius:7px;border:1.5px solid rgba(26,43,78,.22);
  background:#fff;transition:all .18s ease
}
.answer-option__check::after{
  content:"";position:absolute;left:6px;top:2px;width:6px;height:11px;border:solid #fff;border-width:0 2px 2px 0;
  transform:rotate(45deg) scale(.6);opacity:0;transition:all .18s ease
}
.answer-option.is-selected .answer-option__check::after{opacity:1;transform:rotate(45deg) scale(1)}
.answer-option.is-selected .answer-option__check{background:var(--accent);border-color:var(--accent);box-shadow:none}
.answer-option:not(.is-multi) .answer-option__check{border-radius:50%}

.primary-button,.order-submit,.btn.btn-primary{
  appearance:none;border:0;border-radius:999px;min-height:58px;padding:8px 28px;color:#fff;font-weight:700;letter-spacing:-.02em;
  background:var(--accent);
  box-shadow:none;
  transition:transform .18s ease,opacity .18s ease,background .18s ease
}
.primary-button:hover,.order-submit:hover,.btn.btn-primary:hover{transform:translateY(-1px);box-shadow:none;opacity:.96}
.primary-button:disabled{opacity:.45;cursor:not-allowed;transform:none;box-shadow:none;justify-content:flex-start}

.text-block,.result-shell{display:grid;gap:16px}
.text-block__html,.result-shell__html,.quiz-result-body{color:var(--text)}
.text-block__html > :first-child,.result-shell__html > :first-child,.quiz-result-body > :first-child{margin-top:0!important}
.text-block__html > :last-child,.result-shell__html > :last-child,.quiz-result-body > :last-child{margin-bottom:0!important}
.text-block__html p,.result-shell__html p,.quiz-result-body p,.text-block__html ul,.result-shell__html ul,.quiz-result-body ul,.text-block__html ol,.result-shell__html ol,.quiz-result-body ol,.text-block__html h3,.result-shell__html h3,.quiz-result-body h3{margin:0 0 14px!important}
.text-block__html ul,.result-shell__html ul,.quiz-result-body ul,.text-block__html ol,.result-shell__html ol,.quiz-result-body ol{padding-left:20px}
.text-block__html h2,.text-block__html h3,.result-shell__html h2,.result-shell__html h3,.quiz-result-body h2,.quiz-result-body h3{font-size:clamp(22px,4vw,30px);line-height:1.12;letter-spacing:-.03em}


.order-card{border-radius:24px;border:1px solid var(--line);background:#fff;padding:22px;display:grid;gap:16px;margin:8px 0 0;box-shadow:none}
.order-title{margin:0;font-size:clamp(24px,4vw,32px);line-height:1.08;letter-spacing:-.04em;font-weight:800}
.order-subtitle,.order-note{margin:0;color:var(--muted);line-height:1.55;font-weight:500}
.order-card > img{width:100%;max-width:340px;margin:0 auto}
.order-form{display:grid;gap:14px;margin-top:6px}
.order-field{display:grid;gap:8px;margin:0}
.order-label{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);font-weight:700}
.order-input,.quiz-content input[type="text"],.quiz-content input[type="tel"],.quiz-content input[type="email"],.quiz-content input[type="number"],.quiz-content textarea,.order-form input,.order-form textarea,.form-control{
  width:100%;min-height:58px;padding:16px 18px;border-radius:18px;border:1px solid var(--line-strong);background:#fff;color:var(--text);
  outline:none;box-shadow:none;resize:vertical;transition:border-color .18s ease,background .18s ease}
.order-input::placeholder,.quiz-content input::placeholder,.quiz-content textarea::placeholder,.order-form input::placeholder,.order-form textarea::placeholder{color:#9aa6b2}
.order-input:focus,.quiz-content input:focus,.quiz-content textarea:focus,.order-form input:focus,.order-form textarea:focus,.form-control:focus{border-color:rgba(91,108,255,.42);box-shadow:none;background:#fcfdff}
.order-form label,.quiz-content label{display:grid;gap:8px;color:var(--muted);font-size:14px}
.order-submit,.order-form .primary-button{width:100%;margin-top:4px}
.order-legal{margin:2px 0 0;font-size:12px;line-height:1.5;color:#8a94a6;font-weight:400}
.order-legal a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.marathon-lead{margin:0 0 16px;padding:16px 18px;border-radius:18px;border:1px solid rgba(63,124,255,.18);background:#f5f8ff;color:var(--text);font-weight:600;line-height:1.5}
.marathon-plan{display:grid;gap:10px;margin:16px 0 0}
.marathon-plan__item{padding:18px;border:1px solid var(--line);border-radius:20px;background:#fff}
.marathon-plan__item h3{margin:0 0 10px;font-size:20px!important;line-height:1.15}
.marathon-price{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;margin:8px 0 2px}
.marathon-price strong{font-size:32px;line-height:1;font-weight:800;letter-spacing:-.04em}
.marathon-price s{color:var(--muted);font-size:17px}
.quiz-state{display:flex;align-items:center;justify-content:center;gap:12px;color:var(--muted);padding:16px 18px;border-radius:18px;background:transparent;border:0}
.spinner{width:18px;height:18px;border-radius:50%;border:2px solid rgba(91,108,255,.16);border-top-color:var(--accent);animation:spin .9s linear infinite}
.spinner--large{width:28px;height:28px;border-width:3px}
@keyframes spin{to{transform:rotate(360deg)}}
.quiz-error{padding:14px 16px;border-radius:16px;border:1px solid rgba(190,54,77,.18);background:rgba(255,241,244,.9);color:#b5264d}

.app-footer{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-top:18px;color:var(--muted);font-size:14px}
.app-footer nav{display:flex;gap:8px;flex-wrap:wrap;justify-content: center;width:100%;
}
.app-footer a{transition:color .18s ease}
.app-footer a:hover{color:var(--text)}

.modal{position:fixed;inset:0;z-index:60;display:none}
.modal.is-open{display:block}
.modal__backdrop{position:absolute;inset:0;background:rgba(17,22,39,.45)}
.modal__dialog{position:relative;width:min(100% - 24px,860px);max-height:calc(100dvh - 24px);overflow:auto;margin:12px auto;border-radius:28px;padding:24px;background:#fff}
.modal__close{position:absolute;right:16px;top:16px;width:40px;height:40px;border:0;border-radius:50%;background:var(--surface-2);color:var(--text)}
.modal__title{margin:0 0 16px;font-size:28px;line-height:1.08;letter-spacing:-.03em}
.modal__content{color:var(--text)}
.modal__content p{margin:0 0 12px}

.overlay-loader{position:fixed;inset:0;display:grid;place-items:center;z-index:70;background:rgba(237,242,247,.72)}
.overlay-loader__box{display:grid;gap:12px;justify-items:center;padding:22px;border-radius:24px}
.sticky-action{position:sticky;bottom:12px;z-index:20;display:flex;align-items:center;justify-content:center;padding:12px 0 0;margin-top:4px;background:transparent;border:0;box-shadow:none}.sticky-action .primary-button{width:100%}
.red-box,.blue-box,.result-shell__html .red-box,.result-shell__html .blue-box,.text-block__html .red-box,.text-block__html .blue-box{
  border-radius:24px!important;border:1px solid var(--line)!important;background:#f7f9fc!important;padding:18px!important;box-shadow:none
}
.red-box{background:#fff5f6!important;border-color:rgba(190,54,77,.18)!important}
.blue-box{background:#f4f7ff!important;border-color:rgba(91,108,255,.18)!important}

.left-img img,.right-img img,.middle-img img,.product-img img,.quiz-content .img-responsive{border-radius:22px;overflow:hidden}
.product-img,.left-img,.right-img,.middle-img{text-align:center}
.quiz-content table{width:100%;border-collapse:collapse;overflow:hidden;border-radius:20px;background:#fff}
.quiz-content table td,.quiz-content table th{padding:12px 14px;border-bottom:1px solid var(--line)}
.quiz-content .small,.small{font-size:13px;color:var(--muted)}
.js-phone-error,.js-name-error,.error-text{font-size:13px;color:#b5264d}

@media (max-width:767px){
  .app{padding:18px 12px 24px}
  .shell{padding:22px 18px;border-radius:28px}
  .intro-screen__actions,.answers-grid--tile{grid-template-columns:1fr}
  .app__title{max-width:none;font-size:clamp(32px,10vw,46px)}
  .quiz-topbar{align-items:flex-start}
  .quiz-progress-circle{width:62px;height:62px}
  .answer-option{padding:16px 16px 16px 52px;border-radius:20px}
  .app-footer{flex-direction:column;align-items:flex-start}
  .sticky-action{padding:12px 0 0;background:transparent;border-radius:0;bottom:0}
  .sticky-action .primary-button{min-width:132px}
  .order-card{padding:18px}
  .marathon-price strong{font-size:28px}
}

.list-check,.list-cross{list-style:none!important;padding-left:0!important;margin:14px 0!important;display:grid;gap:12px}
.list-check li,.list-cross li{position:relative;padding-left:40px!important;font-weight:600;color:var(--text)}
.list-check li::before,.list-cross li::before{content:"";position:absolute;left:0;top:0;width:26px;height:26px;border-radius:9px;border:1px solid var(--line);background:var(--surface-2)}
.list-check li::after,.list-cross li::after{position:absolute;left:7px;top:3px;font-weight:800;font-size:14px}
.list-check li::after{content:"✓";color:var(--accent)}
.list-cross li::after{content:"✕";color:#d13a52}
.text-primary{color:var(--accent)!important}
.text-red{color:#c62828!important}

.img-box{width:100%}
.img-box img{width:140px;height:140px;object-fit:cover;border-radius:18px;border:1px solid var(--line)}

.quiz-result-body a,.text-block__html a,.result-shell__html a{color:var(--accent);text-decoration:underline;text-underline-offset:2px}
.quiz-content center{text-align:center}
.quiz-content b{font-weight:800}
@media (max-width:560px){.img-box img{width:100%;height:auto}}


/* Main page layout update */
body{background:#fff;color:#0b2f4a;}
.app{min-height:100dvh;padding:0;background:#fff;}
.app__inner{width:100%;max-width:none;margin:0;}
.shell{width:100%;min-height:calc(100dvh - 210px);padding:0;border-radius:0;background:#fff;box-shadow:none;overflow:hidden;}
.intro-screen{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(460px,.88fr);gap:0;min-height:100dvh;background:#fff;}
.intro-screen__media{position:relative;min-height:100dvh;background:linear-gradient(135deg,#ffe3eb 0%,#ffd0dd 100%);overflow:hidden;display:flex;align-items:flex-end;justify-content:center;}
.intro-screen__media picture,.intro-screen__media img{width:100%;height:100%;display:block;}
.intro-screen__media img{object-fit:contain;object-position:center bottom;filter:drop-shadow(0 22px 45px rgba(31,57,76,.14));transform:scale(1.06);}
.intro-screen__content{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:64px clamp(42px,6vw,92px);min-height:100dvh;background:#fff;}
.intro-screen__badge{display:inline-flex;align-items:center;border-radius:999px;padding:8px 14px;margin-bottom:24px;background:#f3f7fa;color:#587087;font-size:13px;font-weight:700;letter-spacing:.02em;}
.app__title{max-width:680px;margin:0 0 18px;color:#092d49;font-size:clamp(36px,3.1vw,58px);line-height:1.08;letter-spacing:-.045em;font-weight:800;}
.app__lead{max-width:650px;margin:0;color:#516b83;font-size:clamp(18px,1.15vw,22px);line-height:1.45;}
.app__hint{margin:26px 0 14px;color:#092d49;font-size:17px;font-weight:700;}
.intro-screen__actions{display:flex;gap:14px;width:100%;max-width:520px;}
.intro-choice{min-height:64px;padding:0 24px;border:0;border-radius:999px;display:inline-flex;flex-direction:row;align-items:center;justify-content:center;gap:10px;text-align:center;color:#fff;background:#ef4056;box-shadow:0 16px 34px rgba(239,64,86,.24);}
.intro-choice:hover{transform:translateY(-2px);background:#e6384e;border-color:transparent;}
.intro-choice__icon{width:28px;height:28px;border:1px solid rgba(255,255,255,.34);border-radius:999px;background:rgba(255,255,255,.13);color:#fff;font-size:21px;}
.intro-choice__title{font-size:18px;font-weight:800;letter-spacing:.01em;text-transform:uppercase;}
.quiz-stage{max-width:760px;margin:32px auto;padding:28px;}
.app-footer{margin:0;padding:32px clamp(20px,6vw,84px);background:#f6f8fb;color:#536b82;font-size:14px;display:block;border-top:1px solid rgba(9,45,73,.08);}
.app-footer__top{display:flex;justify-content:space-between;gap:28px;align-items:flex-start;margin-bottom:24px;}
.app-footer__brand{max-width:520px;display:grid;gap:8px;}
.app-footer__brand strong{color:#092d49;font-size:18px;line-height:1.25;}
.app-footer__brand span{line-height:1.5;}
.app-footer__nav{display:flex;flex-wrap:wrap;gap:12px 22px;justify-content:flex-end;}
.app-footer__nav a,.app-footer a{text-decoration:none;color:#092d49;font-weight:600;}
.app-footer a:hover{text-decoration:underline;text-underline-offset:3px;}
.app-footer__bottom{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding-top:22px;border-top:1px solid rgba(9,45,73,.10);line-height:1.65;}
.app-footer__bottom b{color:#092d49;}
.app-footer__note{max-width:1040px;margin:22px 0 0;color:#718397;font-size:12px;line-height:1.55;}
@media (max-width:900px){
  .intro-screen{grid-template-columns:1fr;min-height:100dvh;}
  .intro-screen__media{min-height:46vh;max-height:48vh;align-items:flex-end;}
  .intro-screen__media img{object-fit:contain;transform:scale(1.03);}
  .intro-screen__content{min-height:54vh;padding:56px 28px 72px;justify-content:flex-start;}
  .intro-screen__badge{margin-bottom:22px;}
  .app__title{font-size:clamp(42px,8vw,58px);line-height:1.12;}
  .app__lead{font-size:24px;line-height:1.36;}
  .app__hint{font-size:20px;margin-top:30px;}
  .intro-screen__actions{max-width:none;gap:14px;}
  .intro-choice{min-height:76px;flex:1;padding:0 18px;}
}
@media (max-width:640px){
  .intro-screen__media{min-height:31vh;max-height:34vh;}
  .intro-screen__content{min-height:66vh;padding:42px 28px 64px;}
  .intro-screen__badge{font-size:12px;padding:7px 12px;margin-bottom:22px;}
  .app__title{font-size:clamp(38px,9.7vw,48px);line-height:1.12;margin-bottom:22px;}
  .app__lead{font-size:22px;line-height:1.42;}
  .app__hint{font-size:18px;}
  .intro-screen__actions{display:grid;grid-template-columns:1fr;gap:12px;}
  .intro-choice{width:100%;min-height:76px;border-radius:999px;}
  .intro-choice__title{font-size:18px;}
  .shell{min-height:auto;}
  .quiz-stage{margin:16px 12px;padding:18px;}
  .app-footer{padding:28px 20px;}
  .app-footer__top{display:grid;gap:18px;}
  .app-footer__nav{justify-content:flex-start;display:grid;gap:10px;}
  .app-footer__bottom{grid-template-columns:1fr;gap:16px;}
}
@media (max-width:420px){
  .intro-screen__content{padding-left:22px;padding-right:22px;}
  .app__title{font-size:34px;}
  .app__lead{font-size:19px;}
}

/* === targeted layout/color fix: quiz-root + first screen === */
#quiz-root.shell{
  min-height:100vh;
  min-height:100dvh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  width:100%;
}
#quiz-root > .intro-screen,
#quiz-root > .quiz-stage{
  width:100%;
  flex:0 0 auto;
}
#quiz-root > .quiz-stage{
  margin-top:auto;
  margin-bottom:auto;
}

:root{
  --accent:#3f7cff;
  --accent-2:#2f63d8;
  --accent-soft:rgba(63,124,255,.10);
}

.intro-choice,
.primary-button,
.order-submit,
.btn.btn-primary{
  background:linear-gradient(135deg,#3f7cff 0%,#2f63d8 100%)!important;
  color:#fff!important;
  border-color:transparent!important;
  box-shadow:0 16px 34px rgba(63,124,255,.26)!important;
}
.intro-choice:hover,
.primary-button:hover,
.order-submit:hover,
.btn.btn-primary:hover{
  background:linear-gradient(135deg,#4d86ff 0%,#2858c8 100%)!important;
  box-shadow:0 20px 42px rgba(63,124,255,.34)!important;
}
.intro-choice{
  position:relative;
  overflow:hidden;
  isolation:isolate;
  animation:introChoicePulse 2.35s ease-in-out infinite;
}
.intro-choice:nth-child(2){animation-delay:.22s;}
.intro-choice::after{
  content:"";
  position:absolute;
  z-index:-1;
  inset:0;
  background:linear-gradient(110deg,transparent 0%,rgba(255,255,255,.24) 46%,transparent 70%);
  transform:translateX(-120%);
  animation:introChoiceShine 3.2s ease-in-out infinite;
}
.intro-choice__icon{
  background:rgba(255,255,255,.14)!important;
  color:#fff!important;
  border-color:rgba(255,255,255,.36)!important;
}
@keyframes introChoicePulse{
  0%,100%{transform:translateY(0) scale(1)}
  50%{transform:translateY(-1px) scale(1.025)}
}
@keyframes introChoiceShine{
  0%,35%{transform:translateX(-120%)}
  70%,100%{transform:translateX(120%)}
}

@media (max-width:900px){
  #quiz-root.shell{min-height:100vh;min-height:100dvh;}
  #quiz-root > .intro-screen{
    height:100vh;
    height:100dvh;
    min-height:0;
    display:flex;
    flex-direction:column;
    overflow:hidden;
  }
  .intro-screen__media{
    flex:0 1 34dvh;
    min-height:0!important;
    height:34dvh;
    max-height:34dvh;
  }
  .intro-screen__media picture,
  .intro-screen__media img{height:100%;}
  .intro-screen__media img{
    object-fit:cover;
    object-position:center bottom;
    transform:none;
  }
  .intro-screen__content{
    flex:1 1 auto;
    min-height:0!important;
    justify-content:center;
    padding:24px 28px max(22px,env(safe-area-inset-bottom))!important;
  }
  .app__title{
    font-size:clamp(28px,7.4vw,44px)!important;
    line-height:1.08!important;
    margin-bottom:12px!important;
  }
  .app__lead{
    font-size:clamp(16px,4.2vw,20px)!important;
    line-height:1.35!important;
  }
  .app__hint{
    margin:18px 0 12px!important;
    font-size:16px!important;
  }
  .intro-screen__actions{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
    max-width:none!important;
  }
  .intro-choice{
    min-height:64px!important;
    padding:0 14px!important;
    border-radius:999px!important;
  }
  .intro-choice__title{font-size:16px!important;}
}

@media (max-width:640px){
  .intro-screen__media{
    flex-basis:28dvh;
    height:28dvh;
    max-height:28dvh;
  }
  .intro-screen__content{padding:22px 22px max(18px,env(safe-area-inset-bottom))!important;}
  .intro-screen__actions{grid-template-columns:1fr!important;gap:10px!important;}
  .intro-choice{min-height:58px!important;}
}

@media (max-width:420px){
  .app__title{font-size:30px!important;}
  .app__lead{font-size:16px!important;}
}

@media (max-height:760px) and (max-width:900px){
  .intro-screen__media{
    flex-basis:23dvh;
    height:23dvh;
    max-height:23dvh;
  }
  .intro-screen__content{padding-top:18px!important;padding-bottom:16px!important;}
  .app__title{font-size:clamp(26px,6.6vw,36px)!important;}
  .app__lead{font-size:15px!important;line-height:1.3!important;}
  .app__hint{margin-top:12px!important;margin-bottom:10px!important;}
  .intro-choice{min-height:54px!important;}
}

@media (max-height:660px) and (max-width:900px){
  .intro-screen__media{display:none!important;}
  .intro-screen__content{justify-content:center!important;}
}
