.dashboard-hero {
    display: grid;
    gap: 20px;
    align-items: center;
}
.account-mini-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border: 1px solid var(--color-line);
    border-radius: 18px;
    background: rgba(255,255,255,.03);
}
.account-mini-card img,
.avatar-placeholder {
    width: 58px;
    height: 58px;
    border-radius: 999px;
    object-fit: cover;
    border: 1px solid var(--color-line);
}
.avatar-placeholder {
    display: grid;
    place-items: center;
    color: var(--color-gold-light);
    background: rgba(218, 169, 82, .12);
    font-family: var(--font-display);
    font-size: 28px;
}
.account-mini-card strong,
.account-mini-card span,
.account-mini-card small { display: block; }
.account-mini-card span,
.account-mini-card small { color: var(--color-muted); }
.dashboard-grid { display: grid; gap: 16px; }
.stat-card { display: grid; align-content: start; gap: 12px; }
.stat-card h2 { margin: 0; }
.stat-card p { margin: 0 0 10px; }
.auth-explainer { margin-top: 8px; }
.flash-success { background: rgba(62, 229, 130, .10); border-color: rgba(62, 229, 130, .28); }
.flash-error { background: rgba(255, 96, 96, .12); border-color: rgba(255, 96, 96, .28); }
.flash-warning { background: rgba(218, 169, 82, .12); }
@media (min-width: 760px) {
    .dashboard-hero { grid-template-columns: 1fr auto; }
    .dashboard-grid { grid-template-columns: repeat(3, 1fr); }
}

.dashboard-focus-grid {
    display: grid;
    gap: 18px;
}

.dashboard-status-card {
    display: grid;
    gap: 18px;
    align-content: start;
}

.dashboard-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.dashboard-card-head h2 {
    margin: 0;
}

.progress-block {
    display: grid;
    gap: 8px;
}

.progress-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--color-muted);
}

.progress-meta strong {
    color: var(--color-gold-light);
}

.progress-bar {
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(212,175,55,.12);
}

.progress-bar span {
    display: block;
    height: 100%;
    min-width: 4px;
    border-radius: inherit;
    background: linear-gradient(90deg, #8e5f1e, #d4af37, #fff0bd);
    box-shadow: 0 0 18px rgba(212,175,55,.26);
}

.dashboard-details {
    display: grid;
    gap: 10px;
    margin: 0;
}

.dashboard-details div {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.dashboard-details dt {
    color: var(--color-muted);
}

.dashboard-details dd {
    margin: 0;
    color: var(--color-text);
    overflow-wrap: anywhere;
}

.dashboard-actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.dashboard-note {
    padding: 13px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(212,175,55,.18);
    color: var(--color-muted);
    background: rgba(212,175,55,.06);
}

.participant-mini-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(212,175,55,.14);
    background: rgba(255,255,255,.025);
}

.participant-mini-row img,
.participant-mini-row .participant-initials {
    width: 74px;
    height: 74px;
    flex: 0 0 74px;
    object-fit: cover;
    border-radius: 18px;
}

.participant-mini-row strong,
.participant-mini-row span,
.participant-mini-row small {
    display: block;
}

.participant-mini-row span,
.participant-mini-row small {
    color: var(--color-muted);
}

.status-active,
.status-approved { color: #bdf0c1; }
.status-draft { color: #f3d88f; }
.status-needs_changes { color: #ffe0a3; }
.status-withdrawn,
.status-rejected { color: #ffb4b4; }

@media (min-width: 900px) {
    .dashboard-focus-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
    .dashboard-card-head,
    .participant-mini-row { align-items: flex-start; flex-direction: column; }
    .dashboard-details div { grid-template-columns: 1fr; gap: 4px; }
}

/* =========================================================
   Application — только кнопка для обычного User
   ========================================================= */

.dashboard-apply-only {
    display: grid;
    place-items: center;

    margin-top: 18px;
    padding: 22px;
}

.dashboard-apply-only .btn {
    width: min(100%, 420px);
}

/* =========================================================
   Состояние заявки Иконмейкера без профиля участницы
   ========================================================= */

.iconmaker-application-card {
    display: grid;
    gap: 20px;
    margin-top: 18px;
}

.iconmaker-application-head {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: start;
}

.iconmaker-application-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    color: var(--color-gold-light);
    border: 1px solid rgba(212, 175, 55, .34);
    border-radius: 20px;
    background: rgba(212, 175, 55, .075);
    box-shadow: 0 0 28px rgba(212, 175, 55, .08);
}

.iconmaker-application-icon svg {
    width: 31px;
    height: 31px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.iconmaker-application-copy {
    min-width: 0;
}

.iconmaker-application-copy .eyebrow {
    margin: 0 0 7px;
}

.iconmaker-application-copy h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 500;
    line-height: 1.04;
    overflow-wrap: anywhere;
}

.iconmaker-application-copy > p:not(.eyebrow) {
    max-width: 720px;
    margin: 11px 0 0;
    color: var(--color-muted);
    line-height: 1.58;
}

.iconmaker-application-name {
    display: block;
    margin-top: 11px;
    color: var(--color-text);
    overflow-wrap: anywhere;
}

.iconmaker-application-progress {
    display: grid;
    gap: 9px;
    padding: 16px;
    border: 1px solid rgba(212, 175, 55, .18);
    border-radius: 16px;
    background: rgba(255, 255, 255, .022);
}

.iconmaker-application-progress > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--color-muted);
}

.iconmaker-application-progress strong {
    color: var(--color-gold-light);
}

.iconmaker-application-progress-track {
    height: 10px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, .12);
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
}

.iconmaker-application-progress-track > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #8e5f1e, #d4af37, #fff0bd);
    box-shadow: 0 0 18px rgba(212, 175, 55, .26);
}

.iconmaker-application-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: stretch;
}

.iconmaker-application-actions form {
    display: flex;
    margin: 0;
}

.iconmaker-application-actions .btn {
    min-width: min(100%, 230px);
}

.iconmaker-application-actions .btn > span {
    margin-left: auto;
    font-size: 22px;
}

.iconmaker-delete-draft {
    color: #ffb9b9;
    border-color: rgba(255, 112, 112, .34);
}

.iconmaker-delete-draft:hover {
    color: #fff;
    border-color: rgba(255, 112, 112, .62);
    background: rgba(255, 112, 112, .09);
}

.iconmaker-application-actions .btn:focus-visible {
    outline: 2px solid var(--color-gold-light);
    outline-offset: 3px;
}

@media (max-width: 760px) {
    .iconmaker-application-head {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 14px;
    }

    .iconmaker-application-icon {
        width: 52px;
        height: 52px;
        border-radius: 17px;
    }

    .iconmaker-application-icon svg {
        width: 27px;
        height: 27px;
    }

    .iconmaker-application-head > .status-badge {
        grid-column: 2;
        justify-self: start;
    }

    .iconmaker-application-actions,
    .iconmaker-application-actions form,
    .iconmaker-application-actions .btn {
        width: 100%;
    }
}

@media (max-width: 430px) {
    .iconmaker-application-card {
        gap: 16px;
    }

    .iconmaker-application-copy h2 {
        font-size: 30px;
    }

    .iconmaker-application-progress {
        padding: 14px;
    }
}


/* =========================================================
   Карточка подавшей заявку участницы
   ========================================================= */

.participant-dashboard-card {
    display: grid;
    gap: 20px;

    margin-top: 18px;
}

.participant-dashboard-top {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
}

.participant-dashboard-photo {
    display: grid;
    place-items: center;

    width: 170px;
    aspect-ratio: 4 / 5;

    overflow: hidden;

    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 22px;

    background:
        radial-gradient(
            circle at 50% 15%,
            rgba(212, 175, 55, 0.18),
            rgba(8, 8, 7, 0.96)
        );
}

.participant-dashboard-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center top;
}

.participant-dashboard-photo > span {
    color: var(--color-gold-light);

    font-family: var(--font-display);
    font-size: 52px;
}

.participant-dashboard-identity {
    min-width: 0;
}

.participant-dashboard-title-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.participant-dashboard-title-row h2 {
    margin: 4px 0 0;

    font-family: var(--font-display);
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1;
}

.participant-dashboard-location,
.participant-dashboard-age {
    margin: 10px 0 0;

    color: var(--color-muted);
}

.participant-dashboard-state {
    display: flex;
    gap: 9px;
    align-items: center;

    margin-top: 14px;

    color: var(--color-muted);
}

.participant-dashboard-state > span {
    width: 10px;
    height: 10px;

    border-radius: 50%;

    background: #37d978;
    box-shadow: 0 0 16px rgba(55, 217, 120, 0.6);
}

.participant-dashboard-state.is-history > span {
    background: rgba(255, 255, 255, .34);
    box-shadow: none;
}

.participant-dashboard-progress {
    display: grid;
    gap: 9px;

    padding: 16px;

    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 16px;

    background: rgba(255, 255, 255, 0.022);
}

.participant-dashboard-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.participant-dashboard-actions .btn {
    flex: 1 1 240px;
}

.participant-dashboard-actions .btn span {
    margin-left: auto;
    font-size: 24px;
}

.participant-dashboard-referral {
    display: grid;
    gap: 14px;

    padding: 16px;

    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 16px;

    background: rgba(255, 255, 255, 0.022);
}

.participant-dashboard-referral small {
    color: var(--color-muted);
}

.referral-copy-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.referral-copy-row input {
    width: 100%;
    min-width: 0;
    padding: 12px 14px;

    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;

    color: var(--color-text);
    background: rgba(0, 0, 0, 0.36);
}

.participant-dashboard-stat-sections {
    display: grid;
    gap: 12px;
}

.participant-dashboard-stat-block {
    padding: 16px;

    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 16px;

    background: rgba(255, 255, 255, 0.022);
}

.participant-dashboard-stat-block h3 {
    margin: 0 0 16px;

    color: var(--color-gold-light);
    font-family: var(--font-display);
    font-size: 24px;
}

.participant-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.participant-stat-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.participant-stat-grid > div {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.participant-stat-grid strong {
    color: var(--color-gold-light);
    font-family: var(--font-display);
    font-size: 27px;
}

.participant-stat-grid span {
    color: var(--color-muted);
    font-size: 12px;
}


/* =========================================================
   Команды, которые поддерживает Иконмейкер
   ========================================================= */

.dashboard-supported-teams-card {
    margin-top: 18px;
    padding: 0;
    overflow: hidden;
}

.dashboard-supported-teams-link {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 17px;
    align-items: center;
    min-height: 118px;
    padding: 22px 24px;
    overflow: hidden;
    color: var(--color-text);
    text-decoration: none;
    background:
        radial-gradient(
            circle at 8% 20%,
            rgba(212, 175, 55, .16),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            rgba(212, 175, 55, .06),
            rgba(255, 255, 255, .014) 58%,
            rgba(212, 175, 55, .035)
        );
    transition:
        background-color 180ms ease,
        box-shadow 180ms ease;
}

.dashboard-supported-teams-link::after {
    position: absolute;
    inset: 0;
    content: '';
    border: 1px solid transparent;
    border-radius: inherit;
    pointer-events: none;
    transition: border-color 180ms ease;
}

.dashboard-supported-teams-link:hover {
    background-color: rgba(212, 175, 55, .035);
    box-shadow: inset 0 0 38px rgba(212, 175, 55, .04);
}

.dashboard-supported-teams-link:hover::after {
    border-color: rgba(237, 199, 99, .32);
}

.dashboard-supported-teams-link:focus-visible {
    outline: 2px solid var(--color-gold-light);
    outline-offset: -4px;
}

.dashboard-supported-teams-icon,
.dashboard-supported-teams-arrow {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: var(--color-gold-light);
    border: 1px solid rgba(212, 175, 55, .32);
    background: rgba(212, 175, 55, .07);
}

.dashboard-supported-teams-icon {
    width: 62px;
    height: 62px;
    border-radius: 20px;
    box-shadow: 0 0 26px rgba(212, 175, 55, .09);
}

.dashboard-supported-teams-icon svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dashboard-supported-teams-copy {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.dashboard-supported-teams-copy small {
    color: var(--color-gold-light);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.dashboard-supported-teams-copy strong {
    font-family: var(--font-display);
    font-size: clamp(27px, 4vw, 38px);
    font-weight: 500;
    line-height: 1.05;
}

.dashboard-supported-teams-copy > span {
    color: var(--color-muted);
    font-size: 14px;
}

.dashboard-supported-teams-arrow {
    width: 46px;
    height: 46px;
    border-radius: 50%;
}

.dashboard-supported-teams-arrow svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 180ms ease;
}

.dashboard-supported-teams-link:hover
.dashboard-supported-teams-arrow svg {
    transform: translateX(2px);
}


/* =========================================================
   Duel / Community Idol
   ========================================================= */

.dashboard-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.dashboard-feature-card {
    padding: 0;
    overflow: hidden;
}

.dashboard-feature-banner {
    display: block;

    width: 100%;
    aspect-ratio: 1080 / 243;

    border-bottom: 1px solid rgba(212, 175, 55, 0.2);

    object-fit: cover;
    object-position: center;
}

.dashboard-feature-content {
    display: grid;
    gap: 12px;

    padding: 20px;
}

.dashboard-feature-content h2,
.dashboard-feature-content p {
    margin: 0;
}

.dashboard-feature-content p {
    color: var(--color-muted);
}


/* =========================================================
   Закольцованный список участниц
   ========================================================= */

.dashboard-participants-card {
    margin-top: 18px;
    overflow: hidden;
}

.dashboard-participants-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;

    margin-bottom: 18px;
}

.dashboard-participants-head h2 {
    margin: 4px 0 0;
}

.dashboard-carousel-controls {
    display: flex;
    gap: 8px;
}

.dashboard-carousel-controls button {
    display: grid;
    place-items: center;

    width: 44px;
    height: 44px;
    padding: 0;

    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 50%;

    color: var(--color-gold-light);
    background: rgba(0, 0, 0, 0.4);

    font-size: 30px;
    line-height: 1;

    cursor: pointer;
}

.dashboard-participant-carousel {
    width: 100%;
    overflow: hidden;
}

.dashboard-participant-rail {
    display: flex;
    gap: 12px;

    width: 100%;
    padding: 2px 0 12px;

    overflow-x: auto;
    overscroll-behavior-inline: contain;
    

    scrollbar-width: none;
}

.dashboard-participant-rail::-webkit-scrollbar {
    display: none;
}

.dashboard-participant-slide {
    flex: 0 0 145px;

    display: grid;
    gap: 9px;

    min-width: 0;

    color: var(--color-text);
    text-decoration: none;
}

.dashboard-participant-slide-photo {
    display: grid;
    place-items: center;

    width: 145px;
    aspect-ratio: 3 / 4;

    overflow: hidden;

    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 16px;

    background:
        radial-gradient(
            circle at 50% 10%,
            rgba(212, 175, 55, 0.18),
            rgba(8, 8, 7, 0.96)
        );
}

.dashboard-participant-slide-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center top;

    transition: transform 180ms ease;
}

.dashboard-participant-slide:hover img {
    transform: scale(1.035);
}

.dashboard-participant-slide-photo > span {
    color: var(--color-gold-light);
    font-family: var(--font-display);
    font-size: 38px;
}

.dashboard-participant-slide strong {
    overflow: hidden;

    font-size: 14px;
    line-height: 1.25;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.dashboard-all-participants {
    margin-top: 14px;
}


/* =========================================================
   Телефон
   ========================================================= */

@media (max-width: 760px) {
    .participant-dashboard-top {
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 14px;
        align-items: start;
    }

    .participant-dashboard-photo {
        width: 112px;
        border-radius: 17px;
    }

    .participant-dashboard-title-row {
        display: grid;
        gap: 10px;
    }

    .participant-dashboard-title-row h2 {
        font-size: 32px;
    }

    .participant-dashboard-location,
    .participant-dashboard-age {
        font-size: 13px;
    }

    .participant-dashboard-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .participant-dashboard-actions .btn {
        width: 100%;
    }

    .referral-copy-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .participant-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-feature-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .dashboard-supported-teams-link {
        min-height: 104px;
        padding: 18px;
    }

    .dashboard-supported-teams-icon {
        width: 54px;
        height: 54px;
        border-radius: 17px;
    }

    .dashboard-participant-slide {
        flex-basis: 118px;
    }

    .dashboard-participant-slide-photo {
        width: 118px;
    }

    .dashboard-carousel-controls button {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 430px) {
    .dashboard-supported-teams-link {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 13px;
        padding: 16px;
    }

    .dashboard-supported-teams-arrow {
        display: none;
    }

    .dashboard-supported-teams-copy strong {
        font-size: 25px;
    }

    .participant-dashboard-top {
        grid-template-columns: 96px minmax(0, 1fr);
    }

    .participant-dashboard-photo {
        width: 96px;
    }

    .participant-dashboard-title-row h2 {
        font-size: 27px;
    }

    .participant-dashboard-title-row .status-badge {
        width: fit-content;
        max-width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dashboard-supported-teams-link,
    .dashboard-supported-teams-link::after,
    .dashboard-supported-teams-arrow svg {
        transition: none;
    }
}

.participant-dashboard-duel-action {
    display: flex;
    justify-content: center;

    margin: 16px 0;
}

.participant-dashboard-duel-action .btn {
    display: inline-flex;
    gap: 10px;
    justify-content: center;
    align-items: center;

    width: min(100%, 420px);
    min-height: 54px;
}

.participant-dashboard-duel-action .btn svg {
    width: 22px;
    height: 22px;

    flex: 0 0 auto;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
/* =========================================================
   Уведомления и комментарий модератора
   ========================================================= */

.dashboard-review-comment {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
    align-items: flex-start;
    margin-top: 18px;
    border-color: rgba(212, 175, 55, 0.42);
    background:
        radial-gradient(
            circle at 6% 0%,
            rgba(212, 175, 55, 0.14),
            transparent 38%
        ),
        rgba(10, 10, 9, 0.94);
}

.dashboard-review-comment.is-rejected {
    border-color: rgba(255, 112, 112, 0.35);
    background:
        radial-gradient(
            circle at 6% 0%,
            rgba(255, 96, 96, 0.12),
            transparent 38%
        ),
        rgba(10, 10, 9, 0.94);
}

.dashboard-review-comment-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 50%;
    color: var(--color-gold-light);
    font-family: var(--font-display);
    font-size: 28px;
    background: rgba(212, 175, 55, 0.08);
}

.dashboard-review-comment.is-rejected .dashboard-review-comment-icon {
    color: #ffb4b4;
    border-color: rgba(255, 112, 112, 0.38);
    background: rgba(255, 96, 96, 0.08);
}

.dashboard-review-comment h2 {
    margin: 4px 0 8px;
}

.dashboard-review-comment p:not(.eyebrow) {
    margin: 0 0 14px;
    color: var(--color-text);
    white-space: normal;
    overflow-wrap: anywhere;
}

.dashboard-notifications-card {
    display: grid;
    gap: 16px;
    margin-top: 18px;
}

.dashboard-notifications-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.dashboard-notifications-head h2 {
    margin: 4px 0 0;
}

.dashboard-notification-count {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    padding-inline: 6px;
    border-radius: 999px;
    color: #090806;
    background: var(--color-gold-light);
    font-size: 11px;
    font-weight: 800;
}

.dashboard-notifications-list {
    display: grid;
    gap: 8px;
}

.dashboard-notification-item {
    margin: 0;
}

.dashboard-notification-item button {
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    width: 100%;
    padding: 13px 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    color: inherit;
    background: rgba(255, 255, 255, 0.025);
    text-align: left;
    cursor: pointer;
}

.dashboard-notification-item.is-unread button {
    border-color: rgba(212, 175, 55, 0.3);
    background: rgba(212, 175, 55, 0.07);
}

.dashboard-notification-item strong,
.dashboard-notification-item small {
    display: block;
}

.dashboard-notification-item small {
    margin-top: 4px;
    color: var(--color-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-notification-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
}

.dashboard-notification-item.is-unread .dashboard-notification-dot {
    background: var(--color-gold-light);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.65);
}

@media (max-width: 620px) {
    .dashboard-review-comment {
        grid-template-columns: 1fr;
    }

    .dashboard-notifications-head {
        flex-direction: column;
    }

    .dashboard-notifications-head .btn {
        width: 100%;
    }
}

.dashboard-notifications-empty {
    margin: 0;
    padding: 14px;
    border: 1px dashed rgba(212, 175, 55, 0.18);
    border-radius: var(--radius-md);
    color: var(--color-muted);
    background: rgba(255, 255, 255, 0.02);
}

/* TERRA ICON announcements button — Stage F */
.dashboard-announcements-card {
    position: relative;
    margin-top: 10px;
    overflow: hidden;
    border: 1px solid rgba(147, 62, 70, .62);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 12% 15%, rgba(196, 92, 99, .18), transparent 34%),
        linear-gradient(135deg, rgba(73, 19, 27, .96), rgba(36, 11, 17, .98));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 18px 42px rgba(20, 2, 7, .28);
}

.dashboard-announcements-link {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto auto;
    gap: 13px;
    align-items: center;
    min-height: 76px;
    padding: 13px 16px;
    color: #fff4e8;
}

.dashboard-announcements-link:hover {
    color: #fff;
    background: rgba(255,255,255,.025);
}

.dashboard-announcements-envelope {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(222, 151, 132, .42);
    border-radius: 15px;
    color: #e9b59c;
    background: rgba(11, 3, 6, .28);
}

.dashboard-announcements-envelope svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dashboard-announcements-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.dashboard-announcements-copy strong {
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 500;
    letter-spacing: .01em;
}

.dashboard-announcements-copy small {
    overflow: hidden;
    color: rgba(255, 229, 216, .7);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-announcements-count {
    display: inline-grid;
    place-items: center;
    min-width: 28px;
    height: 28px;
    padding-inline: 8px;
    border: 1px solid rgba(255, 199, 172, .56);
    border-radius: 999px;
    color: #fff8ed;
    background: #8b2938;
    box-shadow: 0 0 0 4px rgba(139, 41, 56, .16);
    font-size: 12px;
    font-weight: 800;
}

.dashboard-announcements-arrow {
    color: #e9b59c;
    font-size: 28px;
    line-height: 1;
}

.dashboard-announcements-card.is-unread::before {
    position: absolute;
    inset: -70% auto -70% -24%;
    width: 22%;
    content: '';
    transform: rotate(18deg);
    background: linear-gradient(90deg, transparent, rgba(255, 217, 191, .13), transparent);
    animation: dashboard-announcement-sheen 5.8s ease-in-out infinite;
    pointer-events: none;
}

.dashboard-announcements-card.is-unread .dashboard-announcements-envelope {
    box-shadow: 0 0 24px rgba(181, 70, 81, .22);
}

@keyframes dashboard-announcement-sheen {
    0%, 58% { left: -24%; opacity: 0; }
    67% { opacity: 1; }
    83%, 100% { left: 116%; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .dashboard-announcements-card.is-unread::before {
        animation: none;
        display: none;
    }
}

@media (max-width: 440px) {
    .dashboard-announcements-link {
        grid-template-columns: 42px minmax(0, 1fr) auto auto;
        gap: 10px;
        padding-inline: 13px;
    }

    .dashboard-announcements-envelope {
        width: 42px;
        height: 42px;
        border-radius: 13px;
    }

    .dashboard-announcements-copy strong { font-size: 19px; }
}

/* =========================================================
   Страница «Вы в командах»
   ========================================================= */

.dashboard-teams-shell {
    display: grid;
    gap: 18px;
}

.dashboard-teams-hero {
    display: grid;
    gap: 24px;
    padding: clamp(24px, 5vw, 46px);
    overflow: hidden;
    background:
        radial-gradient(
            circle at 88% 16%,
            rgba(212, 175, 55, .15),
            transparent 32%
        ),
        rgba(8, 8, 7, .96);
}

.dashboard-teams-hero h1 {
    margin: 6px 0 12px;
    font-family: var(--font-display);
    font-size: clamp(44px, 7vw, 76px);
    font-weight: 500;
    line-height: .96;
}

.dashboard-teams-hero p:not(.eyebrow) {
    max-width: 720px;
    margin: 0;
    color: var(--color-muted);
    font-size: clamp(15px, 2vw, 19px);
    line-height: 1.55;
}

.dashboard-teams-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.dashboard-teams-count {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 15px;
    color: var(--color-gold-light);
    border: 1px solid rgba(212, 175, 55, .28);
    border-radius: 999px;
    background: rgba(212, 175, 55, .065);
    font-size: 13px;
    font-weight: 700;
}

.dashboard-teams-section {
    padding: clamp(20px, 4vw, 34px);
}

.dashboard-teams-section-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: end;
    margin-bottom: 22px;
}

.dashboard-teams-section-head h2 {
    margin: 5px 0 0;
    font-family: var(--font-display);
    font-size: clamp(34px, 5vw, 52px);
    font-weight: 500;
    line-height: 1;
}

.dashboard-teams-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

.dashboard-team-card {
    display: flex;
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid rgba(212, 175, 55, .24);
    border-radius: 20px;
    background:
        radial-gradient(
            circle at 50% 4%,
            rgba(212, 175, 55, .09),
            transparent 38%
        ),
        rgba(9, 9, 8, .96);
    box-shadow: 0 16px 38px rgba(0, 0, 0, .22);
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.dashboard-team-card:hover {
    transform: translateY(-2px);
    border-color: rgba(237, 199, 99, .48);
    box-shadow: 0 20px 44px rgba(0, 0, 0, .31);
}

.dashboard-team-photo {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    color: var(--color-gold-light);
    border-bottom: 1px solid rgba(212, 175, 55, .19);
    background:
        radial-gradient(
            circle at 50% 16%,
            rgba(212, 175, 55, .2),
            #080807 72%
        );
    text-decoration: none;
}

.dashboard-team-photo::after {
    position: absolute;
    inset: 0;
    content: '';
    background: linear-gradient(
        180deg,
        transparent 62%,
        rgba(0, 0, 0, .42)
    );
    pointer-events: none;
}

.dashboard-team-photo.is-unavailable::after {
    background: rgba(0, 0, 0, .12);
}

.dashboard-team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 240ms ease;
}

.dashboard-team-card:hover .dashboard-team-photo img {
    transform: scale(1.025);
}

.dashboard-team-photo:focus-visible,
.dashboard-team-body a:focus-visible {
    outline: 2px solid var(--color-gold-light);
    outline-offset: -3px;
}

.dashboard-team-initials {
    font-family: var(--font-display);
    font-size: clamp(48px, 8vw, 72px);
}

.dashboard-team-body {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: column;
    padding: 18px;
}

.dashboard-team-badge {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 6px;
    max-width: 100%;
    padding: 6px 9px;
    color: var(--color-gold-light);
    border: 1px solid rgba(212, 175, 55, .28);
    border-radius: 999px;
    background: rgba(212, 175, 55, .065);
    font-size: 10px;
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.dashboard-team-badge svg {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dashboard-team-body h3 {
    margin: 13px 0 0;
    font-family: var(--font-display);
    font-size: clamp(29px, 4vw, 38px);
    font-weight: 500;
    line-height: 1.02;
    overflow-wrap: anywhere;
}

.dashboard-team-body h3 a {
    color: var(--color-text);
    text-decoration: none;
}

.dashboard-team-location {
    margin: 9px 0 0;
    color: var(--color-muted);
    font-size: 13px;
    line-height: 1.45;
}

.dashboard-team-state {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 14px 0 0;
    padding-top: 12px;
    color: var(--color-muted);
    border-top: 1px solid rgba(255, 255, 255, .07);
    font-size: 12px;
    line-height: 1.4;
}

.dashboard-team-state > span {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #d4af37;
    box-shadow: 0 0 12px rgba(212, 175, 55, .35);
}

.dashboard-team-state.is-unavailable > span {
    background: rgba(255, 255, 255, .32);
    box-shadow: none;
}

.dashboard-team-open {
    display: inline-flex;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin-top: auto;
    padding-top: 12px;
}

.dashboard-team-location + .dashboard-team-open,
.dashboard-team-badge + h3 + .dashboard-team-open {
    margin-top: 18px;
}

.dashboard-teams-empty {
    display: grid;
    place-items: center;
    max-width: 720px;
    min-height: 320px;
    margin-inline: auto;
    padding: clamp(26px, 6vw, 54px) 18px;
    text-align: center;
}

.dashboard-teams-empty.is-compact {
    min-height: 180px;
}

.dashboard-teams-empty-icon {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    color: var(--color-gold-light);
    border: 1px solid rgba(212, 175, 55, .3);
    border-radius: 24px;
    background: rgba(212, 175, 55, .065);
    box-shadow: 0 0 34px rgba(212, 175, 55, .08);
}

.dashboard-teams-empty-icon svg {
    width: 38px;
    height: 38px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dashboard-teams-empty h3 {
    margin: 20px 0 0;
    font-family: var(--font-display);
    font-size: clamp(31px, 5vw, 45px);
    font-weight: 500;
    line-height: 1.05;
}

.dashboard-teams-empty p {
    max-width: 610px;
    margin: 12px 0 20px;
    color: var(--color-muted);
    line-height: 1.6;
}

.dashboard-teams-history {
    display: grid;
    gap: 28px;
}

.dashboard-teams-history-group {
    display: grid;
    gap: 15px;
}

.dashboard-teams-history-group > h3 {
    margin: 0;
    color: var(--color-gold-light);
    font-family: var(--font-display);
    font-size: 27px;
    font-weight: 500;
}

.dashboard-teams-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}

@media (min-width: 620px) {
    .dashboard-teams-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 760px) {
    .dashboard-teams-hero {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
    }

    .dashboard-teams-hero-actions {
        justify-content: flex-end;
    }
}

@media (min-width: 980px) {
    .dashboard-teams-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .dashboard-teams-hero,
    .dashboard-teams-section {
        padding-inline: 17px;
    }

    .dashboard-teams-hero-actions,
    .dashboard-teams-hero-actions .btn,
    .dashboard-teams-count {
        width: 100%;
    }

    .dashboard-teams-count,
    .dashboard-teams-hero-actions .btn {
        justify-content: center;
    }

    .dashboard-team-body {
        padding: 16px;
    }

    .dashboard-teams-pagination {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .dashboard-teams-pagination .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dashboard-team-card,
    .dashboard-team-photo img {
        transition: none;
    }

    .dashboard-team-card:hover {
        transform: none;
    }

    .dashboard-team-card:hover .dashboard-team-photo img {
        transform: none;
    }
}
