/* /Components/Layout/MainLayout.razor.rz.scp.css */
.shell[b-ps5wtrw9yz] {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main[b-ps5wtrw9yz] {
    flex: 1 0 auto;
}

/* ---------- Шапка ---------- */

.site-header[b-ps5wtrw9yz] {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
}

.site-header__inner[b-ps5wtrw9yz] {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-header__left[b-ps5wtrw9yz] {
    display: flex;
    align-items: center;
    gap: 40px;
    min-width: 0;
}

.site-header__right[b-ps5wtrw9yz] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo[b-ps5wtrw9yz] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 0.14em;
    white-space: nowrap;
    color: var(--ink);
}

.logo:hover[b-ps5wtrw9yz] { color: var(--ink); }

.logo__mark[b-ps5wtrw9yz] {
    flex-shrink: 0;
    width: 37px;
    height: 21px;
}

.logo__dot[b-ps5wtrw9yz] { color: var(--accent); }

.logo__tld[b-ps5wtrw9yz] {
    color: var(--muted);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.04em;
}

.site-nav[b-ps5wtrw9yz] {
    display: flex;
    gap: 28px;
    font-size: 15px;
    font-weight: 500;
}

/* NavLink — дочерний компонент, поэтому ::deep */
.site-nav[b-ps5wtrw9yz]  .site-nav__link {
    display: block;
    padding: 25px 0 23px;
    border-bottom: 2px solid transparent;
    color: var(--muted);
}

.site-nav[b-ps5wtrw9yz]  .site-nav__link:hover { color: var(--ink); }

/* ---------- Кружки с числом новых событий ---------- */

.site-nav[b-ps5wtrw9yz]  .nav-badge,
.drawer__nav[b-ps5wtrw9yz]  .nav-badge {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    margin-left: 6px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    background: var(--accent);
    color: var(--on-accent);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    vertical-align: 1px;
}

.drawer__nav[b-ps5wtrw9yz]  .nav-badge { margin-left: auto; min-width: 24px; height: 24px; font-size: 13px; }

.menu-toggle[b-ps5wtrw9yz] { position: relative; }

.menu-toggle__dot[b-ps5wtrw9yz] {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 0 2px var(--bg);
}

.site-nav[b-ps5wtrw9yz]  .site-nav__link--active {
    color: var(--ink);
    border-bottom-color: var(--accent);
}

/* ---------- Вход / аккаунт ---------- */

.site-header__link[b-ps5wtrw9yz] {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
    border: 0;
    background: none;
    color: var(--ink);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}

.site-header__link:hover[b-ps5wtrw9yz] { color: var(--accent); }


.site-header__cta[b-ps5wtrw9yz] {
    min-height: 44px;
    border-radius: 999px;
    background: var(--ink);
    border-color: var(--ink);
    color: var(--bg);
    font-weight: 600;
}

.site-header__cta:hover[b-ps5wtrw9yz] { color: var(--bg); border-color: var(--ink); filter: brightness(1.15); }

.account[b-ps5wtrw9yz] {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    color: var(--muted);
}

.account__logout[b-ps5wtrw9yz] { display: contents; }

/* Иконка переключателя: в светлой теме — луна, в тёмной — солнце */
.theme-toggle__sun[b-ps5wtrw9yz] { display: none; }
html[data-theme="dark"] .theme-toggle__sun[b-ps5wtrw9yz] { display: block; }
html[data-theme="dark"] .theme-toggle__moon[b-ps5wtrw9yz] { display: none; }

/* ---------- Выезжающее меню ---------- */

.menu-toggle[b-ps5wtrw9yz] { display: none; }

/* Пунктов в меню стало больше — email в шапке прячем раньше, он есть в выезжающем меню */
@media (max-width: 1320px) {
    .account[b-ps5wtrw9yz] { display: none; }
}

.drawer[b-ps5wtrw9yz] {
    /* <dialog> по умолчанию по центру — прижимаем к правому краю на всю высоту */
    position: fixed;
    inset: 0 0 0 auto;
    width: min(340px, 86vw);
    max-width: none;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-left: 1px solid var(--line);
    background: var(--bg);
    color: var(--ink);
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .25s ease, display .25s allow-discrete, overlay .25s allow-discrete;
}

.drawer[open][b-ps5wtrw9yz] {
    display: flex;
    transform: translateX(0);
}

@starting-style {
    .drawer[open][b-ps5wtrw9yz] { transform: translateX(100%); }
}

.drawer[b-ps5wtrw9yz]::backdrop {
    background: rgba(0, 0, 0, 0);
    transition: background .25s ease, display .25s allow-discrete, overlay .25s allow-discrete;
}

.drawer[open][b-ps5wtrw9yz]::backdrop { background: rgba(0, 0, 0, .45); }

@starting-style {
    .drawer[open][b-ps5wtrw9yz]::backdrop { background: rgba(0, 0, 0, 0); }
}

.drawer__head[b-ps5wtrw9yz] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
    padding: 8px 12px 8px 20px;
    border-bottom: 1px solid var(--line);
}

.drawer__title[b-ps5wtrw9yz] {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
}

.drawer__nav[b-ps5wtrw9yz] {
    display: flex;
    flex-direction: column;
    padding: 12px;
}

.drawer__nav[b-ps5wtrw9yz]  .drawer__link {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
}

.drawer__nav[b-ps5wtrw9yz]  .drawer__link:hover { background: var(--surface); }

.drawer__nav[b-ps5wtrw9yz]  .drawer__link--active {
    background: var(--surface);
    box-shadow: inset 3px 0 0 var(--accent);
}

.drawer__foot[b-ps5wtrw9yz] {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    border-top: 1px solid var(--line);
}

.drawer__foot form[b-ps5wtrw9yz] { display: contents; }

.drawer__account[b-ps5wtrw9yz] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    color: var(--muted);
}

.drawer__btn[b-ps5wtrw9yz] {
    width: 100%;
    min-height: 48px;
    justify-content: center;
}

/* Узкие экраны: в шапке только логотип, тема и кнопка меню */
@media (max-width: 1180px) {
    .site-nav[b-ps5wtrw9yz],
    .site-header__right > :not(.theme-toggle):not(.menu-toggle)[b-ps5wtrw9yz] { display: none; }

    .menu-toggle[b-ps5wtrw9yz] { display: inline-flex; }
    .site-header__right[b-ps5wtrw9yz] { gap: 6px; }
}

@media (max-width: 760px) {
    .site-header__inner[b-ps5wtrw9yz] { height: 60px; }
    .logo[b-ps5wtrw9yz] { font-size: 19px; gap: 8px; }
    .logo__mark[b-ps5wtrw9yz] { width: 32px; height: 18px; }
}

/* На широком экране меню не нужно, даже если его забыли закрыть */
@media (min-width: 1181px) {
    .drawer[b-ps5wtrw9yz] { display: none !important; }
}

/* ---------- Подвал ---------- */

.site-footer[b-ps5wtrw9yz] {
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}

.site-footer__inner[b-ps5wtrw9yz] {
    padding-block: 28px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
}

/* ---------- Ошибка Blazor ---------- */

#blazor-error-ui[b-ps5wtrw9yz] {
    background: var(--surface);
    color: var(--ink);
    border-top: 1px solid var(--line);
    bottom: 0;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
    display: none;
    left: 0;
    padding: 0.8rem 3rem 0.8rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .reload[b-ps5wtrw9yz] {
    color: var(--accent);
    font-weight: 600;
    margin-left: 0.5rem;
}

#blazor-error-ui .dismiss[b-ps5wtrw9yz] {
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 0.75rem;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-o9x0x138dn],
.components-reconnect-repeated-attempt-visible[b-o9x0x138dn],
.components-reconnect-failed-visible[b-o9x0x138dn],
.components-pause-visible[b-o9x0x138dn],
.components-resume-failed-visible[b-o9x0x138dn],
.components-rejoining-animation[b-o9x0x138dn] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-o9x0x138dn],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-o9x0x138dn],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-o9x0x138dn],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-o9x0x138dn],
#components-reconnect-modal.components-reconnect-retrying[b-o9x0x138dn],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-o9x0x138dn],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-o9x0x138dn],
#components-reconnect-modal.components-reconnect-failed[b-o9x0x138dn],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-o9x0x138dn] {
    display: block;
}


#components-reconnect-modal[b-o9x0x138dn] {
    background-color: var(--surface);
    color: var(--ink);
    font-family: var(--font);
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-o9x0x138dn 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-o9x0x138dn 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-o9x0x138dn 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-o9x0x138dn]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-o9x0x138dn 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-o9x0x138dn {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-o9x0x138dn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-o9x0x138dn {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-o9x0x138dn] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-o9x0x138dn] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-o9x0x138dn] {
    border: 0;
    background-color: var(--accent);
    color: var(--on-accent);
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
}

    #components-reconnect-modal button:hover[b-o9x0x138dn] {
        filter: brightness(1.08);
    }

    #components-reconnect-modal button:active[b-o9x0x138dn] {
        filter: none;
    }

.components-rejoining-animation[b-o9x0x138dn] {
    width: 88px;
    height: 50px;
    color: var(--ink);
}

/* Точка смотрит то в одно кольцо, то в другое */
.reconnect-eye[b-o9x0x138dn] {
    animation: reconnect-look-b-o9x0x138dn 1.6s ease-in-out infinite;
}

@keyframes reconnect-look-b-o9x0x138dn {
    0%, 15% { transform: translateX(0); }
    45%, 65% { transform: translateX(-156px); }
    95%, 100% { transform: translateX(0); }
}

.reconnect-hint[b-o9x0x138dn] {
    display: inline-block;
    margin-top: 6px;
    font-size: 14px;
    color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
    .reconnect-eye[b-o9x0x138dn] { animation: none; }
}
/* /Components/Pages/Become.razor.rz.scp.css */
.become[b-bfkj8hkzc9] {
    padding-top: 64px;
    padding-bottom: 96px;
}

.become__inner[b-bfkj8hkzc9] {
    max-width: 920px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.become__head[b-bfkj8hkzc9] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.become__step[b-bfkj8hkzc9] {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.become__title[b-bfkj8hkzc9] {
    margin: 0;
    font-size: clamp(2.125rem, 1.4rem + 2.6vw, 3.25rem);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.035em;
}

.become__lead[b-bfkj8hkzc9] {
    margin: 0;
    max-width: 560px;
    font-size: 18px;
    color: var(--muted);
}

/* EditForm — дочерний компонент, его <form> получает класс через ::deep */
[b-bfkj8hkzc9] .become__form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.become__grid[b-bfkj8hkzc9] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.become__card[b-bfkj8hkzc9] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 140px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.become__card:hover[b-bfkj8hkzc9] { border-color: var(--ink); }

/* Выбранная карточка: радиокнопка внутри отмечена */
.become__card:has(:checked)[b-bfkj8hkzc9] {
    border-color: var(--ink);
    box-shadow: inset 0 0 0 1px var(--ink);
}

.become__card:has(:focus-visible)[b-bfkj8hkzc9] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Сама радиокнопка спрятана, но доступна с клавиатуры и для скринридеров */
[b-bfkj8hkzc9] .become__radio {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.become__card-head[b-bfkj8hkzc9] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.become__card-name[b-bfkj8hkzc9] {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.become__dot[b-bfkj8hkzc9] {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 2px solid var(--line);
    transition: border .15s ease;
}

.become__card:has(:checked) .become__dot[b-bfkj8hkzc9] { border: 7px solid var(--accent); }

.become__card-desc[b-bfkj8hkzc9] {
    font-size: 14px;
    line-height: 1.45;
    color: var(--muted);
}

.become__name[b-bfkj8hkzc9] { max-width: 440px; }

.become__actions[b-bfkj8hkzc9] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
}

.become__submit[b-bfkj8hkzc9] { padding: 0 32px; }

.become__note[b-bfkj8hkzc9] {
    font-size: 14px;
    color: var(--muted);
}

@media (max-width: 760px) {
    .become[b-bfkj8hkzc9] { padding-top: 28px; padding-bottom: 48px; }
    .become__lead[b-bfkj8hkzc9] { font-size: 16px; }
    .become__grid[b-bfkj8hkzc9] { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .become__card[b-bfkj8hkzc9] { min-height: 0; padding: 18px; }
}
/* /Components/Pages/MyTalent.razor.rz.scp.css */
.me[b-adbcy6hal5] {
    padding-top: 40px;
    padding-bottom: 40px;
}

.me__loading[b-adbcy6hal5] {
    padding: 64px 0;
    color: var(--muted);
}

/* ---------- Заголовок и статус публикации ---------- */

.me__head[b-adbcy6hal5] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
}

.me__head-text[b-adbcy6hal5] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    max-width: 760px;
}

.me__title[b-adbcy6hal5] {
    margin: 0;
    font-size: clamp(2rem, 1.5rem + 1.8vw, 2.75rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.me__status[b-adbcy6hal5] {
    margin: 0;
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 15px;
    color: var(--muted);
}

.me__status-dot[b-adbcy6hal5] {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--accent);
    transform: translateY(-1px);
}

.me__status--ok[b-adbcy6hal5] { color: var(--ink); }
.me__status--ok .me__status-dot[b-adbcy6hal5] { background: #2E9E5B; }

.me__preview[b-adbcy6hal5] { border-radius: 999px; min-height: 44px; }

/* ---------- Раскладка: меню разделов + карточки ---------- */

.me__layout[b-adbcy6hal5] {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.me__nav[b-adbcy6hal5] {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.me__nav a[b-adbcy6hal5] {
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    color: var(--muted);
}

.me__nav a:hover[b-adbcy6hal5] {
    background: var(--surface);
    color: var(--ink);
}

.me__sections[b-adbcy6hal5] {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.card[b-adbcy6hal5] {
    scroll-margin-top: 96px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.card__title[b-adbcy6hal5] {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.card__count[b-adbcy6hal5] {
    color: var(--muted);
    font-weight: 500;
}

.card__row[b-adbcy6hal5] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 16px;
}

/* ---------- Поля ---------- */

.two[b-adbcy6hal5], .three[b-adbcy6hal5] {
    display: grid;
    gap: 16px;
}

.two[b-adbcy6hal5] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.three[b-adbcy6hal5] { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.f[b-adbcy6hal5] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    font-size: 14px;
    font-weight: 500;
}

.f--narrow[b-adbcy6hal5] { max-width: 320px; }

.f__hint[b-adbcy6hal5] {
    font-size: 13px;
    font-weight: 400;
    color: var(--muted);
}

.suffix[b-adbcy6hal5] { position: relative; display: block; }
.suffix .field[b-adbcy6hal5] { padding-right: 40px; }

.suffix__text[b-adbcy6hal5] {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    pointer-events: none;
}

.me__error[b-adbcy6hal5] {
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--danger);
    color: var(--danger);
    font-size: 14px;
}

/* ---------- Теги и города ---------- */

.tags[b-adbcy6hal5] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 2px;
}

.tag[b-adbcy6hal5] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--ink);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.tag:hover[b-adbcy6hal5] { border-color: var(--ink); }

.tag--on[b-adbcy6hal5],
.tag--on:hover[b-adbcy6hal5] {
    background: var(--chip);
    border-color: var(--chip);
    color: var(--on-chip);
}

span.tag--on[b-adbcy6hal5] { padding-right: 6px; cursor: default; }

.tag__x[b-adbcy6hal5] {
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.tag-add__select[b-adbcy6hal5] {
    min-height: 36px;
    padding: 0 14px;
    border: 1px dashed var(--muted);
    border-radius: 999px;
    background: transparent;
    color: var(--ink);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

/* ---------- Фото ---------- */

.photos[b-adbcy6hal5] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.photo[b-adbcy6hal5] {
    position: relative;
    aspect-ratio: 4 / 5; /* все фото теперь 4:5 */
    border-radius: 14px;
    overflow: hidden;
    background: var(--surface-2);
}

.photo img[b-adbcy6hal5] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

.photo__cover[b-adbcy6hal5] {
    position: absolute;
    left: 10px;
    top: 10px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--on-accent);
    font-size: 12px;
    font-weight: 700;
}

/* Кнопка на месте плашки «Титульная» — у остальных фото */
.photo__make-cover[b-adbcy6hal5] {
    position: absolute;
    left: 8px;
    top: 8px;
    max-width: calc(100% - 16px);
    padding: 6px 11px;
    border: 0;
    border-radius: 999px;
    background: var(--glass);
    color: var(--on-glass);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.photo__make-cover:hover[b-adbcy6hal5] { background: var(--accent); color: var(--on-accent); }
.photo__make-cover:disabled[b-adbcy6hal5] { opacity: .5; cursor: default; }

.photo__tools[b-adbcy6hal5] {
    position: absolute;
    right: 8px;
    bottom: 8px;
    left: 8px;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 6px;
}

.photo__btn[b-adbcy6hal5] {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: var(--glass);
    color: var(--on-glass);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.photo__btn:hover[b-adbcy6hal5] { color: var(--accent); }
.photo__btn--danger:hover[b-adbcy6hal5] { color: var(--danger); }
.photo__btn:disabled[b-adbcy6hal5] { opacity: .5; cursor: default; }

.photo--add[b-adbcy6hal5] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border: 1.5px dashed var(--muted);
    background: transparent;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
    cursor: pointer;
}

.photo--add:hover[b-adbcy6hal5] { border-color: var(--ink); }

.photo--add__title[b-adbcy6hal5] {
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
}

.photo--busy[b-adbcy6hal5] { cursor: progress; opacity: .7; }

/* InputFile — дочерний компонент: прячем сам input, кликается вся плитка-label */
.photo--add[b-adbcy6hal5]  .photo--add__input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
}

/* ---------- Панель сохранения ---------- */

.savebar[b-adbcy6hal5] {
    position: sticky;
    bottom: 0;
    z-index: 40;
    border-top: 1px solid var(--line);
    background: var(--bg);
}

.savebar__inner[b-adbcy6hal5] {
    min-height: 76px;
    padding-block: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.savebar__state[b-adbcy6hal5] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--muted);
}

.savebar__state--error[b-adbcy6hal5] { color: var(--danger); }

.savebar__dot[b-adbcy6hal5] {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--accent);
}

.savebar__buttons[b-adbcy6hal5] {
    display: flex;
    gap: 8px;
}

.savebar__buttons .btn:disabled[b-adbcy6hal5] {
    opacity: .45;
    cursor: default;
}

/* ---------- Адаптив ---------- */

@media (max-width: 1100px) {
    .me__layout[b-adbcy6hal5] { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .me__nav[b-adbcy6hal5] { display: none; }
    .photos[b-adbcy6hal5] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .three[b-adbcy6hal5] { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
    .me[b-adbcy6hal5] { padding-top: 24px; }
    .card[b-adbcy6hal5] { padding: 20px; }
    .two[b-adbcy6hal5] { grid-template-columns: minmax(0, 1fr); }
    .photos[b-adbcy6hal5] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .savebar__buttons[b-adbcy6hal5] { width: 100%; }
    .savebar__buttons .btn[b-adbcy6hal5] { flex: 1; }
}

/* ---------- Окно кадрирования обложки ---------- */

.crop[b-adbcy6hal5] {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.6);
}

.crop__panel[b-adbcy6hal5] {
    width: 100%;
    max-width: 720px;
    max-height: calc(100vh - 48px);
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    overflow: auto;
}

.crop__head[b-adbcy6hal5] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.crop__stage[b-adbcy6hal5] {
    height: min(60vh, 560px);
    background: #111;
    border-radius: 12px;
    overflow: hidden;
}

/* Cropper.js требует: картинка — блочная, не шире контейнера */
.crop__stage img[b-adbcy6hal5] {
    display: block;
    max-width: 100%;
}

/* Рамка Cropper.js заметнее — особенно на телефоне, где фото 3:4 почти совпадает с рамкой 4:5.
   Элементы редактора создаёт скрипт, поэтому ::deep */
.crop__stage[b-adbcy6hal5]  .cropper-view-box {
    outline: 2px solid rgba(255, 255, 255, 0.95);
    outline-offset: 0;
}

.crop__stage[b-adbcy6hal5]  .cropper-dashed {
    border-color: rgba(255, 255, 255, 0.85);
    opacity: 1;
}

.crop__stage[b-adbcy6hal5]  .cropper-modal { opacity: 0.6; }

/* Маркеры по краям и углам — крупнее и белые (у Cropper.js 5px синие) */
.crop__stage[b-adbcy6hal5]  .cropper-point,
.crop__stage[b-adbcy6hal5]  .cropper-point.point-se {
    width: 10px;
    height: 10px;
    background: #fff;
    opacity: 1;
    border-radius: 50%;
}

.crop__stage[b-adbcy6hal5]  .cropper-point.point-e { right: -5px; margin-top: -5px; }
.crop__stage[b-adbcy6hal5]  .cropper-point.point-w { left: -5px; margin-top: -5px; }
.crop__stage[b-adbcy6hal5]  .cropper-point.point-n { top: -5px; margin-left: -5px; }
.crop__stage[b-adbcy6hal5]  .cropper-point.point-s { bottom: -5px; margin-left: -5px; }
.crop__stage[b-adbcy6hal5]  .cropper-point.point-ne { right: -5px; top: -5px; }
.crop__stage[b-adbcy6hal5]  .cropper-point.point-nw { left: -5px; top: -5px; }
.crop__stage[b-adbcy6hal5]  .cropper-point.point-sw { left: -5px; bottom: -5px; }
.crop__stage[b-adbcy6hal5]  .cropper-point.point-se { right: -5px; bottom: -5px; }

.crop__actions[b-adbcy6hal5] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.crop__cancel[b-adbcy6hal5] { margin-right: auto; }

@media (max-width: 760px) {
    .crop[b-adbcy6hal5] { padding: 0; align-items: stretch; }
    .crop__panel[b-adbcy6hal5] { max-height: none; height: 100%; border-radius: 0; padding: 16px; }
    .crop__stage[b-adbcy6hal5] { flex: 1; height: auto; min-height: 0; }
    .crop__actions .btn[b-adbcy6hal5] { flex: 1; }
}
/* /Components/Pages/OfferNew.razor.rz.scp.css */
.offer[b-0oor41dbsv] {
    padding-top: 32px;
    padding-bottom: 56px;
}

.offer__muted[b-0oor41dbsv] {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.5;
}

.offer__empty[b-0oor41dbsv] {
    padding: 64px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.offer__empty h1[b-0oor41dbsv] { margin: 0; font-size: 28px; letter-spacing: -0.02em; }

.offer__back[b-0oor41dbsv] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
}

.offer__back:hover[b-0oor41dbsv] { color: var(--ink); }

.offer__layout[b-0oor41dbsv] {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
    max-width: 1080px;
}

/* ---------- Кому ---------- */

.who[b-0oor41dbsv] {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.who__photo[b-0oor41dbsv] {
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface-2);
    display: grid;
    place-items: center;
    font-size: 40px;
    font-weight: 700;
    color: var(--muted);
}

.who__photo img[b-0oor41dbsv] { width: 100%; height: 100%; object-fit: cover; display: block; }

.who__text[b-0oor41dbsv] { display: flex; flex-direction: column; gap: 4px; }

.who__label[b-0oor41dbsv] {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
}

.who__name[b-0oor41dbsv] { font-size: 20px; letter-spacing: -0.02em; }
.who__meta[b-0oor41dbsv] { font-size: 14px; color: var(--muted); }
.who__price[b-0oor41dbsv] { font-size: 15px; font-weight: 600; }

/* ---------- Форма ---------- */

.offer__main[b-0oor41dbsv] { min-width: 0; }

.card[b-0oor41dbsv] {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.card__title[b-0oor41dbsv] {
    margin: 0 0 8px;
    font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.step[b-0oor41dbsv] {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--accent);
}

.two[b-0oor41dbsv], .three[b-0oor41dbsv] { display: grid; gap: 16px; }
.two[b-0oor41dbsv] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.three[b-0oor41dbsv] { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.f[b-0oor41dbsv] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    font-size: 14px;
    font-weight: 500;
}

.f__hint[b-0oor41dbsv] { font-size: 13px; font-weight: 400; color: var(--muted); }

textarea.field[b-0oor41dbsv] { resize: vertical; min-height: 64px; line-height: 1.5; padding-block: 12px; }

select.field:disabled[b-0oor41dbsv] { opacity: .5; }

.chips[b-0oor41dbsv] { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Выбор работы ---------- */

.picks[b-0oor41dbsv] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
}

.pick[b-0oor41dbsv] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg);
    color: var(--ink);
    font: inherit;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
}

.pick:hover[b-0oor41dbsv] { border-color: var(--muted); }
.pick b[b-0oor41dbsv] { font-size: 15px; }
.pick span[b-0oor41dbsv] { color: var(--muted); }
.pick__meta[b-0oor41dbsv] { font-size: 13px; }

.pick--on[b-0oor41dbsv],
.pick--on:hover[b-0oor41dbsv] {
    border-color: var(--ink);
    box-shadow: inset 0 0 0 1px var(--ink);
    background: var(--surface);
}

.pick--new[b-0oor41dbsv] { border-style: dashed; }

.linkish[b-0oor41dbsv] {
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    color: var(--accent);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.offer__error[b-0oor41dbsv] {
    margin: 0;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    background: color-mix(in srgb, var(--danger) 10%, transparent);
    color: var(--danger);
    font-size: 14px;
}

.actions[b-0oor41dbsv] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.actions__note[b-0oor41dbsv] { margin-right: auto; max-width: 380px; }

.actions .btn[b-0oor41dbsv] { min-height: 48px; padding-inline: 24px; }
.actions .btn:disabled[b-0oor41dbsv] { opacity: .5; cursor: default; }

/* ---------- Отправлено ---------- */

.card--done[b-0oor41dbsv] { align-items: flex-start; gap: 14px; }

.done__icon[b-0oor41dbsv] {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #2E9E5B;
    color: #fff;
}

.done__buttons[b-0oor41dbsv] { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

/* ---------- Адаптив ---------- */

@media (max-width: 900px) {
    .offer__layout[b-0oor41dbsv] { grid-template-columns: minmax(0, 1fr); gap: 20px; }

    .who[b-0oor41dbsv] { position: static; flex-direction: row; align-items: center; }
    .who__photo[b-0oor41dbsv] { width: 72px; flex-shrink: 0; border-radius: var(--radius); font-size: 20px; }
    .who__name[b-0oor41dbsv] { font-size: 17px; }
}

@media (max-width: 640px) {
    .offer[b-0oor41dbsv] { padding-top: 20px; }
    .card[b-0oor41dbsv] { padding: 20px; gap: 18px; }
    .two[b-0oor41dbsv], .three[b-0oor41dbsv] { grid-template-columns: minmax(0, 1fr); }
    .actions .btn[b-0oor41dbsv] { flex: 1 1 auto; }
    .actions__note[b-0oor41dbsv] { max-width: none; }
}
/* /Components/Pages/Offers.razor.rz.scp.css */
.offers[b-o2jbuitd1v] {
    padding-top: 40px;
    padding-bottom: 56px;
    max-width: 920px;
}

.offers__title[b-o2jbuitd1v] {
    margin: 0 0 24px;
    font-size: clamp(2rem, 1.5rem + 1.8vw, 2.75rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.muted[b-o2jbuitd1v] { color: var(--muted); font-size: 14px; }

.offers__error[b-o2jbuitd1v] {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    background: color-mix(in srgb, var(--danger) 10%, transparent);
    color: var(--danger);
    font-size: 14px;
}

.offers__ok[b-o2jbuitd1v] {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    background: color-mix(in srgb, #2E9E5B 10%, transparent);
    color: #2E9E5B;
    font-size: 14px;
}

/* ---------- Вкладки ---------- */

.tabs[b-o2jbuitd1v] {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.tab[b-o2jbuitd1v] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    margin-bottom: -1px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: none;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
}

.tab:hover[b-o2jbuitd1v] { color: var(--ink); }
.tab--on[b-o2jbuitd1v] { color: var(--ink); border-bottom-color: var(--ink); }

.tab__count[b-o2jbuitd1v] {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    background: var(--accent);
    color: var(--on-accent);
    font-size: 12px;
}

/* ---------- Пусто ---------- */

.empty[b-o2jbuitd1v] {
    padding: 40px 32px;
    border: 1px dashed var(--line);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.empty p[b-o2jbuitd1v] { margin: 0; color: var(--muted); max-width: 520px; line-height: 1.5; }

/* ---------- Заявка ---------- */

.list[b-o2jbuitd1v] {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.item[b-o2jbuitd1v] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.item--off[b-o2jbuitd1v] { opacity: .72; }
.item--ok[b-o2jbuitd1v] { border-color: color-mix(in srgb, #2E9E5B 45%, var(--line)); }

.item__head[b-o2jbuitd1v] {
    display: flex;
    align-items: center;
    gap: 14px;
}

.item__photo[b-o2jbuitd1v] {
    width: 52px;
    aspect-ratio: 4 / 5;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: var(--surface-2);
    display: grid;
    place-items: center;
    font-weight: 700;
    color: var(--muted);
}

.item__photo img[b-o2jbuitd1v] { width: 100%; height: 100%; object-fit: cover; display: block; }

.item__who[b-o2jbuitd1v] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    margin-right: auto;
}

.item__who b[b-o2jbuitd1v] { font-size: 17px; letter-spacing: -0.01em; }
.item__who a:hover b[b-o2jbuitd1v] { text-decoration: underline; text-underline-offset: 3px; }
.item__who span[b-o2jbuitd1v] { font-size: 14px; color: var(--muted); }

.status[b-o2jbuitd1v] {
    flex-shrink: 0;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    background: var(--surface-2);
    color: var(--muted);
}

.status--new[b-o2jbuitd1v] { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.status--ok[b-o2jbuitd1v] { background: color-mix(in srgb, #2E9E5B 16%, transparent); color: #2E9E5B; }

.facts[b-o2jbuitd1v] {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px 20px;
}

.facts div[b-o2jbuitd1v] { display: flex; flex-direction: column; gap: 3px; min-width: 0; }

.facts dt[b-o2jbuitd1v] {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
}

.facts dd[b-o2jbuitd1v] { margin: 0; font-size: 15px; overflow-wrap: anywhere; }

.item__title[b-o2jbuitd1v] {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.item__msg[b-o2jbuitd1v] {
    margin: 0;
    padding: 12px 16px;
    border-left: 3px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 15px;
    line-height: 1.5;
    white-space: pre-line;
}

.item__desc[b-o2jbuitd1v] {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    white-space: pre-line;
}

.item__contacts[b-o2jbuitd1v] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    border-radius: var(--radius);
    background: color-mix(in srgb, #2E9E5B 8%, transparent);
}

.item__label[b-o2jbuitd1v] { font-size: 14px; font-weight: 600; }

.item__links[b-o2jbuitd1v] { display: flex; flex-wrap: wrap; gap: 8px; }
.item__links .btn[b-o2jbuitd1v] { gap: 8px; }

.item__foot[b-o2jbuitd1v] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.item__actions[b-o2jbuitd1v] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.item__actions .btn:disabled[b-o2jbuitd1v] { opacity: .5; cursor: default; }

.btn--danger[b-o2jbuitd1v],
.btn--danger:hover[b-o2jbuitd1v] {
    border-color: var(--danger);
    background: var(--danger);
    color: #fff;
}

@media (max-width: 760px) {
    .offers[b-o2jbuitd1v] { padding-top: 24px; }
    .item[b-o2jbuitd1v] { padding: 18px; }
    .facts[b-o2jbuitd1v] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .item__head[b-o2jbuitd1v] { flex-wrap: wrap; }
    .item__actions[b-o2jbuitd1v] { width: 100%; }
    .item__actions .btn[b-o2jbuitd1v] { flex: 1 1 auto; }
}

.item__title a[b-o2jbuitd1v] { color: inherit; }
.item__title a:hover[b-o2jbuitd1v] { color: var(--accent); }

.item__ig[b-o2jbuitd1v] { font-size: 14px; font-weight: 600; color: var(--accent); }
.item__ig:hover[b-o2jbuitd1v] { text-decoration: underline; text-underline-offset: 3px; }
/* /Components/Pages/Talents.razor.rz.scp.css */
.catalog[b-0izxjl05rm] {
    padding-top: 56px;
    padding-bottom: 96px;
}

/* ---------- Заголовок и поиск ---------- */

.hero[b-0izxjl05rm] {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.hero__title[b-0izxjl05rm] {
    margin: 0;
    font-size: clamp(2.125rem, 1.2rem + 3.6vw, 3.625rem);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.03em;
}

.hero__accent[b-0izxjl05rm] { color: var(--accent); }

.hero__lead[b-0izxjl05rm] {
    margin: -8px 0 4px;
    max-width: 560px;
    font-size: 17px;
    color: var(--muted);
}

.search[b-0izxjl05rm] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 12px;
}

.search__field[b-0izxjl05rm] {
    position: relative;
    display: block;
}

.search__icon[b-0izxjl05rm] {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    pointer-events: none;
}

.search__input[b-0izxjl05rm] {
    height: 56px;
    padding-left: 50px;
    font-size: 16px;
    border-radius: var(--radius);
}

/* Город — выпадающий список Dropdown: такая же высота и место под иконку */
.search__field[b-0izxjl05rm]  .dd__button {
    height: 56px;
    padding-left: 50px;
    font-size: 16px;
    border-radius: var(--radius);
}

.search__icon[b-0izxjl05rm] { z-index: 1; }

.chips[b-0izxjl05rm] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* ---------- Результаты ---------- */

.results__bar[b-0izxjl05rm] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 40px;
    margin-bottom: 20px;
}

.results__count[b-0izxjl05rm] {
    margin: 0;
    font-size: 15px;
    color: var(--muted);
}

.results__count b[b-0izxjl05rm] {
    color: var(--ink);
    font-weight: 600;
}

.results__reset[b-0izxjl05rm] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 0 4px;
    border: 0;
    background: none;
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.results__reset:hover[b-0izxjl05rm] { color: var(--accent); }

.results__empty[b-0izxjl05rm] {
    padding: 64px 0;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.results__empty p[b-0izxjl05rm] { margin: 0; }

.grid[b-0izxjl05rm] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px 24px;
    transition: opacity .2s ease;
}

.grid--loading[b-0izxjl05rm] { opacity: .5; }

/* ---------- Раскладка: фильтры слева, карточки справа ---------- */

.layout[b-0izxjl05rm] {
    display: grid;
    grid-template-columns: 248px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.results__actions[b-0izxjl05rm] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.results__filters[b-0izxjl05rm] {
    display: none;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 14px;
}

.results__badge[b-0izxjl05rm] {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--on-accent);
    font-size: 12px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
}

/* ---------- Панель фильтров ---------- */

.filters[b-0izxjl05rm] {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.filters__top[b-0izxjl05rm] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 40px;
}

.filters__title[b-0izxjl05rm] {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.filters__close[b-0izxjl05rm],
.filters__apply[b-0izxjl05rm] { display: none; }

.filters__hint[b-0izxjl05rm] {
    margin: 0;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    font-size: 14px;
    color: var(--muted);
}

.fgroup[b-0izxjl05rm] {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fgroup--model[b-0izxjl05rm] {
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.fgroup__title[b-0izxjl05rm] {
    font-size: 15px;
    font-weight: 600;
}

.fgroup__field[b-0izxjl05rm] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fgroup__label[b-0izxjl05rm] {
    font-size: 13px;
    color: var(--muted);
}

.range[b-0izxjl05rm] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.range .field[b-0izxjl05rm] {
    height: 44px;
    -moz-appearance: textfield;
}

.range .field[b-0izxjl05rm]::-webkit-outer-spin-button,
.range .field[b-0izxjl05rm]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.pills[b-0izxjl05rm] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pill-toggle[b-0izxjl05rm] {
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--ink);
    font-size: 14px;
    cursor: pointer;
}

.pill-toggle:hover[b-0izxjl05rm] { border-color: var(--ink); }

.pill-toggle--on[b-0izxjl05rm],
.pill-toggle--on:hover[b-0izxjl05rm] {
    background: var(--chip);
    border-color: var(--chip);
    color: var(--on-chip);
}

@media (max-width: 1100px) {
    .layout[b-0izxjl05rm] { grid-template-columns: 220px minmax(0, 1fr); gap: 32px; }
    .grid[b-0izxjl05rm] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Планшет и телефон: фильтры уезжают в выдвижную панель */
@media (max-width: 900px) {
    .layout[b-0izxjl05rm] { grid-template-columns: minmax(0, 1fr); }
    .results__filters[b-0izxjl05rm] { display: inline-flex; }

    .filters[b-0izxjl05rm] {
        position: fixed;
        inset: 0;
        z-index: 100;
        top: 0;
        padding: 16px var(--gutter) calc(16px + env(safe-area-inset-bottom));
        background: var(--bg);
        overflow-y: auto;
        display: none;
    }

    .filters--open[b-0izxjl05rm] { display: flex; }

    .filters__close[b-0izxjl05rm] { display: inline-flex; }

    .filters__apply[b-0izxjl05rm] {
        display: inline-flex;
        margin-top: auto;
        min-height: 52px;
        background: var(--ink);
        border-color: var(--ink);
        color: var(--bg);
        font-weight: 600;
    }

    .filters__apply:hover[b-0izxjl05rm] { color: var(--bg); }
}

@media (max-width: 760px) {
    .catalog[b-0izxjl05rm] { padding-top: 28px; padding-bottom: 64px; }
    .hero[b-0izxjl05rm] { gap: 18px; margin-bottom: 28px; }
    .hero__lead[b-0izxjl05rm] { font-size: 16px; }
    .search[b-0izxjl05rm] { grid-template-columns: minmax(0, 1fr); }
    .search__input[b-0izxjl05rm] { height: 52px; }
    .search__field[b-0izxjl05rm]  .dd__button { height: 52px; }

    /* Чипы в одну строку с горизонтальной прокруткой, до краёв экрана */
    .chips[b-0izxjl05rm] {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin-inline: calc(-1 * var(--gutter));
        padding-inline: var(--gutter);
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .chips[b-0izxjl05rm]::-webkit-scrollbar { display: none; }

    .grid[b-0izxjl05rm] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 12px;
    }
}
/* /Components/PhoneInput.razor.rz.scp.css */
.phone[b-nsbmrkcj8o] {
    position: relative;
    display: flex;
    gap: 8px;
    width: 100%;
    min-width: 0;
}

/* Кнопка страны: флаг + код */
.phone__country[b-nsbmrkcj8o] {
    flex: none;
    width: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 10px 0 12px;
    font: inherit;
    font-size: 15px;
    cursor: pointer;
}

.phone__country svg[b-nsbmrkcj8o] { color: var(--muted); }

.phone img[b-nsbmrkcj8o] {
    flex: none;
    border-radius: 3px;
    object-fit: cover;
    box-shadow: 0 0 0 1px var(--line);
}

.phone__input[b-nsbmrkcj8o] {
    flex: 1 1 auto;
    min-width: 0;
    letter-spacing: .02em;
}

.phone__input--bad[b-nsbmrkcj8o],
.phone__input--bad:hover[b-nsbmrkcj8o],
.phone__input--bad:focus[b-nsbmrkcj8o] { border-color: var(--danger); }

.phone__error[b-nsbmrkcj8o] {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--danger);
}

/* ---------- Список стран ---------- */

.phone__backdrop[b-nsbmrkcj8o] {
    position: fixed;
    inset: 0;
    z-index: 40;
}

.phone__menu[b-nsbmrkcj8o] {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 41;
    width: min(320px, calc(100vw - 32px));
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .14);
}

.phone__search[b-nsbmrkcj8o] { height: 40px; }

.phone__menu ul[b-nsbmrkcj8o] {
    max-height: 280px;
    margin: 8px 0 0;
    padding: 0;
    overflow-y: auto;
    list-style: none;
}

.phone__option[b-nsbmrkcj8o] {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border: 0;
    border-radius: var(--radius-sm);
    background: none;
    color: var(--ink);
    font: inherit;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
}

.phone__option:hover[b-nsbmrkcj8o] { background: var(--surface-2); }
.phone__option--on[b-nsbmrkcj8o] { font-weight: 600; }

.phone__name[b-nsbmrkcj8o] { flex: 1; }
.phone__dial[b-nsbmrkcj8o] { color: var(--muted); }

.phone__empty[b-nsbmrkcj8o] {
    padding: 10px;
    font-size: 14px;
    color: var(--muted);
}
/* /Components/TalentCard.razor.rz.scp.css */
.card[b-pl4ahmdbnp] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: var(--ink);
    min-width: 0;
}

.card:hover[b-pl4ahmdbnp] { color: var(--ink); }

.card__media[b-pl4ahmdbnp] {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 16px;
    overflow: hidden;
    background: var(--surface-2);
}

.card__media img[b-pl4ahmdbnp] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.card:hover .card__media img[b-pl4ahmdbnp] { transform: scale(1.04); }

.card__placeholder[b-pl4ahmdbnp] {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--muted);
}

.card__initials[b-pl4ahmdbnp] {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
}

.card__soon[b-pl4ahmdbnp] { font-size: 12px; }

.card__type[b-pl4ahmdbnp] {
    position: absolute;
    left: 12px;
    top: 12px;
    font-size: 12px;
}

.card__info[b-pl4ahmdbnp] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.card__row[b-pl4ahmdbnp] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
}

.card__name[b-pl4ahmdbnp] {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color .15s ease;
}

.card:hover .card__name[b-pl4ahmdbnp] { color: var(--accent); }

.card__city[b-pl4ahmdbnp] {
    flex-shrink: 0;
    font-size: 13px;
    color: var(--muted);
    white-space: nowrap;
}

.card__desc[b-pl4ahmdbnp] {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card__price[b-pl4ahmdbnp] {
    margin: 4px 0 0;
    font-size: 15px;
    font-weight: 600;
}

@media (max-width: 760px) {
    .card[b-pl4ahmdbnp] { gap: 10px; }
    .card__media[b-pl4ahmdbnp] { border-radius: 12px; }
    .card__name[b-pl4ahmdbnp] { font-size: 16px; }
    .card__initials[b-pl4ahmdbnp] { font-size: 36px; }
    /* На узких карточках город переносим под имя, чтобы не обрезать фамилию */
    .card__row[b-pl4ahmdbnp] { flex-direction: column; gap: 0; }
}
/* /Components/TalentProfile.razor.rz.scp.css */
.profile[b-38zwrq9fts] {
    padding-top: 32px;
    padding-bottom: 96px;
    font-variant-numeric: tabular-nums;
}

/* ---------- Плашка «анкета не опубликована» (видит только владелец) ---------- */

.draft-note[b-38zwrq9fts] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    margin-bottom: 24px;
    padding: 16px 20px;
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    background: var(--surface);
    font-size: 15px;
}

.draft-note b[b-38zwrq9fts] { font-weight: 600; }

/* ---------- Хлебные крошки ---------- */

.crumbs[b-38zwrq9fts] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--muted);
}

.crumbs a[b-38zwrq9fts] { color: var(--muted); }
.crumbs a:hover[b-38zwrq9fts] { color: var(--accent); }
.crumbs__current[b-38zwrq9fts] { color: var(--ink); }

/* ---------- Общие мелкие подписи (верхний регистр, разрядка) ---------- */

.dossier__label[b-38zwrq9fts],
.dossier__bar[b-38zwrq9fts],
.dossier__num[b-38zwrq9fts],
.facts dt[b-38zwrq9fts] {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.dossier__label--rule[b-38zwrq9fts] {
    padding-bottom: 6px;
    border-bottom: 1.5px solid var(--ink);
}

/* ---------- Лист досье ---------- */

.dossier[b-38zwrq9fts] {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.dossier__bar[b-38zwrq9fts] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
    padding: 18px 32px;
    border-bottom: 1px solid var(--line);
}

.dossier__body[b-38zwrq9fts] {
    display: grid;
    grid-template-columns: 440px minmax(0, 1fr);
    gap: 56px;
    padding: 40px 32px;
    align-items: start;
}

/* ---------- Фото ---------- */

.photo[b-38zwrq9fts] {
    display: block;
    overflow: hidden;
    border-radius: 12px;
    background: var(--surface-2);
}

/* height: auto — фото показывается в своих пропорциях, ничего не обрезается */
.photo img[b-38zwrq9fts] {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .5s ease;
}

.photo:hover img[b-38zwrq9fts] { transform: scale(1.03); }

.dossier__cover[b-38zwrq9fts] {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Очень длинные вертикальные кадры (скриншоты сторис и т.п.) ограничиваем по высоте */
.dossier__cover .photo img[b-38zwrq9fts] {
    max-height: 820px;
    object-fit: cover;
    object-position: top;
}

.dossier__num[b-38zwrq9fts] { text-align: right; }

.dossier__nophoto[b-38zwrq9fts] {
    aspect-ratio: 3 / 4;
    border-radius: 12px;
    background: var(--surface-2);
    color: var(--muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.dossier__initials[b-38zwrq9fts] {
    font-size: 72px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
}

/* ---------- Анкета ---------- */

.dossier__info[b-38zwrq9fts] {
    display: flex;
    flex-direction: column;
    gap: 28px;
    min-width: 0;
    container-type: inline-size;
}

.dossier__head[b-38zwrq9fts] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Размер имени подстраивается под ширину колонки; слово переносится, только если совсем не влезает */
.dossier__name[b-38zwrq9fts] {
    margin: 0;
    font-size: clamp(2.25rem, 9cqi, 4rem);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.035em;
    overflow-wrap: break-word;
}

.dossier__desc[b-38zwrq9fts] {
    margin: 0;
    font-size: 19px;
    color: var(--muted);
}

.facts[b-38zwrq9fts] { margin: 0; }

.facts__row[b-38zwrq9fts] {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 16px;
    align-items: baseline;
    padding: 14px 0;
    border-bottom: 1px dashed var(--line);
}

.facts dt[b-38zwrq9fts] { letter-spacing: 0.1em; }

.facts dd[b-38zwrq9fts] {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
}

.facts dd.facts__price[b-38zwrq9fts] {
    color: var(--accent);
    font-weight: 700;
}

.facts__tags[b-38zwrq9fts] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-weight: 400;
}

/* ---------- Контакты ---------- */

/* Главная кнопка — всегда отдельной строкой на всю ширину.
   Остальные делят следующую строку поровну; если вдвоём не помещаются —
   каждая растягивается на всю ширину. Текст кнопок не переносится */
.dossier__contacts[b-38zwrq9fts] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dossier__main[b-38zwrq9fts] {
    flex: 1 1 100%;
    min-height: 52px;
}

.dossier__second[b-38zwrq9fts] {
    flex: 1 1 170px;
    min-height: 52px;
}

.dossier__contacts .btn[b-38zwrq9fts] {
    gap: 10px;
    white-space: nowrap;
}

.dossier__offer[b-38zwrq9fts] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dossier__offer .dossier__main[b-38zwrq9fts] { flex: none; min-height: 52px; }

.dossier__lock[b-38zwrq9fts] {
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    line-height: 1.45;
    color: var(--muted);
}

.dossier__lock svg[b-38zwrq9fts] { flex-shrink: 0; margin-top: 2px; }

.dossier__nocontacts[b-38zwrq9fts] {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

/* ---------- Портфолио ---------- */

.portfolio[b-38zwrq9fts] { margin-top: 56px; }

.portfolio__head[b-38zwrq9fts] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 12px;
    margin-bottom: 24px;
    border-bottom: 1.5px solid var(--ink);
}

.portfolio__head h2[b-38zwrq9fts] {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Сетка: все фото при загрузке обрезаются в 4:5, поэтому ровные ряды.
   (Раньше были CSS-колонки — в Safari на iPhone они сдвигали вторую колонку и путали порядок) */
.portfolio__sheet[b-38zwrq9fts] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 24px;
}

.portfolio__sheet figure[b-38zwrq9fts] { margin: 0; }

/* Старые фото, загруженные до обрезки, тоже приводим к 4:5 */
.portfolio__sheet .photo img[b-38zwrq9fts] {
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.portfolio__sheet .dossier__num[b-38zwrq9fts] {
    text-align: left;
    margin-top: 8px;
}

/* ---------- Не найден ---------- */

.profile__missing[b-38zwrq9fts] {
    padding: 64px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.profile__missing h1[b-38zwrq9fts] { margin: 0; font-size: 32px; letter-spacing: -0.02em; }
.profile__missing p[b-38zwrq9fts] { margin: 0 0 8px; color: var(--muted); }

/* ---------- Адаптив ---------- */

@media (max-width: 1100px) {
    .dossier__body[b-38zwrq9fts] { grid-template-columns: 360px minmax(0, 1fr); gap: 36px; }
    .facts__row[b-38zwrq9fts] { grid-template-columns: 140px minmax(0, 1fr); }
}

/* Планшет и узкое окно: две колонки уже тесные (имя и значения ломаются по словам) —
   анкета под фото в один столбец. Фото не растягиваем на всю ширину, иначе оно огромное */
@media (max-width: 1024px) {
    .dossier__body[b-38zwrq9fts] { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .dossier__cover[b-38zwrq9fts] { width: 100%; max-width: 480px; margin-inline: auto; }
    .facts__row[b-38zwrq9fts] { grid-template-columns: 180px minmax(0, 1fr); }
}

@media (max-width: 760px) {
    .profile[b-38zwrq9fts] { padding-top: 20px; padding-bottom: 48px; }
    .crumbs[b-38zwrq9fts] { display: none; }

    .dossier__bar[b-38zwrq9fts] { padding: 14px 20px; }
    .dossier__body[b-38zwrq9fts] { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 20px; }
    .dossier__cover .photo img[b-38zwrq9fts] { max-height: none; }
    .dossier__name[b-38zwrq9fts] { font-size: clamp(2rem, 11cqi, 2.5rem); }
    .facts__row[b-38zwrq9fts] { grid-template-columns: 120px minmax(0, 1fr); padding: 12px 0; }

    .portfolio[b-38zwrq9fts] { margin-top: 40px; }
    .portfolio__sheet[b-38zwrq9fts] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
}

/* ---------- Просмотр фото (lightbox) ---------- */

.photo[b-38zwrq9fts] { cursor: zoom-in; }

.lightbox[b-38zwrq9fts] {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(10, 10, 11, 0.96);
    color: #fff;
    overflow: hidden;
}

.lightbox[b-38zwrq9fts]::backdrop { background: rgba(10, 10, 11, 0.96); }

.lightbox__top[b-38zwrq9fts] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    pointer-events: none;
}

.lightbox__top > *[b-38zwrq9fts] { pointer-events: auto; }

.lightbox__counter[b-38zwrq9fts] {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    font-variant-numeric: tabular-nums;
    color: rgba(255, 255, 255, 0.8);
}

/* Лента слайдов: горизонтальная прокрутка с «защёлкиванием» — на телефоне листается свайпом */
.lightbox__track[b-38zwrq9fts] {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    overscroll-behavior: contain;
    scrollbar-width: none;
}

.lightbox__track[b-38zwrq9fts]::-webkit-scrollbar { display: none; }

.lightbox__slide[b-38zwrq9fts] {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 64px 72px 32px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: center;
    scroll-snap-stop: always;
}

.lightbox__slide img[b-38zwrq9fts] {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 6px;
    user-select: none;
}

.lightbox__btn[b-38zwrq9fts] {
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color .15s ease, opacity .15s ease;
}

.lightbox__btn:hover[b-38zwrq9fts] { background: rgba(255, 255, 255, 0.24); }
.lightbox__btn:focus-visible[b-38zwrq9fts] { outline: 2px solid #fff; outline-offset: 2px; }

.lightbox__nav[b-38zwrq9fts] {
    position: absolute;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
}

.lightbox__nav--prev[b-38zwrq9fts] { left: 16px; }
.lightbox__nav--next[b-38zwrq9fts] { right: 16px; }
.lightbox__nav:disabled[b-38zwrq9fts] { opacity: 0; pointer-events: none; }

@media (max-width: 760px) {
    /* На телефоне листаем свайпом — стрелки не нужны, фото на всю ширину */
    .lightbox__nav[b-38zwrq9fts] { display: none; }
    .lightbox__slide[b-38zwrq9fts] { padding: 56px 0 24px; }
    .lightbox__slide img[b-38zwrq9fts] { border-radius: 0; }
}
