/* Jutsu Franchises — только страницы франшиз */
/* кнопка назад — тот же вид, что у новостей */
.news-full__backlink {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 7px 12px 7px 10px;
    border-radius: 10px;
    border: 1px solid var(--j-info-tabs-border);
    background: var(--j-info-tabs-bg);
    color: var(--j-info-tab-text);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}
.news-full__backlink::before {
    content: "";
    width: 6px;
    height: 6px;
    border-left: 1.8px solid currentColor;
    border-bottom: 1.8px solid currentColor;
    transform: rotate(45deg);
}
.news-full__backlink:hover {
    background: var(--j-info-tab-active-bg);
    color: var(--j-info-tab-active-text);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    text-decoration: none;
}
.news-full__backlink:active { transform: scale(0.97); }
.fr-full__backlink { margin: 0 0 14px; }

.fr-page {
    width: 100%;
}

.fr-page__head {
    margin-bottom: 22px;
}

.fr-page__title {
    margin: 0 0 8px;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--j-text-strong);
}

.fr-page__lead {
    margin: 0;
    max-width: 42rem;
    color: var(--j-text-muted);
    line-height: 1.45;
}

.fr-list-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px 16px;
}

.fr-list-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-decoration: none !important;
    color: inherit;
    min-width: 0;
}

.fr-list-card:hover,
.fr-list-card:focus {
    text-decoration: none !important;
    color: inherit;
}

.fr-list-card__media {
    display: block;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #2a2d34;
}

.fr-list-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.fr-list-card:hover .fr-list-card__media img {
    transform: scale(1.04);
}

.fr-list-card__title {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--j-text-strong);
    line-height: 1.3;
}

.fr-list-card__count {
    font-size: 0.85rem;
    color: var(--j-text-muted);
}

.fr-pager {
    margin-top: 28px;
}

.fr-pager__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.fr-pager__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 10px;
    background: var(--j-surface);
    color: var(--j-text);
    text-decoration: none;
    border: 1px solid var(--j-border);
}

.fr-pager__link:hover,
.fr-pager__link:focus,
.fr-pager__link_active {
    background: var(--j-info-tab-active-bg);
    color: var(--j-text-strong);
    border-color: rgba(152, 188, 31, 0.35);
    text-decoration: none;
}

.fr-full__backlink {
    margin: 0 0 14px;
}

.fr-hero {
    position: relative;
    min-height: 220px;
    border-radius: 16px;
    overflow: hidden;
    background: #222 var(--fr-bg) center / cover no-repeat;
    margin-bottom: 28px;
    box-shadow: var(--j-info-surface-shadow);
}

.fr-hero__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(12, 14, 12, 0.92) 0%, rgba(12, 14, 12, 0.55) 48%, rgba(12, 14, 12, 0.2) 100%);
}

.fr-hero__content {
    position: relative;
    z-index: 1;
    padding: 36px 28px;
    max-width: 36rem;
}

.fr-hero__eyebrow {
    margin: 0 0 8px;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--j-info-accent-text);
}

.fr-hero__title {
    margin: 0 0 10px;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
}

.fr-hero__meta {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: rgba(230, 230, 235, 0.88);
    font-size: 0.95rem;
}

.fr-hero__dot {
    opacity: 0.55;
}

.fr-full__section-title {
    margin: 0 0 18px;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--j-text-strong);
}

.fr-titles-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: var(--j-info-surface, #2c2c2e);
    border: 1px solid var(--j-info-surface-border, rgba(84, 84, 88, 0.45));
    box-shadow: var(--j-info-surface-shadow);
}

.fr-title-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 12px 18px 12px 12px;
    text-decoration: none !important;
    color: inherit;
    min-width: 0;
    border-bottom: 1px solid var(--j-info-divider, rgba(255, 255, 255, 0.08));
    transition: background-color 0.15s ease;
}

.fr-title-row:last-child {
    border-bottom: none;
}

.fr-title-row:hover,
.fr-title-row:focus {
    text-decoration: none !important;
    color: inherit;
    background: rgba(152, 188, 31, 0.08);
}

.fr-title-row__poster {
    display: block;
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--j-surface);
    flex: 0 0 72px;
}

.fr-title-row__poster img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    display: block;
}

.fr-title-row__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    flex: 1 1 0;
    min-width: 0;
    padding-right: 56px;
    z-index: 1;
}

.fr-title-row__title {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--j-text-strong);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fr-title-row__orig,
.fr-title-row__meta {
    font-size: 0.82rem;
    line-height: 1.3;
    color: var(--j-text-muted, #8e8e93);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fr-title-row__index {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    color: rgba(255, 255, 255, 0.12);
    pointer-events: none;
    user-select: none;
    line-height: 1;
}

body.light .fr-title-row__index {
    color: rgba(0, 0, 0, 0.1);
}

.fr-empty {
    padding: 22px 18px;
    border-radius: 14px;
    background: var(--j-info-surface);
    border: 1px solid var(--j-info-surface-border);
    color: var(--j-text-muted);
    line-height: 1.45;
}

.fr-infinite {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    margin-top: 16px;
    color: var(--j-text-muted);
    font-size: 0.9rem;
}

.fr-infinite[aria-hidden="true"] {
    display: none;
}

.fr-infinite.is-loading .fr-infinite__label {
    opacity: 1;
}

.fr-infinite__label {
    opacity: 0.75;
}

@media screen and (max-width: 1100px) {
    .fr-list-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 820px) {
    .fr-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fr-title-row {
        gap: 12px;
        padding: 10px 14px 10px 10px;
    }

    .fr-title-row__body {
        padding-right: 44px;
    }

    .fr-hero {
        min-height: 190px;
    }

    .fr-hero__content {
        padding: 28px 20px;
    }
}

@media screen and (max-width: 560px) {
    .fr-list-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px 10px;
    }

    .fr-title-row {
        gap: 10px;
        padding: 10px;
    }

    .fr-title-row__poster {
        flex-basis: 56px;
        width: 56px;
        height: 56px;
        border-radius: 8px;
    }

    .fr-title-row__poster img {
        width: 56px;
        height: 56px;
    }

    .fr-title-row__title {
        font-size: 0.92rem;
    }

    .fr-title-row__orig,
    .fr-title-row__meta {
        font-size: 0.75rem;
    }

    .fr-title-row__index {
        right: 10px;
        font-size: 1.6rem;
    }

    .fr-page__title {
        font-size: 1.45rem;
    }
}
