:root {
    --main-red: #8a3d2f;
    --main-red-hover: #a44a39;
    --dark-bg: #121212;
    --surface: #181818;
    --surface-2: #1f1f1f;
    --glass-bg: rgba(28, 28, 28, 0.62);
    --card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.015) 100%);
    --text: #e8e8e8;
    --text-muted: #a6a6a6;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.14);
    --shadow-sm: 0 10px 24px rgba(0, 0, 0, 0.20);
    --shadow-md: 0 18px 40px rgba(0, 0, 0, 0.28);
    --radius: 18px;
    --radius-sm: 12px;
    --transition: 0.25s ease;
}

/* Хлебные крошки */
.folder-top-bio {
    max-width: 1300px;
    margin: 0 auto 14px;
    color: var(--text-muted);
    font-size: 14px;
}

.folder-top-bio a {
    color: #e7e7e7;
    text-decoration: none;
}

.folder-top-bio a:hover {
    color: var(--main-red-hover);
}

/* Шапка */
.header-bio-band {
    position: relative;
    max-width: 1300px;
    min-height: 370px;
    margin: 0 auto 34px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    isolation: isolate;
}

.header-bio-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.06)),
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 26%);
    pointer-events: none;
    z-index: 1;
}

.header-bio-band::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    pointer-events: none;
    z-index: 2;
}

/* Соцсети в шапке */
.social-icons-bio-band {
    position: absolute;
    top: 18px;
    left: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    z-index: 3;
}

.social-icon-bio-band {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.social-icon-bio-band:hover {
    transform: translateY(-2px);
    background: rgba(138, 61, 47, 0.28);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

/* Навигация */
.nav-bio-band {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: calc(100% - 32px);
    max-width: 900px;
    padding: 12px;
    background: var(--glass-bg);
    border: 1px solid var(--line);
    border-radius: 18px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 3;
}

.nav-bio-band-compact {
    max-width: 520px;
}

.nav-btn-bio-band {
    padding: 12px 18px;
    min-width: 150px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition:
        background var(--transition),
        border-color var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.nav-bio-band-compact .nav-btn-bio-band {
    min-width: 190px;
}

.nav-btn-bio-band:hover {
    background: rgba(138, 61, 47, 0.20);
    border-color: rgba(255, 255, 255, 0.14);
    transform: translateY(-1px);
}

.active-bio-band {
    background: linear-gradient(180deg, rgba(138, 61, 47, 0.95) 0%, rgba(122, 51, 38, 0.95) 100%) !important;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

/* Контейнеры разделов */
.content-bio-band {
    max-width: 1300px;
    margin: 0 auto 22px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;

    opacity: 1;
    transform: none;
    animation: none;

    position: relative;
    overflow: visible;
}

.content-bio-band::before {
    display: none;
}

.hidden-bio-band {
    display: none !important;
}

@keyframes contentAppear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Основная сетка */
.bio-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    margin: 0 0 26px;
    align-items: start;
}

/* Главный текст отдельным блоком */
.bio-text {
    max-width: 100%;
    min-width: 0;
    padding: 28px 30px;
    color: var(--text);
    font-size: 15px;
    line-height: 1.85;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.bio-text::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -30%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 48%,
            #ffffff08 48%,
            #ffffff08 52%,
            transparent 52%);
    transform: rotate(25deg);
    pointer-events: none;
}

.bio-text>* {
    position: relative;
    z-index: 1;
}

.bio-text small {
    display: inline-block;
    margin-bottom: 5px;
    color: antiquewhite !important;
}

.bio-text h1 {
    margin: 0 0 18px;
    padding-bottom: 12px;
    color: #fff;
    line-height: 1.15;
    border-bottom: 1px solid var(--line-strong);
}

.bio-text h1 b {
    font-size: 30px;
}

.bio-text>p {
    margin: 16px 0 0;
    color: var(--text);
}

/* Правая колонка */
.bio-sidebar {
    position: sticky;
    top: 14px;
    align-self: start;
    height: max-content;
}

.bio-sidebar-inner {
    display: flex;
    flex-direction: column;
    gap: 16px;

    transform: translateY(var(--sidebar-shift, 0px));
    will-change: transform;

    transition: transform 0.22s ease-out;
}

.band-logo,
.band-profile,
.band-info,
.side-card-bio-band {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.band-logo,
.band-profile {
    width: 100%;
    display: block;
    object-fit: cover;
    border-radius: 14px;
    background-color: #101010;
}

.band-logo {
    height: 100px;
}

.band-profile {
    height: 230px;
}

/* Информация о группе */
.band-info {
    border-radius: 16px;
    padding: 16px;
    line-height: 1.55;
}

.band-info p {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 8px;
    margin: 0;
    padding: 10px 0;
    color: var(--text);
    border-bottom: 1px solid var(--line);
    font-size: 13px;
}

.band-info p:last-child {
    border-bottom: 0;
}

.band-info strong {
    color: #f0dfcf;
    font-size: 13px;
    font-weight: 600;
    min-width: 0;
    display: block;
}

.band-info span {
    color: var(--text);
    display: block;
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.side-translate-line-bio-band {
    margin-top: 14px;
    padding-top: 14px;
}

.side-translate-row-bio-band {
    display: block !important;
    padding: 0 !important;
    border-bottom: 0 !important;
}

/* Кнопка перевода */
#button-add-translate-info {
    background: rgba(255, 255, 255, 0.045);
    color: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 14px;
    cursor: pointer;
    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
    margin-top: 0;
    display: inline-block;
    text-decoration: none;
}

#button-add-translate-info:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.065);
    border-color: var(--line-strong);
}

/* Общие правые карточки */
.side-card-bio-band {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    padding: 16px;
}

.side-card-bio-band::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -30%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 48%,
            #ffffff08 48%,
            #ffffff08 52%,
            transparent 52%);
    transform: rotate(25deg);
    pointer-events: none;
}

.side-card-bio-band>* {
    position: relative;
    z-index: 1;
}

.side-card-bio-band h2 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 14px;
    padding-bottom: 10px;
    color: #fff;
    font-size: 1.05rem;
    line-height: 1.2;
    border-bottom: 1px solid var(--line-strong);
}

.side-card-bio-band h2 i {
    color: var(--main-red-hover);
}

/* Кнопка Спасибо справа */
.side-thanks-action-bio-band {
    padding: 0;
}

.side-thanks-btn-bio-band {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 42px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    background: linear-gradient(180deg, #2ea44f 0%, #23863f 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 13px;
    cursor: pointer;
    box-shadow:
        0 10px 22px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition:
        transform var(--transition),
        filter var(--transition),
        box-shadow var(--transition);
}

.side-thanks-btn-bio-band:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
    box-shadow:
        0 14px 28px rgba(0, 0, 0, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.side-thanks-btn-bio-band .fal {
    font-size: 15px;
}

/* Состав справа */
.side-members-group-bio-band {
    margin-top: 14px;
}

.side-members-group-bio-band:first-of-type {
    margin-top: 0;
}

.side-members-group-bio-band h3 {
    margin: 0 0 10px;
    color: antiquewhite;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.side-member-card-bio-band {
    position: relative;
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 11px 12px;
    margin-top: 8px;
    background: rgba(255, 255, 255, 0.028);
    border: 1px solid rgba(255, 255, 255, 0.055);
    border-radius: 12px;
    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition);
}

.side-member-card-bio-band:hover {
    transform: translateX(2px);
    background: rgba(255, 255, 255, 0.045);
    border-color: rgba(164, 74, 57, 0.24);
}

.side-member-dot-bio-band {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    border-radius: 50%;
    background:
        linear-gradient(135deg, rgba(164, 74, 57, 0.95), rgba(122, 51, 38, 0.8));
    box-shadow:
        0 0 0 4px rgba(164, 74, 57, 0.08),
        0 0 16px rgba(164, 74, 57, 0.14);
}

.side-member-card-bio-band b {
    display: block;
    color: #fff;
    font-size: 13px;
    line-height: 1.35;
}

.side-member-card-bio-band span {
    display: block;
    margin-top: 3px;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.45;
}

.side-member-ex-bio-band {
    opacity: 0.88;
}

.side-member-ex-bio-band .side-member-dot-bio-band {
    background:
        linear-gradient(135deg, rgba(130, 130, 130, 0.95), rgba(80, 80, 80, 0.8));
    box-shadow:
        0 0 0 4px rgba(255, 255, 255, 0.04),
        0 0 14px rgba(255, 255, 255, 0.06);
}

.side-empty-bio-band {
    padding: 12px;
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 13px;
    text-align: center;
    border: 1px dashed var(--line-strong);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.018);
}

/* Соцсети справа */
.side-social-list-bio-band {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.side-social-btn-bio-band {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    color: var(--text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.028);
    border: 1px solid rgba(255, 255, 255, 0.055);
    border-radius: 12px;
    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition),
        color var(--transition);
}

.side-social-btn-bio-band i {
    width: 20px;
    color: var(--main-red-hover);
    text-align: center;
    font-size: 15px;
}

.side-social-btn-bio-band:hover {
    transform: translateX(2px);
    color: #fff;
    background: rgba(255, 255, 255, 0.045);
    border-color: rgba(164, 74, 57, 0.24);
}

/* Метаданные под текстом */
.meta-info {
    margin-top: 26px;
    padding: 14px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
    gap: 8px;
    color: var(--text-muted);
    font-size: 13px;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.meta-info span {
    display: flex;
    align-items: center;
    min-height: 38px;
    padding: 9px 11px;
    border: 1px solid rgba(255, 255, 255, 0.055);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
}

.meta-info p {
    margin: 0;
    display: inline;
}

.meta-info a {
    color: #d45134;
    text-decoration: none;
    font-weight: 600;
}

.meta-info a:hover {
    color: var(--main-red-hover);
    text-decoration: underline;
}

.meta-info .meta-viewed-row {
    display: block;
}

.antiquewhite {
    color: antiquewhite;
}

/* Форма перевода */
.container-translation {
    border-radius: 16px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: var(--shadow-sm);
    display: none;
    margin: 18px 0 22px;
}

.translate-textarea {
    margin-bottom: 10px;
    background: transparent;
}

.translate-textarea span {
    color: var(--text-muted);
}

#translation-text,
#language-select-translate,
.copy-container input,
#videoForm input[type="text"],
#type-video-select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
    outline: none;
    transition:
        border-color var(--transition),
        box-shadow var(--transition),
        background var(--transition);
    box-sizing: border-box;
}

#translation-text {
    min-height: 190px;
    resize: vertical;
}

.select-lang-translate {
    margin: 10px 0 8px;
    color: #fff;
    font-size: 14px;
}

/* BB copy */
.bb-copy-grid-bio-band {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    text-align: center;
    margin-top: 10px;
}

.bb-copy-card-bio-band img {
    max-width: 100%;
    border-radius: 10px;
    border: 1px solid var(--line);
}

.copy-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 8px;
    gap: 8px;
}

.copy-container input {
    text-align: center;
    font-size: 12px;
}

.copy-message {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.copy-message i {
    font-size: 18px !important;
    border: 1px solid var(--line-strong) !important;
    border-radius: 10px;
    padding: 10px !important;
    margin-left: 0 !important;
    background: rgba(255, 255, 255, 0.04);
    transition:
        background var(--transition),
        transform var(--transition);
}

.copy-message:hover i {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-1px);
}

/* Кнопки */
#submit-button-translate,
#toggleFormBtn,
#toggleFormBtnPhoto,
#videoForm button[type="submit"] {
    background: rgba(255, 255, 255, 0.045);
    color: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 14px;
    cursor: pointer;
    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
    margin-top: 10px;
    display: inline-block;
}

#submit-button-translate:hover,
#toggleFormBtn:hover,
#toggleFormBtnPhoto:hover,
#videoForm button[type="submit"]:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.065);
    border-color: var(--line-strong);
}

/* Заголовки блоков */
.content-bio-band>h1 {
    max-width: 1300px;
    margin: 26px 0 14px;
    padding: 16px 20px;
    color: #fff;
    font-size: 1.45rem;
    line-height: 1.25;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
}

/* Дискография и видео */
.discography-bio-band {
    margin-top: 0;
    border-radius: 22px;
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 1;
}

.album-card-bio-band {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.1rem;
    padding: 22px 24px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--line);
    border-radius: 16px;
    position: relative;
    margin: 8px 0 8px 0;
    overflow: hidden;
    isolation: isolate;
    box-shadow: var(--shadow-sm);
    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition);
}

.album-card-bio-band:last-child {
    margin-bottom: 0;
}

.album-card-bio-band::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -30%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 48%,
            #ffffff08 48%,
            #ffffff08 52%,
            transparent 52%);
    transform: rotate(25deg);
    pointer-events: none;
}

.album-card-bio-band>* {
    position: relative;
    z-index: 1;
}

.album-card-bio-band:hover {
    transform: translateY(-2px);
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.035);
}

.album-cover-bio-band,
.album-video-bio-band {
    position: relative;
    width: 180px;
    height: 180px;
    flex-shrink: 0;
}

.album-cover-bio-band img,
.album-video-bio-band img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.album-video-bio-band img {
    height: 170px;
}

.album-info-bio-band {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.album-title-bio-band {
    color: #fff;
    font-size: 22px;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
    line-height: 1.2;
}

.album-year-bio-band {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 14px;
}

.album-type-bio-band {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    max-width: 100%;
    background: rgba(255, 255, 255, 0.03);
    color: #f0e6e1;
    font-size: 11px;
    padding: 7px 12px;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
}

/* Медиа-раздел */
#media-bio-band {
    max-width: 1300px;
    margin: 0 auto 22px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

#media-bio-band::before {
    display: none;
}

.media-control-panel-bio-band {
    margin-bottom: 16px;
    padding: 16px 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
}

.media-bio-band {
    border-radius: 18px;
    padding: 18px;
    max-width: 1300px;
    margin: 0 0 16px;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 22px;
    align-items: center;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition);
}

.media-bio-band:hover {
    transform: translateY(-2px);
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.035);
}

.cover-container-bio-band {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
}

.cover-bio-band {
    width: 220px;
    height: 220px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.30);
    display: block;
}

.info-bio-band {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    min-width: 0;
    cursor: pointer;
}

.title-bio-band {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.artist-bio-band {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    margin: 0;
}

.rating-bio-band {
    display: flex;
    gap: 6px;
    align-items: center;
}

.star-bio-band {
    color: #ffd700;
    font-size: 1.5rem;
}

/* Формы медиа */
#videoForm,
#PhotoForm {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 20px 22px;
    box-shadow: var(--shadow-sm);
    display: none;
    margin: 0 0 16px;
    position: relative;
    z-index: 1;
}

#videoForm label {
    color: #ecf0f1;
    font-size: 14px;
    display: block;
    margin-bottom: 5px;
}

#PhotoForm,
#imageInput {
    display: none;
}

.download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    font-size: 14px;
    color: white;
    text-transform: uppercase;
    text-decoration: none;
    background: linear-gradient(180deg, #b6573f, #934634);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
    transition:
        transform var(--transition),
        filter var(--transition),
        box-shadow var(--transition);
    cursor: pointer;
}

.download-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.28);
}

/* Галерея */
.media-gallery-title-bio-band {
    padding: 16px 20px;
    margin: 0 0 16px;
    color: #fff;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0 0;
    position: relative;
    z-index: 1;
}

.gallery a {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.02);
    box-shadow: var(--shadow-sm);
}

.gallery img {
    width: 100%;
    display: block;
    transition:
        transform var(--transition),
        filter var(--transition);
    margin-top: 0 !important;
}

.gallery a:hover img {
    transform: scale(1.03);
    filter: brightness(1.03);
}

/* Нижний список спасибо */
.thanks-list-bottom-bio-band {
    max-width: 1300px;
    margin: 24px auto 0;
    padding: 16px 18px;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.6;
    background:
        radial-gradient(circle at top left, rgba(164, 74, 57, 0.10), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
}

.thanks-list-bottom-bio-band .fal {
    color: var(--main-red-hover);
    margin-right: 6px;
}

.thanks-list-bottom-bio-band b {
    color: antiquewhite;
}

.anim {
    margin: 10px 0 0 0;
    text-align: center;
}

.col-left {
    display: none;
}

.bio-translation-status {
    margin: 0 0 14px 0;
    padding: 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .09);
}

.bio-translation-status__row {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #d8d8d8;
    font-size: 13px;
    line-height: 1.45;
}

.bio-translation-status__row + .bio-translation-status__row {
    margin-top: 12px;
}

.bio-translation-status__row--column {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
}

.bio-translation-status__label {
    color: #d9c7a3;
    font-weight: 600;
}

.bio-translation-status__original {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 10px;
    border-radius: 8px;
    color: #f2f2f2;
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(255, 255, 255, .10);
    font-size: 12px;
}

.bio-translation-status__list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.bio-translation-status__pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 27px;
    padding: 4px 10px;
    border-radius: 8px;
    color: #e6e6e6;
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .09);
    font-size: 12px;
}

.bio-translation-status__icon {
    width: 16px;
    height: 16px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 16px;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    font-style: normal;
}

.bio-translation-status__pill--yes {
    border-color: rgba(46, 164, 79, .28);
    background: rgba(46, 164, 79, .08);
}

.bio-translation-status__pill--yes .bio-translation-status__icon {
    color: #8ee0a3;
    background: rgba(46, 164, 79, .16);
}

.bio-translation-status__pill--yes .bio-translation-status__icon::before {
    content: "✓";
}

.bio-translation-status__pill--no {
    border-color: rgba(220, 53, 69, .28);
    background: rgba(220, 53, 69, .08);
}

.bio-translation-status__pill--no .bio-translation-status__icon {
    color: #ff9aa4;
    background: rgba(220, 53, 69, .15);
}

.bio-translation-status__pill--no .bio-translation-status__icon::before {
    content: "X";
}

@media (max-width: 520px) {
    .bio-translation-status {
        padding: 12px;
        border-radius: 10px;
    }

    .bio-translation-status__row {
        align-items: flex-start;
        flex-direction: column;
    }

    .bio-translation-status__list {
        gap: 6px;
    }

    .bio-translation-status__pill {
        max-width: 100%;
    }

    .nav-btn-bio-band,
    .nav-bio-band-compact .nav-btn-bio-band {
        min-width: 100%;
    }

    .header-bio-band {
        min-height: 360px;
    }
}

/* Мобилка */
@media (max-width: 960px) {

    .bio-text img {
        width: 100%;
    }

    .header-bio-band {
        min-height: 320px;
        border-radius: 18px;
        margin-bottom: 22px;
    }

    .social-icons-bio-band {
        top: 14px;
        left: 14px;
        gap: 8px;
    }

    .social-icon-bio-band {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .nav-bio-band {
        width: calc(100% - 20px);
        bottom: 10px;
        padding: 10px;
        gap: 8px;
        border-radius: 14px;
    }

    .nav-bio-band-compact {
        max-width: 100%;
    }

    .nav-btn-bio-band,
    .nav-bio-band-compact .nav-btn-bio-band {
        min-width: calc(50% - 6px);
        width: auto;
        padding: 11px 12px;
        font-size: 13px;
    }

    .bio-content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 4px;
    }

    .bio-sidebar {
        position: static;
        order: -1;
    }

    .bio-text {
        padding: 20px 16px;
        border-radius: 18px;
        font-size: 14px;
    }

    .bio-text h1 b {
        font-size: 24px;
    }

    .band-logo {
        height: auto;
        max-height: 130px;
        object-fit: contain;
    }

    .band-profile {
        height: auto;
    }

    .band-info p {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .meta-info {
        grid-template-columns: 1fr;
    }

    .bb-copy-grid-bio-band {
        grid-template-columns: 1fr;
    }

    .discography-bio-band {
        padding: 14px;
        border-radius: 18px;
    }

    .content-bio-band>h1,
    .media-gallery-title-bio-band {
        padding: 14px 16px;
        border-radius: 16px;
        font-size: 1.25rem;
    }

    .album-card-bio-band,
    .media-bio-band {
        display: block;
        padding: 18px;
    }

    .album-cover-bio-band,
    .album-video-bio-band,
    .album-cover-bio-band img,
    .album-video-bio-band img,
    .cover-bio-band {
        width: 100%;
        height: auto;
        max-width: 100%;
    }

    .album-title-bio-band,
    .album-year-bio-band,
    .album-type-bio-band {
        margin-top: 12px;
    }

    .album-type-bio-band {
        width: auto;
    }

    .cover-container-bio-band {
        margin-bottom: 14px;
    }

    .title-bio-band {
        font-size: 1.4rem;
    }

    .rating-bio-band {
        font-size: 12px;
        gap: 2px;
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    .thanks-list-bottom-bio-band {
        margin: 20px 0 0;
        border-radius: 16px;
    }
}

/* Firefox */
@media (max-width: 1203px) {
    @supports (-moz-appearance: none) {

        .band-logo,
        .band-profile,
        .band-info,
        .bio-bb-css {
            width: 100%;
            max-width: 100%;
        }

        .bio-text {
            width: auto;
            margin-top: 0;
        }

        .album-cover-bio-band,
        .album-video-bio-band,
        .album-cover-bio-band img,
        .album-video-bio-band img {
            width: 100%;
            max-width: 290px;
            height: auto;
        }

        .album-type-bio-band {
            width: auto;
        }
    }
}