.mr-hero__from{margin:0 0 18px;font-size:16px;line-height:1.45;color:inherit;opacity:.9}
.mr-hero__from b{white-space:nowrap}

.dp-chips{display:flex;flex-wrap:wrap;gap:8px}
.dp-chips button{padding:9px 14px;border:1.5px solid rgba(49,45,43,.14);border-radius:999px;background:var(--card);font:inherit;font-size:14px;font-weight:600;color:var(--ink);cursor:pointer;transition:border-color .2s,box-shadow .2s}
.dp-chips button:hover{border-color:var(--accent);box-shadow:var(--sh)}

.mr-fmt .card{font:inherit;text-align:left;border:0;color:inherit;text-decoration:none;outline:0}
.mr-fmt .card__img{aspect-ratio:1/1;object-fit:cover;background:#ECECEF}
.mr-fmt .card__name{font-size:20px}
.mr-fmt .card__mood{min-height:0;margin-bottom:14px}
.mr-fmt__p{margin-top:auto;font-weight:600;font-size:16px;color:var(--ink)}
.mr-fmt .card.is-on{box-shadow:0 0 0 2px var(--accent),var(--sh)}

.mr-sib{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin-top:28px}
.mr-sib__t{margin-right:6px;color:var(--mut);font-size:15px}
.mr-sib a{display:inline-flex;align-items:center;gap:6px;padding:10px 16px;border-radius:999px;background:var(--card);box-shadow:var(--sh);color:var(--ink);font-size:15px;font-weight:600;text-decoration:none;transition:box-shadow .2s}
.mr-sib a:hover{box-shadow:var(--sh-h)}
.mr-sib .ic{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

.mr-pick{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.mr-pick__fmt{font-family:var(--head);font-weight:700;font-size:20px;line-height:1.25}
.dp .seo__text h3{font-family:var(--head)}
.mr-tier{display:inline-flex;padding:4px;border-radius:14px;background:rgba(0,0,0,.06)}
.mr-tier__b{padding:9px 14px;border:0;border-radius:10px;background:none;font:inherit;font-size:14px;font-weight:600;color:inherit;opacity:.65;cursor:pointer;transition:background .2s,opacity .2s}
.mr-tier__b:hover{opacity:1}
.mr-tier__b.is-on{background:#fff;opacity:1;box-shadow:0 1px 4px rgba(0,0,0,.12)}

.dp .ktg-groups{grid-template-columns:repeat(5,1fr)}
.dp .ktg-group img{aspect-ratio:4/3;object-fit:cover}

.dp-svoy{display:flex;align-items:center;gap:24px;margin-top:16px;padding:16px 28px 16px 16px;border-radius:var(--r-lg);background:var(--tint)}
.dp-svoy img{width:96px;height:96px;flex:none;border-radius:16px;object-fit:cover;background:#ECECEF}
.dp-svoy__t{flex:1}
.dp-svoy__t b{display:block;font:700 22px/1.2 var(--head);color:var(--ink)}
.dp-svoy__t p{margin:6px 0 0;color:var(--mut);font-size:15px;line-height:1.45}

.dp-hero{font:inherit;text-align:left;border:0;color:inherit}
.dp-hero .card__img{aspect-ratio:4/3;object-fit:cover;background:#ECECEF}
.dp-hero .card__name{font-size:20px}
.dp-hero__p{position:absolute;top:34px;right:34px;padding:8px 14px;border-radius:999px;background:var(--card);box-shadow:var(--sh);font-weight:600;font-size:15px;color:var(--ink);white-space:nowrap;opacity:0;transform:translateY(4px);transition:opacity .2s,transform .2s;pointer-events:none}
.dp-hero:hover .dp-hero__p,.dp-hero:focus-visible .dp-hero__p{opacity:1;transform:none}
@media (hover:none){.dp-hero__p{display:none}}

.dp-hp{width:min(920px,calc(100vw - 48px));max-width:none;padding:0;border:0;border-radius:28px;background:var(--card);color:var(--tx);font-family:var(--font);overflow:hidden}
.dp-hp[open]{display:grid;grid-template-columns:1.25fr 1fr}
.dp-hp::backdrop{background:rgba(20,18,17,.55)}
.dp-hp__img{display:block;width:100%;height:100%;object-fit:cover;background:#ECECEF}
.dp-hp__body{display:flex;flex-direction:column;padding:40px 32px 32px}
.dp-hp__name{font:700 30px/1.15 var(--head);color:var(--ink)}
.dp-hp__mood{margin:12px 0 0;color:var(--mut);font-size:16px;line-height:1.45}
.dp-hp__p{margin-top:20px;font-weight:700;font-size:22px;color:var(--ink)}
.dp-hp__note{margin:8px 0 24px;color:var(--mut);font-size:14px;line-height:1.45}
.dp-hp__go{margin-top:auto;justify-content:center}
.dp-hp__x{position:absolute;z-index:2;top:14px;right:14px;display:flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border:1px solid var(--line);border-radius:50%;background:var(--card);color:var(--ink);cursor:pointer}
.dp-hp__x .ic{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}

.dp-cases{grid-template-columns:repeat(2,1fr)}
.dp-cases .case img{aspect-ratio:800/528;object-fit:cover}

@media (max-width:640px){
  .dp-chips button{padding:8px 12px;font-size:13px}
  .mr-fmt{grid-template-columns:repeat(2,1fr);gap:10px}
  .mr-fmt .card{padding:10px 10px 14px}
  .mr-fmt .card__name{margin:12px 0 4px;font-size:16px}
  .mr-fmt .card__mood{display:none}
  .mr-fmt__p{font-size:14px}
  .mr-sib__t{width:100%}
  .mr-sib a{padding:9px 14px;font-size:14px}
  .mr-pick{flex-direction:column;align-items:stretch}
  .mr-tier{display:flex}
  .mr-tier__b{flex:1;padding:9px 4px;font-size:13px}
  .dp-heroes{grid-template-columns:repeat(2,1fr);gap:10px}
  .dp-hero{padding:10px 10px 14px}
  .dp-hero .card__name{margin:12px 0 4px;font-size:16px}
  .dp-hp{width:calc(100vw - 24px);max-height:calc(100vh - 24px);border-radius:22px;overflow:auto}
  .dp-hp[open]{display:block}
  .dp-hp__img{height:auto;aspect-ratio:4/3}
  .dp-hp__body{padding:20px 18px 18px}
  .dp-hp__name{font-size:24px}
  .dp-hp__go{width:100%}
  .dp-svoy{flex-wrap:wrap;gap:14px;padding:14px}
  .dp-svoy img{width:72px;height:72px}
  .dp-svoy__t{flex:1 1 calc(100% - 90px)}
  .dp-svoy__t b{font-size:19px}
  .dp-svoy .btn{width:100%;justify-content:center}
  .dp .seg--form{display:flex;align-self:stretch}
  .dp .seg--form .seg__b{flex:1 1 0;min-width:0;justify-content:center;padding:11px 8px;white-space:normal;text-align:center;line-height:1.2}
}
