/* reset */
html, body, div, span, h1, h2, h3, h4, h5, p, a, img, strong, ol, ul, li, form, button, input, label {
  margin: 0;
  padding: 0;
  border: 0;
}

*, ::after, ::before {
  box-sizing: border-box;
}

a, button, div, input, select, textarea, :focus, :active {
  outline: none;
}

h1, h2, h3 {
  font-weight: normal;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  background-color: #fff;
}

textarea {
  display: block;
  resize: none;
  border: none;
  overflow-y: hidden;
}

ol, ul {
  list-style: none;
}

img {
  display: block;
}

a {
  text-decoration: none;
}

:root {
  --regular: "Inter-Regular", sans-serif;
  --medium: "Inter-Medium", sans-serif;
  --semibold: "Inter-SemiBold", sans-serif;
  --bold: "Inter-Bold", sans-serif;
  --size-smaller: 11px;
  --size-small: 13px;
  --size-base: 15px;
  --size-xl: 20px;
  --size-xxl: 24px;
  --size-xxxl: 28px;
  --color-base: #262626;
  --color-secondary: #6e6d6d;
  --color-primary: #1084c7;
  --color-warning: #ff9500;
  --color-danger: #dd3356;
  --color-light: #fff;
  --transition: all .25s ease;
  --side-padding: 30px;
  --vertical-indent: 35px;
}

.icon-stack {
  display: inline-block;
  flex-shrink: 0;
  background-size: cover;
  background-position: 50%;
}

.burger {
  width: 20px;
  height: 18px;
  background-image: url("sprite-stack.svg#burger");
}

.check-blue {
  width: 20px;
  height: 20px;
  background-image: url("sprite-stack.svg#check-blue");
}

.check-gray {
  width: 21px;
  height: 16px;
  background-image: url("sprite-stack.svg#check-gray");
}

.cross-gray {
  width: 17.7px;
  height: 17.7px;
  background-image: url("sprite-stack.svg#cross-gray");
}

.cross-red {
  width: 18px;
  height: 17px;
  background-image: url("sprite-stack.svg#cross-red");
}

.discount {
  width: 114px;
  height: 33px;
  background-image: url("sprite-stack.svg#discount");
}

.logo-ok {
  width: 24px;
  height: 24px;
  background-image: url("sprite-stack.svg#logo-ok");
}

.logo-tg {
  width: 24px;
  height: 24px;
  background-image: url("sprite-stack.svg#logo-tg");
}

.logo-vk {
  width: 24px;
  height: 24px;
  background-image: url("sprite-stack.svg#logo-vk");
}

.star-five {
  width: 89.96px;
  height: 16.21px;
  background-image: url("sprite-stack.svg#star-five");
}

.star-four {
  width: 89.97px;
  height: 16.21px;
  background-image: url("sprite-stack.svg#star-four");
}

.star-four-half {
  width: 89.96px;
  height: 18px;
  background-image: url("sprite-stack.svg#star-four-half");
}

.star-three {
  width: 89.97px;
  height: 16.21px;
  background-image: url("sprite-stack.svg#star-three");
}

.star-three-half {
  width: 90px;
  height: 17px;
  background-image: url("sprite-stack.svg#star-three-half");
}

.star-two-half {
  width: 90px;
  height: 17px;
  background-image: url("sprite-stack.svg#star-two-half");
}

.upward {
  width: 50px;
  height: 50px;
  background-image: url("sprite-stack.svg#upward");
}

.upward {
  cursor: pointer;
}

.discount {
  position: absolute;
  left: -22px;
  bottom: -7px;
}

html,
body,
.wrapper {
  width: 100%;
  min-height: 100vh;
}

.wrapper {
  flex-direction: column;
}

.wrap {
  width: 100%;
  max-width: 1177px;
  margin-inline: auto;
  padding-left: var(--side-padding);
  padding-right: var(--side-padding);
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

.ai-center {
  align-items: center;
}

.jc-between {
  justify-content: space-between;
}

.jc-center {
  justify-content: center;
}

.text-center {
  text-align: center;
}

body {
  font-weight: normal;
  font-family: var(--regular);
  font-size: var(--size-base);
  line-height: 1.3333;
  color: var(--color-base);
  background: #e8eff5;
}

h1, .h1 {
  font-size: var(--size-xxxl);
  line-height: 1.2142;
  margin-bottom: 20px;
}

nav a {
  color: var(--color-secondary);
}
nav a:is(:hover, .active) {
  color: var(--color-base);
  text-decoration: underline;
  text-underline-offset: 4px;
  -webkit-text-decoration-color: #f01145;
          text-decoration-color: #f01145;
  text-decoration-thickness: 2px;
}

a:not(.nav > a):not(.btn-main):not(.btn-social):not(.modal-btn) {
  color: var(--color-primary);
}
a:not(.nav > a):not(.btn-main):not(.btn-social):not(.modal-btn):hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.semibold, strong, b {
  font-family: var(--semibold);
}

.bold {
  font-family: var(--bold);
}

.size-base {
  font-size: var(--size-base);
}

.text-list {
  list-style-type: disc;
  margin: 0 0 15px 27px;
}

.bg-red {
  background: #f5515c;
}

.bg-violet {
  background: #b681eb;
}

.bg-green {
  background: #85c459;
}

.bg-blue {
  background: #039be5;
}

.bg-orange {
  background: #ffa826;
}

.btn-main {
  width: 100%;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--size-base);
  line-height: 1.1;
  color: var(--color-light);
  text-align: center;
  text-transform: uppercase;
  padding: 3px 10px 0 10px;
  border-radius: 8px;
  background: var(--color-warning);
}

.modal-btn {
  width: 100%;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--medium);
  font-size: 16px;
  color: var(--color-light);
  border-radius: 16px;
}

.btn-social {
  width: 180px;
  height: 44px;
  font-family: var(--semibold);
  color: var(--color-light);
  border-radius: 10px;
}
.btn-social .icon-stack {
  margin-right: 10px;
}

.btn-vk {
  background: #07f;
}

.btn-ok {
  background: #ef7e31;
}

.btn-tg {
  background: #2aabee;
}

.logo-lp,
.logo-podbor,
.logo-sp,
.logo-rusmeet {
  width: 160px;
  height: auto;
}

.logo-datesecret,
.logo-fp {
  width: 154px;
  height: auto;
}

.logo-meliano {
  width: 135px;
  height: auto;
}

.header {
  background: var(--color-light);
}
.header .wrap {
  height: 80px;
}
.header .nav {
  margin-left: auto;
  gap: 0 15px;
}

.logo-main {
  width: 285px;
  height: 49px;
}

a:has(.logo-main) {
  opacity: 0.7;
  transition: var(--transition);
}
a:has(.logo-main):hover, a:has(.logo-main):active {
  opacity: 1;
}

.nav-desktop {
  display: flex;
}

.nav-mobile {
  display: none;
}

.main {
  flex-grow: 1;
  row-gap: var(--vertical-indent);
  padding-top: 60px;
}

.header-main p {
  color: var(--color-secondary);
}

.actual-row {
  gap: 0 5px;
  color: var(--color-primary);
  margin-bottom: calc(13px - var(--vertical-indent));
}

.rating-container {
  align-items: flex-start;
  gap: 0 23px;
}

.rating-table {
  width: 100%;
  row-gap: 2px;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.1);
}
.rating-table li {
  display: flex;
  align-items: center;
  gap: 10px 15px;
  padding: 20px;
  background: var(--color-light);
}
.rating-table li:last-child {
  border-radius: 0 0 10px 10px;
}
.rating-table li:not(.header-table) div {
  height: 82px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: var(--size-small);
  line-height: 1.3846;
}
.rating-table li:not(.header-table) div:nth-child(2) {
  text-align: left;
}
.rating-table li div {
  flex-shrink: 0;
  text-align: center;
}
.rating-table li div:nth-child(1), .rating-table li div:nth-child(2) {
  width: 178px;
  position: relative;
}
.rating-table li div:nth-child(3), .rating-table li div:nth-child(4) {
  width: 98px;
}
.rating-table li div:nth-child(5) {
  width: 150px;
}
.rating-table .btn-main {
  margin-bottom: 10px;
}
.rating-table .header-table {
  width: 100%;
  gap: 0 15px;
  color: var(--color-light);
  text-align: center;
  border-radius: 10px 10px 0 0;
  background: #214070;
}

.header-title {
  display: none;
}

.number-ratings {
  font-size: var(--size-xl);
  line-height: 1.2;
}

.rating {
  font-size: 35px;
  color: var(--color-danger);
  line-height: 1.2;
}

.sidebar-main {
  width: 290px;
  flex-shrink: 0;
  background: var(--color-light);
}

.choice-header h2, .modal-content h2 {
  font-family: var(--bold);
  font-size: var(--size-xl);
  line-height: 1.2;
  text-align: center;
  padding: 30px 12px;
}

.choice-steps-row {
  --main-color: #039be5;
  height: 60px;
  gap: 0 26px;
  position: relative;
  border-bottom: 1px solid #c8c6c6;
  background: #ebe9e9;
}
.choice-steps-row::before {
  width: 100%;
  height: 4px;
  display: block;
  content: "";
  position: absolute;
  left: 0;
  top: 28px;
  z-index: 1;
  background: var(--main-color);
}
.choice-steps-row span {
  width: 24px;
  height: 24px;
  font-size: var(--size-small);
  color: var(--color-light);
  position: relative;
  z-index: 5;
  border-radius: 15px;
  background: var(--main-color);
}
.choice-steps-row span.active {
  font-family: var(--bold);
  font-size: var(--size-base);
  color: var(--main-color);
  border: 3px solid var(--main-color);
  background: var(--color-light);
}

.choice-container {
  padding: 12px 10px;
}
.choice-container h3 {
  font-family: var(--medium);
  font-size: var(--size-xxl);
  line-height: 1.1666;
  color: var(--color-light);
  text-align: center;
  margin-bottom: 16px;
  padding: 20px;
  border-radius: 10px;
}

.choice-images {
  width: 100%;
  max-width: 312px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
}
.choice-images img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  cursor: pointer;
}

.overlay {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 8;
  background: rgba(0, 0, 0, 0.8);
}

.click-zone {
  width: 40px;
  height: 40px;
  z-index: 5;
	cursor: pointer;
}

.click-zone-burger {
	display: none;
}

.modal {
  width: calc(100% - 24px);
  max-width: 448px;
  height: calc(100% - 24px);
  max-height: 712px;
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 15;
  padding: 20px;
  border-radius: 25px;
  transform: translate(-50%, -50%);
}
.modal .click-zone {
  position: absolute;
  top: 9px;
  right: 8px;
}

.modal-lp {
  background: #98c0ee url("bg_popup_lp.webp") no-repeat 50% top/contain;
}
.modal-lp .modal-btn {
  background: #3372da;
}

.modal-podbor {
  background: #c8b4e1 url("bg_popup_podbor.webp") no-repeat 50% top/contain;
}
.modal-podbor .modal-btn {
  background: #6768D2;
}

/* Both app popups (LovePlanet, Podbor) use a square app icon — show it as a
   rounded badge without the white plate instead of stretching it into a strip. */
.modal-header {
  height: auto;
  margin: auto 0 12px;
  background: transparent;
}
.modal-header img {
  width: 80px;
  height: 80px;
  border-radius: 18px;
}
/* Make taps land on the close button itself, not the inner sprite icon. */
.modal .click-zone i {
  pointer-events: none;
}

.modal-content {
  padding: 20px;
  border-radius: 15px;
  background: var(--color-light);
}
.modal-content h2 {
  margin-bottom: 20px;
  padding: 0;
}
.modal-content p {
  margin-bottom: 20px;
}
.modal-content .text-list {
  margin-bottom: 20px;
}

.feedback-list {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
  margin-top: var(--vertical-indent);
}

.feedback-user {
  gap: 0 30px;
  padding: 20px 15px;
  border-radius: 10px;
  background: var(--color-light);
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.1);
}
.feedback-user .col-1 {
  width: 102px;
  flex-shrink: 0;
}
.feedback-user .col-2 {
  flex-grow: 1;
}
.feedback-user .photo {
  width: 75px;
  height: 75px;
  margin-bottom: 15px;
}
.feedback-user .icon-stack {
  margin-top: 12px;
}

.feedback-box {
  font-size: var(--size-small);
  line-height: 1.3846;
  color: var(--color-secondary);
  margin-top: 5px;
  padding: 10px 50px 10px 10px;
  border-radius: 10px;
  background: #f4f2f2;
}

.editor-box {
  gap: 0 15px;
  color: var(--color-secondary);
}
.editor-box .editor-delimeter {
  width: 100%;
  height: 1px;
  margin: 12px 0;
  background: var(--color-base);
}

.editor-photo {
  width: 71px;
  height: 71px;
}

.name-row {
  align-items: baseline;
  gap: 0 15px;
}
.name-row .name {
  font-size: var(--size-xl);
  color: var(--color-base);
}

.article {
  row-gap: var(--vertical-indent);
  padding: 20px;
  border-radius: 10px;
  background: var(--color-light);
}
.article h1, .article h2, .article h3 {
  line-height: 1.2;
  color: #dd3356;
}
.article h1, .article h2 {
  font-size: 40px;
}
.article h1 {
	margin-bottom: 0;
}
.article h3 {
  font-size: var(--size-xxxl);
  margin-bottom: 0.892em;
}
.article p:not(:last-child) {
  margin-bottom: 25px;
}
.article picture {
  display: block;
  padding-bottom: 20px;
}
.article picture:last-child {
  padding-bottom: 0;
}
.article img:not(.btn-app) {
  width: 100%;
  height: auto;
}

.best-table {
  row-gap: 2px;
  border-radius: 10px;
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.1);
}
.best-table li {
  display: grid;
  grid-template-columns: 220px auto 200px;
  grid-template-rows: auto;
  align-items: center;
  gap: 10px 15px;
  padding: 50px 20px;
  background: var(--color-light);
}
.best-table li:first-child {
  border-radius: 10px 10px 0 0;
}
.best-table li:last-child {
  border-radius: 0 0 10px 10px;
}
.best-table li div:nth-child(1),
.best-table li div:nth-child(3) {
  justify-self: center;
}
.best-table li div:nth-child(2) {
  align-items: self-start;
  row-gap: 10px;
  font-size: var(--size-small);
}
.best-table li .site-name {
  font-size: var(--size-xl);
  line-height: 1.2;
}
.best-table li .btn-main {
  max-width: 149px;
}

.comparison-desktop {
  display: flex;
  max-width: 980px;
  gap: 0 10px;
  font-size: var(--size-small);
}

.comparison-mobile {
  display: none;
}

.col-names {
  flex-grow: 1;
}
.col-names .data-list li {
  justify-content: flex-start;
}
.col-names .data-list li:not(:last-child):not(.item-link):not(.item-button) {
  border-bottom: none;
}

.col-site {
  width: 185px;
  border-radius: 10px;
  background: var(--color-light);
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.1);
}

.data-list {
  padding: 0 10px;
}
.data-list li {
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 0;
}
.data-list li:not(:last-child):not(.item-link):not(.item-button) {
  border-bottom: 1px solid #dcdcdc;
}
.data-list .item-logo {
  height: 84px;
}
.data-list .item-logo img {
  width: 64px;
  height: 64px;
}
.data-list .item-link {
  height: 36px;
}
.data-list .item-button {
  height: 66px;
}
.data-list .btn-main {
  height: 38px;
}

.main-about {
  height: calc(100vh - 80px);
  min-height: 740px;
  padding-top: 108px;
  padding-bottom: 213px;
  background-color: #777675;
  background-image: url("bg_about_1920.webp");
  background-repeat: no-repeat;
  background-position: top right;
  background-size: cover;
}

.about-container {
  max-width: 510px;
  color: rgba(255, 255, 255, 0.85);
  padding-bottom: 30px;
}
.about-container p {
  margin-bottom: 56px;
}
.about-container .text-list li:not(:last-child) {
  margin-bottom: 10px;
}

.review-container {
  align-items: flex-start;
  gap: 0 25px;
}

.review-site {
  flex-grow: 1;
  row-gap: 25px;
}

.review-header, .review-article {
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.1);
}

.review-header {
  display: grid;
  grid-template: auto/minmax(120px, 180px) 1fr 1fr minmax(104px, 1fr);
  gap: 0 15px;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 4;
}
.review-header div {
  font-size: var(--size-small);
  text-align: center;
}
.review-header div:nth-child(1) img {
  width: clamp(120px, 100%, 162px);
}
.review-header div:nth-child(2), .review-header div:nth-child(3) {
  max-width: 207px;
}

.review-article .social-title {
  text-align: center;
  margin-bottom: 20px;
}
.review-article img:not(.btn-app) {
  max-width: 650px;
  margin-inline: auto;
  border-radius: 0;
}
.review-article .btn-main {
  max-width: 275px;
  margin-inline: auto;
}
.review-article .text-list li:not(:last-child) {
  margin-bottom: 20px;
}

.social-buttons-row {
  gap: 20px;
  flex-wrap: wrap;
}

.btn-app-row {
  gap: 0 20px;
}

.btn-app {
  width: 161px;
  height: 48px;
}

.sidebar-review {
  width: 260px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--color-light);
}
.sidebar-review .sidbar-header {
  height: 60px;
  color: var(--color-light);
  padding: 0 15px;
  border-radius: 10px 10px 0 0;
  background: #214070;
}

.site-item {
  row-gap: 10px;
  align-items: center;
  font-size: var(--size-small);
  padding: 20px 0;
}
.site-item .icon-stack {
  margin-bottom: 5px;
}

.doc-article {
  row-gap: var(--vertical-indent);
}
.doc-article h2 {
  font-size: var(--size-xxxl);
  margin-bottom: 20px;
}
.doc-article p:not(:last-child) {
  margin-bottom: 15px;
}

.footer {
  flex-direction: column;
  background: var(--color-light);
}
.footer > div {
  padding: 17px var(--side-padding);
}
.footer, .footer a {
  font-size: var(--size-small);
}

.upward-row {
  height: 120px;
}

.footer-copyright {
  row-gap: 10px;
  border-bottom: 1px solid #d3dfe8;
}
.footer-copyright .link {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-links {
  row-gap: 13px;
}
.footer-links .nav {
  gap: 0 24px;
  margin-inline: auto;
}
.footer-links .nav a {
  text-decoration-thickness: 1px;
}

@media ((min-width: 1120.02px) and (max-width: 1279px)) or (max-width: 860px) {
  .rating-container {
    max-width: 1053px;
  }
  .header-table div:not(.header-title) {
    display: none;
  }
  .header-title {
    width: 100%;
    display: flex;
  }
  .rating-table li div:nth-child(2) {
    width: 100%;
    max-width: 234px;
    flex-shrink: inherit;
  }
  .rating-table li div:nth-child(3), .rating-table li div:nth-child(4) {
    width: 90px;
  }
}
@media (max-width: 1120px) {
  .logo-main {
    width: 225px;
    height: 39px;
  }
  .rating-container {
    max-width: 804px;
    flex-direction: column;
    gap: 35px 0;
    align-items: center;
    margin-inline: auto;
  }
  .review-header {
    grid-template: auto/minmax(120px, 180px) 1fr 1fr minmax(104px, 1fr);
  }
}
@media (max-width: 860px) {
  .discount {
    left: -19px;
  }
	a:has(.logo-main) {
		opacity: 1;
	}
  .header .wrap {
    justify-content: space-between;
  }
  .header .nav-desktop {
    display: none;
  }
  .header .nav-mobile {
    width: 100%;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px 0;
    font-size: var(--size-xl);
    line-height: 1.2;
    position: fixed;
    left: -100%;
    top: 0;
    z-index: 10;
    margin-left: 0;
    padding: 20px;
    background: #fff;
    transition: all 0.25s ease-out;
  }
  .header .nav-mobile a {
    color: var(--color-base);
  }
  .header .nav-mobile .active {
    color: #f01145;
    text-decoration: none;
  }
  .header .menu-show {
    left: 0;
  }
  .nav-header {
    width: 100%;
  }
  .click-zone {
		display: block;
    position: relative;
  }
  .click-zone::before {
    display: block;
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50%;
  }
  .click-zone-burger {
    right: -10px;
    top: 3px;
  }
  .click-zone-burger::before {
    width: 18px;
    height: 15px;
    background-image: url("sprite-stack.svg#burger");
  }
  .click-zone-close {
    right: -13px;
    top: 3px;
  }
  .click-zone-close::before {
    width: 16px;
    height: 15px;
    background-image: url("sprite-stack.svg#cross-red ");
  }
  .main {
    padding-top: 40px;
  }
  .rating-container {
    width: 100%;
  }
  .rating-table li {
    padding-left: 15px;
    padding-right: 15px;
  }
  .rating-table li div:nth-child(1) {
    width: 140px;
  }
  .rating-table li img {
    width: 140px;
  }
  .best-table li {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .best-table li div:nth-child(1) {
    justify-self: self-start;
  }
  .best-table li div:nth-child(2) {
    grid-row: 2;
    grid-column: 1/span 2;
  }
  .best-table li div:nth-child(3) {
    justify-self: self-end;
  }
  .best-table li img {
    width: 140px;
  }
  .best-table .site-name {
    display: none;
  }
  .feedback-user {
    flex-direction: column;
    gap: 15px 0;
  }
  .feedback-user .col-1 {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0 15px;
  }
  .feedback-user .photo {
    margin-bottom: 0;
  }
  .review-header {
    grid-template: auto/minmax(120px, 180px) 1fr minmax(104px, 1fr);
    padding-left: 10px;
    padding-right: 10px;
  }
  .review-header div:nth-child(2) {
    display: none;
  }
  .btn-social {
    width: 100%;
    max-width: 340px;
  }
}
@media (max-width: 767px) {
  .main {
    padding-top: 20px;
  }
  .main-about {
    background-image: url("bg_about_768.webp");
    background-position: top center;
  }
  .rating-table li:not(.header-table) {
    display: grid;
    grid-template: auto auto/repeat(4, 1fr);
    gap: 15px;
    margin: 0 auto;
    position: relative;
  }
  .rating-table li:not(.header-table)::before {
    height: 1px;
    display: block;
    content: "";
    position: absolute;
    left: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.1);
  }
  .rating-table li:not(.header-table) div {
    width: inherit;
  }
  .rating-table li:not(.header-table) div:nth-child(1) {
    grid-row: 1;
    grid-column: 1/span 2;
  }
  .rating-table li:not(.header-table) div:nth-child(2) {
    max-width: inherit;
    grid-row: 1;
    grid-column: 3/span 2;
  }
  .rating-table li:not(.header-table) div:nth-child(3) {
    grid-row: 2;
    grid-column: 1;
  }
  .rating-table li:not(.header-table) div:nth-child(4) {
    grid-row: 2;
    grid-column: 2;
  }
  .rating-table li:not(.header-table) div:nth-child(5) {
    grid-row: 2;
    grid-column: 3/span 2;
  }
  .rating-table li:not(.header-table) img {
    margin-inline: auto;
  }
  .comparison-desktop {
    display: none;
  }
  .comparison-mobile {
    display: flex;
    flex-direction: column;
    row-gap: 5px;
  }
  .comparison-block {
    row-gap: 24px;
    padding: 20px;
    border-radius: 10px;
    background: #fff;
  }
  .comparison-block .btn-main {
    max-width: 340px;
    margin-inline: auto;
  }
  .comparison-header div {
    align-items: center;
    font-size: var(--size-small);
  }
  .comparison-header .logo-box {
    row-gap: 9px;
  }
  .comparison-header .logo-box img {
    width: 140px;
    height: auto;
  }
  .sidebar-review {
    display: none;
  }
  .review-header {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media (max-width: 640px) {
  :root {
    --side-padding: 10px;
  }
  .feedback-list {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, auto);
  }
  .editor-row {
    display: flex;
    align-items: center;
    gap: 0 14px;
  }
  .name-row {
    flex-direction: column;
    row-gap: 5px;
  }
  .article {
    padding: 15px;
  }
  .article h1, .article h2 {
    font-size: 32px;
  }
  .footer-links .nav {
    flex-direction: column;
    align-items: center;
    row-gap: 14px;
  }
}
@media (max-width: 480px) {
  .btn-app-row {
    gap: 0 10px;
  }
  .btn-app {
    width: 148px;
    height: 44px;
  }
  .main-about {
    background-image: url("bg_about_480.webp");
  }
  .about-container p {
    margin-bottom: 36px;
  }
  .rating-table li:not(.header-table) {
    gap: 15px 12px;
  }
  .best-table li,
  .comparison-block {
    padding-left: 15px;
    padding-right: 15px;
  }
  .review-header {
    padding-left: 10px;
    padding-right: 10px;
  }
  .footer-copyright div:last-child {
    display: flex;
    flex-direction: column;
    gap: 7px;
  }
}
[hidden] {
  display: none;
}

.brad20 {
  border-radius: 20px;
}

.mb0 {
  margin-bottom: 0;
}

/* ============================================================
   top7app — «ГдеЗнакомства» app-variant theme override
   purple #7852C5 + pink/magenta #EB3D83 (secondary links stay blue #1084C7)
   ============================================================ */
:root{
  --color-warning:#EB3D83;  /* «Скачать» button fill */
  --color-danger:#EB3D83;   /* rating score number */
}
/* «Скачать» → rounded brand pill, normal case */
.btn-main{ background:#EB3D83; border-radius:100px!important; text-transform:none!important; font-family:var(--bold); }
/* quiz step progress accent */
.choice-steps-row{ --main-color:#EB3D83; }
/* mobile nav active link */
.header .nav-mobile .active{ color:#EB3D83!important; }
/* «Актуально на … год» → purple */
.actual-row{ color:#7852C5; }
/* ── Rating list rebuilt from Figma 38:7383 (fresh .app-rating, no website grid) ── */
.app-rating{ display:flex; flex-direction:column; row-gap:2px; max-width:340px; margin:0 auto; border-radius:10px; box-shadow:0 3px 6px rgba(0,0,0,.1); list-style:none; padding:0; }
.app-rating-bar{ background:#d7e1eb; color:#262626; font-family:var(--bold); font-weight:700; font-size:15px; line-height:20px; text-align:center; padding:20px; border-radius:10px 10px 0 0; }
.app-rating > li:not(.app-rating-bar){ background:#fff; padding:20px 15px; }
.app-rating > li:last-child{ border-radius:0 0 10px 10px; }
.rt-top{ display:flex; align-items:center; gap:20px; }
.rt-ico{ flex-shrink:0; display:block; }
.rt-ico img{ width:80px; height:80px; border-radius:18px; object-fit:cover; display:block; }
.rt-info{ flex:1; min-width:0; }
.rt-info .app-name{ font-family:var(--bold); font-weight:700; font-size:20px; line-height:1.2; color:#262626; margin-bottom:6px; }
.rt-desc{ font-size:13px; line-height:1.38; color:#262626; }
.rt-bottom{ display:flex; align-items:center; gap:15px; margin-top:14px; padding-top:16px; border-top:1px solid rgba(0,0,0,.1); }
.rt-count{ width:70px; flex-shrink:0; text-align:center; font-size:13px; color:#262626; }
.rt-count .rt-num{ display:block; font-size:20px; line-height:1.2; }
.rt-score{ flex:1; min-width:0; display:flex; flex-direction:column; align-items:flex-start; justify-content:center; }
.rt-score .rating{ font-size:35px; line-height:1; color:#EB3D83; font-family:var(--regular); }
.rt-score a{ font-size:13px; color:#1084c7; margin-top:2px; }
.rt-bottom .btn-main{ width:140px; flex-shrink:0; height:auto; min-height:44px; margin:0; padding:11px 16px; }

/* Desktop (≥1121px — the two-column zone): use the width. The rating list fills
   the row as the main column and the quiz becomes a sticky right sidebar that
   follows the scroll, instead of a narrow 340px card with a big empty gap. */
@media (min-width: 1121px) {
  .rating-container{ gap:0 40px; align-items:flex-start; }
  .app-rating{ max-width:none; width:auto; flex:1 1 auto; margin:0; }
  .sidebar-main{ width:360px; position:sticky; top:20px; align-self:flex-start; }
}
/* ── Reviews rebuilt from Figma 38:7677 (.app-review) ── */
.app-reviews-list{ display:flex; flex-direction:column; gap:20px; margin-top:var(--vertical-indent); }
.app-review{ background:#fff; border-radius:15px; padding:20px 15px; box-shadow:0 3px 6px rgba(0,0,0,.1); display:flex; flex-direction:column; gap:15px; }
.app-review-head{ display:flex; align-items:center; gap:15px; }
.app-review-photo{ width:75px; height:75px; border-radius:50%; object-fit:cover; flex-shrink:0; }
.app-review-meta{ display:flex; flex-direction:column; gap:6px; min-width:0; }
.app-review-app{ font-family:var(--bold); font-weight:700; font-size:20px; line-height:1.1; color:#262626; }
.app-review-intro{ font-size:15px; line-height:20px; color:#262626; }
.app-review-intro a{ color:#1084c7; }
.app-review-box{ background:#f4f2f2; border-radius:10px; padding:10px; font-size:13px; line-height:18px; color:#6e6d6d; }
/* ── «Обзоры» index list (Figma 38:3593): icon40 + name + Скачать / desc / Читать обзор ── */
.obzor-list{ display:flex; flex-direction:column; row-gap:2px; border-radius:10px; box-shadow:0 3px 6px rgba(0,0,0,.1); list-style:none; padding:0; margin:0; }
.obzor-card{ background:#fff; padding:20px 15px; }
.obzor-card:first-child{ border-radius:10px 10px 0 0; }
.obzor-card:last-child{ border-radius:0 0 10px 10px; }
.obzor-head{ display:flex; align-items:center; gap:12px; }
.obzor-ico{ flex-shrink:0; display:block; }
.obzor-ico img{ width:40px; height:40px; border-radius:10px; object-fit:cover; display:block; }
.obzor-name{ font-family:var(--bold); font-weight:700; font-size:20px; color:#262626; flex:1; min-width:0; }
.obzor-dl{ width:150px; flex-shrink:0; height:auto; min-height:44px; margin:0; padding:11px 16px; }
.obzor-desc{ font-size:13px; line-height:1.38; color:#262626; margin-top:14px; }
.obzor-more{ display:inline-block; margin-top:10px; font-size:13px; color:#1084c7; }
/* review app screenshots: phone mockups centered, AI banner full-width.
   Even vertical rhythm — kill the preceding <p>/<ul> bottom margin so the gap
   above the image isn't doubled, then apply symmetric 18px top/bottom. */
.article .review-shot{ display:block; width:auto; max-width:250px; height:auto; margin:18px auto; }
.article .review-banner{ display:block; width:100%; height:auto; border-radius:12px; margin:18px 0; }
.review-article p:has(+ .review-shot), .review-article p:has(+ .review-banner),
.review-article ul:has(+ .review-shot), .review-article ul:has(+ .review-banner){ margin-bottom:0; }
/* ── Review pages rebuilt from Figma 38:4093 ── */
/* top logo-rating card removed (not in macet) — article opens with «Общее впечатление» */
body:has(.review-dlbar) .review-site > .review-header{ display:none; }
.review-article h1.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
/* «Скачать» offer pinned to viewport bottom (icon + name | score | Скачать) */
.review-dlbar{ position:fixed; left:0; right:0; bottom:0; z-index:50; background:#fff; box-shadow:0 -3px 12px rgba(0,0,0,.12); padding:10px 0; }
.review-dlbar-in{ max-width:640px; margin:0 auto; display:flex; align-items:center; gap:12px; padding:0 15px; }
.rdl-ico{ flex-shrink:0; display:block; }
.rdl-ico img{ width:42px; height:42px; border-radius:10px; object-fit:cover; display:block; }
/* sidebar «Ещё больше приложений» — square app icons: uniform size + rounding
   (was: .logo-annadates undefined → 192px oversized; sharp corners) */
.site-item .logo-lp, .site-item .logo-podbor, .site-item .logo-sp, .site-item .logo-rusmeet,
.site-item .logo-datesecret, .site-item .logo-fp, .site-item .logo-annadates{
  width:96px; height:96px; border-radius:21px; object-fit:cover;
}
/* «Сравнение» — square app icons rounded (item-logo table + logo-box mobile cards) */
.data-list .item-logo img{ border-radius:21%; }
/* sub-page rating list (Серьёзные / Секс) — square app icons rounded */
.rating-table li img{ border-radius:21%; }
/* «Сравнение» mobile cards — match Figma: small rounded icon + name + stars beside it */
.comparison-header .logo-box{ flex-direction:row; align-items:center; gap:12px; }
.comparison-header .logo-box img{ width:64px; height:64px; border-radius:21%; object-fit:cover; }
.comparison-header .cmp-meta{ row-gap:6px; align-items:flex-start; }
.comparison-header .cmp-name{ font-family:var(--bold); font-weight:700; font-size:20px; line-height:1.1; color:#262626; }
.rdl-name{ font-family:var(--bold); font-weight:700; font-size:18px; line-height:1.1; color:#262626; }
.rdl-score{ margin-left:auto; display:flex; flex-direction:column; align-items:center; line-height:1; }
.rdl-score .rating{ font-size:28px; line-height:1; color:#EB3D83; font-family:var(--regular); }
.rdl-label{ font-size:11px; line-height:1.1; color:#6e6d6d; margin-top:3px; text-align:center; }
.rdl-btn{ width:auto; min-width:104px; flex-shrink:0; height:auto; min-height:44px; margin:0; padding:11px 20px; }
body:has(.review-dlbar) .wrapper{ padding-bottom:84px; }
/* «ГдеЗнакомства» inline logo (header + mobile nav) */
.logo-gz{ display:inline-flex; align-items:center; gap:8px; text-decoration:none; }
.logo-gz-ic{ width:32px; height:36px; display:block; flex-shrink:0; }
.logo-gz-tx{ font-family:var(--bold); font-weight:800; font-size:21px; line-height:1; color:#EB3D83; letter-spacing:-.01em; }
.logo-gz-tx i{ font-style:normal; color:#7852C5; }
