/* Archidekt deck discovery — toolbar compacte (style collection, pas de cadre global) */

.archidekt-page {
    min-width: 0;
    max-width: 100%;
}

.archidekt-toolbar {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
    min-width: 0;
}

.archidekt-toolbar__lane {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2);
    min-width: 0;
}

.archidekt-toolbar__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2);
    margin-left: auto;
}

.archidekt-toolbar__hint {
    margin: 0;
    font-family: var(--font-grimoire);
    font-size: var(--fs-xs);
    font-style: italic;
    color: var(--text-muted);
}

.archidekt-toolbar__lane--filters {
    padding-top: 0.55rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.atk-btn-scan {
    --btn-c: #b8f4ea;
    --btn-g: 78, 205, 196;
    --btn-fill: #0e2c2a;
    --btn-sole: #2a8a80;
    color: #b8f4ea;
    background-color: #0e2c2a;
}

.atk-btn-scan:hover {
    color: #e8fffa;
    background-color: #164844;
}

.atk-btn-scan-all {
    --cut: 6px;
    --cut-r: 8px;
    min-height: 2.1rem;
    padding: 0.28rem 0.85rem;
    border: 0;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #c8ecff;
    background-color: #143044;
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, transparent 48%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 -2px 0 rgba(110, 200, 255, 0.7);
    clip-path: polygon(
        var(--cut) 0,
        calc(100% - var(--cut-r)) 0,
        100% var(--cut-r),
        100% 100%,
        0 100%,
        0 var(--cut)
    );
}

.atk-btn-scan-all:hover {
    color: #e8f6ff;
    background-color: #1c4a68;
}

.atk-btn-scan-all:disabled,
.atk-btn-scan:disabled {
    opacity: 0.5;
    cursor: wait;
}

.atk-field {
    --cut: 8px;
    --cut-r: 10px;
    --g: 180, 190, 255;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    min-height: 2.35rem;
    min-width: 0;
    padding: 0 0.85rem;
    border: 0;
    border-radius: 0;
    background-color: #0c0b18;
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 48%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -2px 0 rgba(var(--g), 0.45);
    clip-path: polygon(
        var(--cut) 0,
        calc(100% - var(--cut-r)) 0,
        100% var(--cut-r),
        100% 100%,
        0 100%,
        0 var(--cut)
    );
}

.atk-edhrec {
    --cut: 6px;
    --cut-r: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.28rem 0.65rem;
    border: 0;
    border-radius: 0;
    background-color: #1a1930;
    background-image:
        linear-gradient(180deg, rgba(255, 246, 196, 0.18) 0%, transparent 46%),
        radial-gradient(120% 80% at 50% 120%, rgba(232, 200, 74, 0.22), transparent 58%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        inset 0 -2px 0 rgba(232, 200, 74, 0.55);
    color: #e8d48a;
    font-family: var(--font-heading);
    font-size: var(--fs-2xs);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    clip-path: polygon(
        var(--cut) 0,
        calc(100% - var(--cut-r)) 0,
        100% var(--cut-r),
        100% 100%,
        0 100%,
        0 var(--cut)
    );
}

.atk-edhrec:hover {
    color: #fff4c8;
    background-color: #222140;
    text-decoration: none;
}

.atk-edhrec[hidden] {
    display: none !important;
}

/* Tri des commandants : voir .segmented dans components.css. */

.atk-edhrec__rank {
    color: var(--gold);
}

.atk-edhrec__decks {
    color: rgba(244, 238, 216, 0.82);
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    font-family: var(--font-grimoire);
    font-size: var(--fs-xs);
}

.archidekt-deck__edhrec {
    margin: 0.1rem 0 0;
    font-size: var(--fs-xs);
    color: #d4bc7a;
}

.archidekt-deck__edhrec a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dotted rgba(201, 176, 106, 0.5);
}

.archidekt-deck__edhrec a:hover {
    color: #e8d48a;
}

.atk-field--cmd {
    flex: 1 1 12rem;
    min-width: 0;
    max-width: min(28rem, 100%);
}

.atk-field__label {
    font-family: var(--font-heading);
    font-size: var(--fs-2xs);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #c8caf0;
    flex-shrink: 0;
    white-space: nowrap;
}

.atk-field--cmd { --g: 196, 160, 255; }
.atk-field--cmd .atk-field__label,
.atk-field--cmd .atk-field__count { color: #e0d0ff; }

.atk-field--filter { --g: 110, 200, 255; }
.atk-field--filter .atk-field__label { color: #b8e4ff; }

.atk-field--pct { --g: 232, 200, 74; }
.atk-field--pct .atk-field__label { color: #f0d88a; }

.atk-field--budget { --g: 255, 138, 106; }
.atk-field--budget .atk-field__label { color: #ffc4b0; }

.atk-field--limit { --g: 196, 160, 255; }
.atk-field--limit .atk-field__label { color: #e0d0ff; }

.atk-field--scan { --g: 140, 160, 190; }
.atk-field--scan .atk-field__label { color: #c0d0e8; }

.atk-field__count {
    font-weight: 700;
    letter-spacing: 0.04em;
    color: rgba(244, 238, 216, 0.82);
    text-transform: none;
}

.atk-field .atk-select,
.atk-field .atk-input {
    height: 1.75rem;
    min-height: 1.75rem;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    font-family: var(--font-grimoire);
    font-size: var(--fs-sm);
    color: var(--text-card);
}

.atk-field .atk-select:focus-visible,
.atk-field .atk-input:focus-visible {
    outline: none;
}

.atk-field:focus-within {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        inset 0 -2px 0 rgba(var(--g), 0.75),
        0 0 14px rgba(var(--g), 0.22);
}

.atk-field--cmd .atk-select {
    flex: 1 1 auto;
    width: 0;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

.atk-field .atk-input {
    width: 3.5rem;
}

.atk-field .atk-input--budget {
    width: 5rem;
}

.atk-field--filter {
    flex: 1 1 12rem;
    min-width: 0;
    max-width: 18rem;
}

.atk-field .atk-input--filter {
    width: 100%;
    min-width: 0;
    flex: 1;
}

.atk-field .atk-select {
    min-width: 3.25rem;
    cursor: pointer;
}

.atk-check span {
    white-space: nowrap;
}

.atk-field .atk-select option {
    background: var(--surface-2);
    color: var(--text-card);
}

.atk-type-catalog {
    margin: 0 0 var(--space-4);
    min-width: 0;
    max-width: 100%;
}

.atk-type-catalog__head {
    margin-bottom: 0.45rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.atk-type-catalog__title {
    margin: 0;
    font-family: var(--font-nav);
    font-size: 1.35rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--text-card);
}

.atk-type-catalog__meta {
    margin: 0.2rem 0 0;
    font-family: var(--font-grimoire);
    font-size: var(--fs-xs);
    font-style: italic;
    color: var(--text-muted);
}

.atk-type-catalog__meta a {
    color: #6ec8ff;
}

.atk-type-catalog__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr));
    gap: 0.35rem;
    max-height: 18rem;
    overflow: auto;
    min-width: 0;
}

.atk-type-catalog__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    padding: 0.4rem 0.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
}

.atk-type-catalog__item[data-art-url],
.atk-type-catalog__item[data-art-sid] {
    cursor: help;
}

.atk-type-catalog__item img {
    flex-shrink: 0;
    border-radius: 0.15rem;
}

.atk-type-catalog__name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: var(--font-nav);
    font-size: 0.95rem;
    color: var(--text-card);
}

.atk-type-catalog__item.is-owned {
    cursor: pointer;
    background: transparent;
    color: var(--text-card);
}

.atk-type-catalog__item.is-owned:hover {
    background: rgba(78, 205, 196, 0.08);
}

.atk-type-catalog__owned {
    font-size: var(--fs-2xs);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #9eecb0;
    white-space: nowrap;
}

.atk-type-catalog__missing {
    font-size: var(--fs-2xs);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #ff8a6a;
    white-space: nowrap;
}

.atk-check {
    --cut: 7px;
    --cut-r: 9px;
    --g: 180, 190, 255;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    min-height: 2.25rem;
    padding: 0 0.7rem;
    border: 0;
    border-radius: 0;
    background-color: #12111f;
    background-image:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 46%),
        radial-gradient(120% 80% at 50% 120%, rgba(var(--g), 0.18), transparent 58%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        inset 0 -2px 0 rgba(var(--g), 0.45);
    font-family: var(--font-grimoire);
    font-size: var(--fs-sm);
    color: #c8caf0;
    cursor: pointer;
    user-select: none;
    clip-path: polygon(
        var(--cut) 0,
        calc(100% - var(--cut-r)) 0,
        100% var(--cut-r),
        100% 100%,
        0 100%,
        0 var(--cut)
    );
}

.atk-check--oracle { --g: 232, 200, 74; color: #f0d88a; }
.atk-check--lands { --g: 255, 138, 106; color: #ffc4b0; }

.atk-check input {
    margin: 0;
    accent-color: rgb(var(--g));
}

/* Bandeau de statut : voir .status-banner dans components.css. */

.archidekt-results__head {
    margin: 1.35rem 0 0.85rem;
    padding-bottom: 0.45rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.archidekt-results__head h2 {
    margin: 0 0 0.25rem;
    font-family: var(--font-nav);
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--text-card);
}

.archidekt-results__meta {
    margin: 0;
    font-family: var(--font-grimoire);
    font-style: italic;
    color: var(--text-muted);
    font-size: var(--fs-md);
}

.atk-done {
    margin: var(--space-6) 0;
    text-align: center;
}

.atk-done__k {
    margin: 0;
    font-family: var(--font-nav);
    font-size: clamp(1.65rem, 3.2vw, 2.35rem);
    font-weight: 400;
    letter-spacing: 0.02em;
    color: #e8e4f4;
}

.atk-done__hint {
    margin: 0.45rem 0 0;
    font-family: var(--font-grimoire);
    font-size: var(--fs-lg);
    font-style: italic;
    color: var(--text-muted);
}

.archidekt-results__list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.archidekt-deck {
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.archidekt-deck__summary {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.85rem 1rem;
    align-items: center;
    padding: 0.85rem 0.15rem;
    cursor: pointer;
    width: 100%;
    border: none;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
}

.archidekt-deck__summary:has(.archidekt-deck__thumb) {
    grid-template-columns: auto auto 1fr auto;
}

.archidekt-deck__summary:hover {
    background: rgba(255, 255, 255, 0.03);
}

.archidekt-deck__pct {
    font-family: var(--font-nav);
    font-weight: 400;
    font-size: 1.45rem;
    min-width: 3.6rem;
    text-align: left;
    letter-spacing: 0.02em;
    color: var(--text-muted);
    text-shadow: 0 0 12px color-mix(in srgb, currentColor 42%, transparent);
}

.archidekt-deck__pct.is-low { color: #8b8ab0; }
.archidekt-deck__pct.is-mid { color: #e8c84a; }
.archidekt-deck__pct.is-good { color: #6ec8ff; }
.archidekt-deck__pct.is-high { color: #9eecb0; }

.archidekt-deck__thumb {
    width: 2.6rem;
    height: 3.6rem;
    object-fit: cover;
    border-radius: 0;
    clip-path: polygon(4px 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%, 0 4px);
    background: var(--bg);
}

.archidekt-deck__thumb[data-art-url] {
    cursor: zoom-in;
}

.archidekt-deck__info h3 {
    margin: 0 0 0.15rem;
    font-family: var(--font-nav);
    font-size: 1.15rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    color: var(--text-card);
}

.archidekt-deck__meta {
    margin: 0;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.archidekt-deck__gap {
    font-style: italic;
    color: #ff8a6a;
}

.archidekt-deck__stats {
    text-align: right;
    font-size: 0.82rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.archidekt-deck__stats strong {
    display: block;
    font-family: var(--font-nav);
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--text-card);
}

.archidekt-deck__body {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.75rem 0.15rem 1rem;
    display: none;
}

.archidekt-deck.is-open .archidekt-deck__body {
    display: block;
}

.archidekt-deck__owned-title {
    margin: 0 0 0.4rem;
    font-family: var(--font-heading);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #9eecb0;
}

.archidekt-owned-list {
    list-style: none;
    margin: 0 0 0.85rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: 220px;
    overflow: auto;
}

.archidekt-owned-list li,
.archidekt-missing-list li,
.archidekt-card-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.45rem;
    align-items: center;
    font-family: var(--font-nav);
    font-size: 0.92rem;
    padding: 0.35rem 0.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: transparent;
}

.archidekt-owned-list img,
.archidekt-missing-list img {
    width: 28px;
    height: 40px;
    object-fit: cover;
    border-radius: 0;
    flex-shrink: 0;
}

.archidekt-owned-list .price,
.archidekt-missing-list .price,
.archidekt-list-empty {
    color: #e8c84a;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
}

.archidekt-list-empty {
    color: var(--text-muted);
    font-family: var(--font-grimoire);
    font-style: italic;
    font-weight: 400;
    border: 0;
}

.archidekt-deck__missing-title {
    margin: 0.35rem 0 0.4rem;
    font-family: var(--font-heading);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ff8a6a;
}

.archidekt-missing-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: 280px;
    overflow-y: auto;
}

.archidekt-deck__links {
    margin-top: 0.85rem;
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    align-items: center;
}

.atk-ext-link {
    --cut: 6px;
    --cut-r: 8px;
    display: inline-flex;
    align-items: center;
    min-height: 2.05rem;
    padding: 0.28rem 0.85rem;
    color: #b8f4ea;
    font-family: var(--font-heading);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    background: transparent;
    box-shadow: inset 0 -2px 0 rgba(78, 205, 196, 0.45);
    clip-path: polygon(
        var(--cut) 0,
        calc(100% - var(--cut-r)) 0,
        100% var(--cut-r),
        100% 100%,
        0 100%,
        0 var(--cut)
    );
}

.atk-ext-link:hover {
    color: #e8fffa;
    background: rgba(78, 205, 196, 0.08);
}

.atk-btn-import {
    --btn-c: #f6e7b0;
    --btn-g: 232, 200, 74;
    --btn-fill: #2a2410;
    --btn-sole: #b8942a;
    color: #f6e7b0;
    background-color: #2a2410;
}

.atk-btn-import:hover {
    color: #fff8d6;
    background-color: #3a3014;
}

.archidekt-group {
    margin-bottom: 1.5rem;
}

.archidekt-group__title {
    margin: 0 0 0.45rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 1.35rem;
    color: #c4a0ff;
    font-family: var(--font-nav);
    font-weight: 400;
    letter-spacing: 0.02em;
}

.archidekt-group__sub {
    font-size: 0.75em;
    color: var(--text-muted);
    font-weight: 400;
    font-family: var(--font-grimoire);
    font-style: italic;
}

.archidekt-deck__cmd {
    margin: 0 0 0.15rem;
    font-family: var(--font-heading);
    font-size: var(--fs-2xs);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #c4a0ff;
}

.archidekt-import-btn {
    font-size: 0.82rem;
}

@media (max-width: 900px) {
    .archidekt-toolbar__actions {
        margin-left: 0;
        width: 100%;
    }

    .archidekt-toolbar__actions .btn,
    .archidekt-toolbar__actions .atk-btn-scan-all {
        flex: 1;
    }

    .atk-field--cmd {
        max-width: none;
    }

    .atk-field--filter {
        max-width: none;
    }
}

@media (max-width: 640px) {
    .archidekt-deck__summary {
        grid-template-columns: auto 1fr;
    }
    .archidekt-deck__stats {
        grid-column: 1 / -1;
        text-align: left;
    }
}

.atk-views {
    margin: 0 0 0.85rem;
}

.archidekt-page.is-gallery .atk-field--cmd,
.archidekt-page.is-gallery .archidekt-toolbar__lane--filters,
.archidekt-page.is-gallery .archidekt-toolbar__hint,
.archidekt-page.is-gallery .atk-btn-scan-all,
.archidekt-page.is-gallery .atk-type-catalog,
.archidekt-page.is-gallery .archidekt-results {
    display: none !important;
}

.atk-gallery {
    margin: 0.35rem 0 1.5rem;
}

.atk-gallery[hidden] {
    display: none;
}

.atk-gallery__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.45rem 1rem;
    margin: 0 0 1rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.atk-gallery__title {
    margin: 0;
    font-family: var(--font-nav);
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--text-card);
}

.atk-gallery__meta {
    margin: 0;
    font-family: var(--font-grimoire);
    font-size: var(--fs-md);
    font-style: italic;
    color: var(--text-muted);
}

.atk-gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(9.4rem, 1fr));
    gap: 1.15rem 0.9rem;
}

.atk-gallery__card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.atk-gallery__art {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 5 / 7;
    background: #0c0b18;
    clip-path: polygon(8px 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 0 100%, 0 8px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.35s ease;
}

.atk-gallery__card:hover .atk-gallery__art,
.atk-gallery__card:focus-visible .atk-gallery__art {
    transform: translateY(-5px);
    filter: drop-shadow(0 0 16px rgba(232, 200, 74, 0.28));
}

.atk-gallery__card.is-selected .atk-gallery__art {
    filter: drop-shadow(0 0 16px rgba(196, 160, 255, 0.45));
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.45),
        inset 0 0 0 2px #c4a0ff;
}

.atk-gallery__card:focus-visible {
    outline: none;
}

.atk-gallery__art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.atk-gallery__rank {
    position: absolute;
    top: 0.4rem;
    left: 0.4rem;
    z-index: 1;
    padding: 0.12rem 0.4rem;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #f6e7b0;
    background: rgba(12, 12, 26, 0.78);
    clip-path: polygon(3px 0, 100% 0, 100% calc(100% - 3px), calc(100% - 3px) 100%, 0 100%, 0 3px);
}

.atk-gallery__qty {
    position: absolute;
    top: 0.4rem;
    right: 0.4rem;
    z-index: 1;
    min-width: 1.45rem;
    padding: 0.12rem 0.35rem;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-align: center;
    color: #f4f5ff;
    background: rgba(12, 12, 26, 0.78);
    clip-path: polygon(3px 0, 100% 0, 100% calc(100% - 3px), calc(100% - 3px) 100%, 0 100%, 0 3px);
}

.atk-gallery__name {
    margin: 0;
    font-family: var(--font-nav);
    font-size: 0.92rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.2;
    color: var(--text-card);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.atk-gallery__empty {
    grid-column: 1 / -1;
    margin: var(--space-6) 0;
    text-align: center;
    font-family: var(--font-nav);
    font-size: clamp(1.35rem, 2.6vw, 1.85rem);
    font-weight: 400;
    color: #c8c4dc;
}

@media (max-width: 640px) {
    .atk-gallery__grid {
        grid-template-columns: repeat(auto-fill, minmax(7.6rem, 1fr));
        gap: 0.9rem 0.65rem;
    }
}
