/* Главная: рекламный блок знакомств для питомца. Только .cotinder-paw-home */
.cotinder-paw-home {
    box-sizing: border-box;
    margin: 0 0 14px;
    padding: 14px 16px 16px;
    border: 1px solid #ead9c6;
    border-radius: 16px;
    background: linear-gradient(180deg, #fff8ef 0%, #fff 72%);
    color: #2d2d2d;
    max-width: 100%;
}
.cotinder-paw-home *,
.cotinder-paw-home *::before,
.cotinder-paw-home *::after {
    box-sizing: border-box;
}
.cotinder-paw-home__kicker {
    margin: 0 0 2px;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #b15b12;
    font-weight: 700;
}
.cotinder-paw-home__title {
    margin: 0 0 6px;
    font-size: 1.2rem;
    line-height: 1.25;
    font-weight: 700;
}
.cotinder-paw-home__lead {
    margin: 0 0 8px;
    color: #555;
    font-size: 0.92rem;
    line-height: 1.4;
}
.cotinder-paw-home__count {
    margin: 0 0 10px;
    font-size: 0.92rem;
}
.cotinder-paw-home__count strong {
    color: #fd7728;
}
.cotinder-paw-home__strip {
    display: none;
}
.cotinder-paw-home__picker {
    margin: 0 0 12px;
    padding: 10px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #f0e2d2;
}
.cotinder-paw-home--embed {
    margin: 10px 0 0;
    padding: 10px 12px 12px;
    border-color: #f0e2d2;
    background: #fffdf9;
    box-shadow: none;
}
.cotinder-paw-home__head--embed .cotinder-paw-home__lead {
    margin-bottom: 6px;
}
.cotinder-paw-home__pets {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
}
.cotinder-paw-home__cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
.cotinder-paw-home__col {
    min-width: 0;
    padding: 10px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #f0e2d2;
}
.cotinder-paw-home__col-title {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #8a5a32;
}
.cotinder-paw-home__pet {
    display: flex;
    align-items: center;
    gap: 8px;
    width: auto;
    min-width: 148px;
    max-width: 100%;
    flex: 1 1 160px;
    margin: 0;
    padding: 6px;
    border: 1px solid #ead9c6;
    border-radius: 12px;
    background: #fffaf4;
    text-align: left;
    cursor: pointer;
    color: inherit;
}
.cotinder-paw-home__pet.is-on {
    border-color: #fd7728;
    box-shadow: 0 0 0 2px rgba(253, 119, 40, 0.18);
}
.cotinder-paw-home__pet img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    flex: 0 0 44px;
    background: #f3e4d4;
}
.cotinder-paw-home__pet span {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
    overflow-wrap: anywhere;
}
.cotinder-paw-home__pet strong,
.cotinder-paw-home__match strong {
    font-size: 14px;
    line-height: 1.2;
}
.cotinder-paw-home__pet em,
.cotinder-paw-home__match span {
    font-style: normal;
    font-size: 12px;
    line-height: 1.3;
    color: #6d5a4a;
}
.cotinder-paw-home__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 12px;
}
.cotinder-paw-home__tab {
    margin: 0;
    padding: 8px 14px;
    min-height: 40px;
    border: 1px solid #ead9c6;
    border-radius: 999px;
    background: #fff;
    color: #6d5a4a;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 3;
}
.cotinder-paw-home__tab.is-on {
    background: #fd7728;
    border-color: #fd7728;
    color: #fff;
}
.cotinder-paw-home__col[hidden],
.page-index .cotinder-paw-home__col[hidden],
.page-index #cotinder-paw-home .cotinder-paw-home__col[hidden] {
    display: none !important;
}
.cotinder-paw-home__lane-lead {
    display: none !important;
}
.cotinder-index-feed > .cotinder-daily-loop ~ .cotinder-daily-loop,
.cotinder-index-feed > .cotinder-swipe-rail ~ .cotinder-swipe-rail {
    display: none !important;
}
body:has([data-paw-home]) .cotinder-feed-nudge--date {
    display: none !important;
}
/* The card is hidden, but the .index__post still reserved a column — a blank slot after the previous post. */
body:has([data-paw-home]) .cotinder-index-feed .index__posts > .index__post:has(> .cotinder-feed-nudge--date) {
    display: none !important;
}
.page-index .cotinder-daily-loop,
.page-index .cotinder-swipe-rail,
.page-index #cotinder-paw-home,
.page-index .cotinder-paw-home--embed {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    width: 100%;
    max-width: 100%;
}
.cotinder-paw-home__col--pair {
    background: #fff7f0;
}
.cotinder-paw-home__need-pet {
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff4ea;
  border: 1px solid #fd7728;
  color: #5a3416;
  font-size: 0.95rem;
  line-height: 1.4;
}
.cotinder-paw-home__need-pet a {
  display: inline-block;
  margin-left: 6px;
  font-weight: 700;
  color: #fd7728;
  text-decoration: underline;
}
.cotinder-paw-home__matches {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: stretch;
}
.cotinder-paw-home__matches > li,
.page-index .cotinder-paw-home__matches > li {
    padding-left: 0;
}
.cotinder-paw-home__matches > li::before,
.page-index .cotinder-paw-home__matches > li::before {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: none !important;
}
.cotinder-paw-home__match {
    min-width: 0;
    display: none;
}
.cotinder-paw-home__match:nth-child(1) {
    display: block;
}
.cotinder-paw-home__card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: 14px;
    background: #fffaf4;
    border: 1px solid #ead9c6;
    touch-action: pan-y;
}
.cotinder-paw-home--swipe .cotinder-paw-home__card {
    touch-action: pan-y;
    cursor: grab;
    user-select: none;
}
.cotinder-paw-home--swipe .cotinder-paw-home__card.is-dragging {
    cursor: grabbing;
    z-index: 2;
}
.cotinder-paw-home__match-photo {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    height: auto;
    object-fit: cover;
    background: #f3e4d4;
}
.cotinder-paw-home__match-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 10px 10px;
    overflow-wrap: anywhere;
}
.cotinder-paw-home__about {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.3;
    color: #6d5a4a;
}
.cotinder-paw-home__stamp {
    position: absolute;
    left: 10px;
    top: 12px;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    opacity: 0;
    pointer-events: none;
}
.cotinder-paw-home__stamp--like {
    border: 2px solid #2f6b4f;
    color: #2f6b4f;
    background: rgba(255, 255, 255, 0.9);
}
.cotinder-paw-home__stamp--skip {
    border: 2px solid #b15b12;
    color: #b15b12;
    background: rgba(255, 255, 255, 0.9);
    left: auto;
    right: 10px;
}
.cotinder-paw-home__card[data-drag-dir="up"] .cotinder-paw-home__stamp--like,
.cotinder-paw-home__card[data-drag-dir="right"] .cotinder-paw-home__stamp--like,
.cotinder-paw-home__card[data-drag-dir="down"] .cotinder-paw-home__stamp--skip,
.cotinder-paw-home__card[data-drag-dir="left"] .cotinder-paw-home__stamp--skip {
    opacity: 1;
}
.cotinder-paw-home__hit {
    display: flex;
    gap: 8px;
    padding: 0 10px 10px;
}
.cotinder-paw-home__hit-btn {
    flex: 1 1 0;
    margin: 0;
    min-height: 40px;
    padding: 8px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    line-height: 1.2;
}
.cotinder-paw-home__hit-btn--skip {
    background: #fff;
    color: #b15b12;
    border: 2px solid #ead9c6;
}
.cotinder-paw-home__hit-btn--like {
    background: #fd7728;
    color: #fff;
    border: 2px solid #fd7728;
}
.cotinder-paw-home__hit-btn:hover,
.cotinder-paw-home__hit-btn:focus-visible {
    filter: brightness(0.96);
}
.cotinder-paw-home__card.is-exit-up {
    transform: translateY(-120%) rotate(-8deg);
    opacity: 0;
    transition: transform 0.22s ease, opacity 0.22s ease;
}
.cotinder-paw-home__card.is-exit-down {
    transform: translateY(120%) rotate(8deg);
    opacity: 0;
    transition: transform 0.22s ease, opacity 0.22s ease;
}
.cotinder-paw-home__deck {
    position: relative;
    padding-right: 36px;
}
.cotinder-paw-home__more {
    position: absolute;
    right: -6px;
    top: 42%;
    transform: translateY(-50%);
    z-index: 3;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 0;
    padding: 0;
    line-height: 0;
    filter: drop-shadow(0 4px 10px rgba(80, 24, 0, 0.22));
}
.cotinder-paw-home__more svg {
    width: 58px;
    height: 58px;
    display: block;
}
.cotinder-paw-home__more:hover svg path,
.cotinder-paw-home__more:focus-visible svg path {
    fill: #e85d04;
}
.cotinder-paw-home__actions {
    display: none;
}
.cotinder-paw-home__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 16px;
    border-radius: 999px;
    background: #fd7728;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
}
.cotinder-paw-home__engage {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 16px;
    border-radius: 999px;
    background: #1d1d1d;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
}
.cotinder-paw-home__flash {
    margin: 10px 0 0;
    font-size: 13px;
    font-weight: 700;
    color: #2f6b4f;
}
.cotinder-paw-home__viral,
.cotinder-paw-home__share,
.cotinder-paw-home__ghost {
    display: none;
}

@media (min-width: 640px) and (max-width: 1199px) {
    .page-index #cotinder-paw-home .cotinder-paw-home__deck,
    .cotinder-paw-home__deck {
        padding-right: 44px;
    }
    .page-index #cotinder-paw-home .cotinder-paw-home__matches,
    .cotinder-paw-home .cotinder-paw-home__matches {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .page-index #cotinder-paw-home .cotinder-paw-home__match:nth-child(-n+2),
    .cotinder-paw-home .cotinder-paw-home__match:nth-child(-n+2) {
        display: block;
    }
}

@media (min-width: 1024px) {
    .cotinder-paw-home {
        padding: 16px 18px 18px;
    }
    .cotinder-paw-home__title {
        font-size: 1.28rem;
    }
    .cotinder-paw-home__deck {
        padding-right: 48px;
    }
}

@media (min-width: 1200px) {
    .page-index #cotinder-paw-home .cotinder-paw-home__matches,
    #cotinder-paw-home .cotinder-paw-home__matches,
    [data-paw-home] .cotinder-paw-home__matches,
    .cotinder-paw-home .cotinder-paw-home__matches {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 10px;
    }
    .page-index #cotinder-paw-home .cotinder-paw-home__match:nth-child(-n+3),
    #cotinder-paw-home .cotinder-paw-home__match:nth-child(-n+3),
    [data-paw-home] .cotinder-paw-home__match:nth-child(-n+3),
    .cotinder-paw-home .cotinder-paw-home__match:nth-child(-n+3) {
        display: block !important;
        width: auto !important;
        max-width: none !important;
        padding-left: 0;
    }
}
