/* Раздел «Тесты»: список карточек и прохождение на телефоне. Крупный текст, кнопки на всю ширину, без карусели. */
.ty{padding:8px 0 28px}
.ty h1{font-size:clamp(32px,8vw,46px);font-weight:900;letter-spacing:-.02em;line-height:1.08;margin:0 0 10px}
.ty .kicker{margin:14px 0 6px}
.ty .lead{font-size:18px;line-height:1.45;color:#3d3d3d;margin:0 0 18px;max-width:40ch}
.ty .crumbs{padding:14px 0 0;margin:0;font-size:14px;color:var(--mut);display:flex;flex-wrap:wrap;gap:4px}
.ty .crumbs a{color:var(--tq);font-weight:800}

.ty-list{display:grid;gap:16px}
.ty-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;box-shadow:var(--sh);color:inherit;min-width:0}
.ty-card:hover{border-color:var(--tq)}
.ty-card figure,.ty-card picture{display:block;width:100%}
.ty-card img{display:block;width:100%;max-width:none;height:180px;object-fit:cover;background:var(--sand)}
.ty-card figcaption{margin:0;padding:8px 16px 0;font-size:13px;line-height:1.35;color:var(--mut)}
.ty-card figcaption a{color:var(--tq);font-weight:700}
.ty-card__body{display:flex;flex-direction:column;gap:8px;padding:14px 16px 16px;flex:1}
.ty-card h2{font-size:22px;font-weight:900;line-height:1.2}
.ty-card p{margin:0;font-size:17px;line-height:1.4;color:#3d3d3d}
.ty-card__go{display:flex;align-items:center;justify-content:center;min-height:56px;margin-top:8px;padding:12px 18px;border-radius:999px;background:var(--tq);color:#fff;font-size:18px;font-weight:800;text-align:center}
@media (min-width:900px){
  .ty-list{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
}

.ty-run{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:16px;box-shadow:var(--sh)}
.ty-progress{margin:0 0 8px;font-size:15px;font-weight:800;color:var(--tq)}
.ty-bar{height:10px;border-radius:999px;background:var(--sand);overflow:hidden;margin:0 0 16px}
.ty-bar span{display:block;height:100%;background:var(--tq);border-radius:inherit}
.ty-q{font-size:clamp(22px,6vw,30px);font-weight:900;line-height:1.25;margin:0 0 14px}
.ty-opts{display:flex;flex-direction:column;gap:10px}
.ty-opt{display:flex;align-items:center;width:100%;min-height:56px;padding:14px 16px;border-radius:16px;border:1.5px solid var(--line);background:#fff;color:var(--ink);font:700 18px/1.35 "Nunito Sans",system-ui,sans-serif;text-align:left;cursor:pointer}
.ty-opt:hover{border-color:var(--tq)}
.ty-opt:focus-visible{outline:3px solid var(--tq);outline-offset:2px}
.ty-opt[disabled]{cursor:default}
.ty-opt.is-ok{border-color:#1E9E57;background:#eef8f2}
.ty-opt.is-bad{border-color:var(--tc);background:#f8f1ec}
.ty-why{margin:14px 0 0;padding:14px 16px;border-radius:16px;background:var(--sand);font-size:17px;line-height:1.45}
.ty-why p{margin:0 0 8px}.ty-why p:last-child{margin:0}
.ty-why a{color:var(--tq);font-weight:800}
.ty-actions{display:flex;flex-direction:column;gap:10px;margin-top:16px}
.ty-actions .btn,.ty-btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:56px;padding:12px 18px;border-radius:999px;border:0;background:var(--tq);color:#fff;font:800 18px/1.2 "Nunito Sans",system-ui,sans-serif;text-align:center;cursor:pointer;text-decoration:none}
.ty-actions .btn:hover,.ty-btn:hover{background:var(--tq2)}
.ty-btn--ghost{background:#fff;color:var(--ink);border:1.5px solid var(--ink)}
.ty-btn--ghost:hover{background:var(--sand)}
.ty-btn:focus-visible,.ty-actions .btn:focus-visible{outline:3px solid var(--tq);outline-offset:2px}
.ty-status{min-height:1.4em;margin:8px 0 0;font-size:16px;font-weight:700;color:var(--tq)}
.ty-result h2{font-size:clamp(26px,7vw,36px);font-weight:900;line-height:1.15;margin:0 0 10px}
.ty-result p{margin:0 0 12px;font-size:18px;line-height:1.45}
.ty-result figure{margin:0 0 14px;border-radius:16px;overflow:hidden;background:var(--sand);width:100%}
.ty-result picture{display:block;width:100%}
.ty-result img{display:block;width:100%;max-width:none;height:180px;object-fit:cover}
.ty-result figcaption{padding:8px 12px 10px;font-size:13px;color:var(--mut)}
.ty-result figcaption a{color:var(--tq);font-weight:700}
.ty-note{margin:8px 0 0;font-size:15px;line-height:1.45;color:var(--mut)}
@media (min-width:720px){
  .ty-run{padding:22px}
  .ty-actions{flex-direction:row;flex-wrap:wrap}
  .ty-actions .btn,.ty-btn{width:auto;flex:1 1 220px}
}
