:root {
    --al-bg: #090909;
    --al-panel: #121212;
    --al-panel-2: #171717;
    --al-border: rgba(255, 198, 84, 0.26);
    --al-gold: #cfa349;
    --al-text: #f5f0e6;
    --al-muted: #bcb2a1;
}

/* Account Listings admin sub-pages: align panels with admin-shell (cool navy). */
.al-admin {
    color: var(--adm-text, #e8eef8);
}

.al-admin .admin-card,
.al-admin .admin-header-bar {
    /* Inherit from admin-shell when loaded; optional subtle override */
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

.al-admin .btn-primary {
    /* Match admin-shell primary */
    background: linear-gradient(135deg, #3a7bc8, #2d5a9e);
    border: 1px solid rgba(140, 190, 255, 0.25);
}

.al-filters,
.al-index-table {
    background: rgba(12, 16, 26, 0.88);
    border: 1px solid rgba(110, 160, 235, 0.2);
    border-radius: 12px;
    padding: 16px;
}

.al-index-table table {
    width: 100%;
    border-collapse: collapse;
}

.al-index-table th,
.al-index-table td {
    padding: 12px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--adm-text, #e8eef8);
}

.al-badge {
    display: inline-block;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(110, 165, 230, 0.35);
}

.al-grid {
    display: grid;
    gap: 16px;
}

.al-panel {
    background: rgba(10, 14, 24, 0.9);
    border: 1px solid rgba(110, 160, 235, 0.2);
    border-radius: 12px;
    padding: 16px;
}

.al-panel h3 {
    color: #9ecfff;
    margin-bottom: 14px;
}

.al-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.al-wide {
    grid-column: 1 / -1;
}

.al-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.al-gallery-item {
    border: 1px solid var(--al-border);
    border-radius: 10px;
    padding: 8px;
    display: grid;
    gap: 8px;
}

.al-gallery-item img,
.al-main-preview {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    max-height: 180px;
}

.al-public-page {
    padding: 120px 24px 40px;
    max-width: 1300px;
    margin: 0 auto;
}

/* Functional board layout for public listings */
.al-board-shell {
    max-width: 1100px;
    margin: 0 auto;
    padding: 120px 20px 48px;
    color: var(--al-text);
    position: relative;
}

.al-board-shell::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(32rem 24rem at 16% 12%, rgba(204, 146, 59, 0.13), transparent 70%),
        radial-gradient(36rem 26rem at 85% 20%, rgba(255, 209, 132, 0.08), transparent 72%),
        linear-gradient(180deg, #090909 0%, #0d0d0d 45%, #0a0a0a 100%);
}

.al-board-header h1 {
    margin: 0 0 8px;
    font-size: 28px;
    line-height: 1.15;
}

.al-board-header p {
    margin: 0;
    color: var(--al-muted);
}

.al-board-filters {
    margin-top: 14px;
    margin-bottom: 14px;
    display: grid;
    grid-template-columns: 1fr 180px 180px;
    gap: 8px;
}

.al-filter-item input,
.al-filter-item select {
    width: 100%;
    border: 1px solid rgba(255, 198, 84, 0.2);
    background: rgba(20, 20, 20, 0.9);
    color: var(--al-text);
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 13px;
    color-scheme: dark;
}

.al-filter-item input:focus,
.al-filter-item select:focus {
    outline: none;
    border-color: rgba(255, 198, 84, 0.5);
}

.al-filter-item select option {
    background: #050913;
    color: #dce8fa;
}

.al-filter-item select option:checked {
    background: rgba(81, 136, 215, 0.22);
    color: #e8f0ff;
}

.al-filter-item select option:hover {
    background: rgba(81, 136, 215, 0.16);
    color: #e8f0ff;
}

.al-board-list {
    display: grid;
    gap: 0;
    border-top: 1px solid rgba(255, 198, 84, 0.16);
}

.al-row {
    border-bottom: 1px solid rgba(255, 198, 84, 0.16);
    padding: 10px 8px;
    background: rgba(14, 14, 14, 0.72);
    transition: background-color .15s ease;
}

.al-row:hover {
    background: rgba(22, 22, 22, 0.85);
}

.al-row-main {
    display: flex;
    align-items: center;
    gap: 10px;
}

.al-row-thumb {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid rgba(255, 198, 84, 0.22);
    flex: 0 0 auto;
}

.al-row-center {
    flex: 1;
    min-width: 0;
}

.al-row-topline {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.al-row-topline h3 {
    margin: 0;
    font-size: 15px;
    line-height: 1.25;
    color: #f5e9d3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.al-row-price {
    color: #f7d794;
    font-size: 26px;
    font-weight: 700;
    white-space: nowrap;
    line-height: 1;
}

.al-row-compact {
    margin-top: 4px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    color: #c8b899;
    font-size: 12px;
}

.al-row-compact span {
    position: relative;
}

.al-row-compact span:not(:last-child)::after {
    content: "/";
    margin-left: 8px;
    color: #8b7d64;
}

.al-row-summary {
    margin: 10px 0 0;
    color: #ddd1bc;
    line-height: 1.5;
}

.al-row-actions {
    margin-top: 4px;
    padding-left: 54px;
}

.al-row-actions a {
    color: #f3cc83;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: .02em;
}

.al-row-actions a:hover {
    color: #ffe1a4;
}

.al-empty {
    margin-top: 14px;
    border: 1px solid rgba(255, 198, 84, 0.18);
    border-radius: 12px;
    padding: 20px;
    background: rgba(14, 14, 14, 0.82);
}

.al-empty h2 {
    margin: 0 0 6px;
    font-size: 20px;
}

.al-empty p {
    margin: 0;
    color: var(--al-muted);
}

.al-market-shell {
    position: relative;
    max-width: 1360px;
    margin: 0 auto;
    padding: 118px 24px 64px;
}

.al-market-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(45rem 30rem at 14% 20%, rgba(225, 170, 72, 0.15), transparent 66%),
        radial-gradient(42rem 28rem at 86% 12%, rgba(255, 215, 154, 0.09), transparent 70%),
        linear-gradient(180deg, #070707 0%, #0b0b0b 48%, #090909 100%);
}

.al-market-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .8), transparent 85%);
}

.al-hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 28px;
    padding: 34px;
    border: 1px solid rgba(255, 196, 94, 0.24);
    background: linear-gradient(160deg, rgba(20, 20, 20, .95), rgba(9, 9, 9, .88));
    border-radius: 20px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.52), inset 0 0 80px rgba(219, 157, 49, 0.06);
}

.al-eyebrow {
    color: #dfb666;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .2em;
    margin-bottom: 12px;
}

.al-public-title {
    font-size: clamp(36px, 4vw, 56px);
    line-height: 1.06;
    margin-bottom: 14px;
    text-shadow: 0 8px 40px rgba(223, 170, 73, .16);
}

.al-public-subtitle {
    max-width: 62ch;
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.al-hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.al-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: .25s ease;
}

.al-btn-primary {
    color: #1a1307;
    background: linear-gradient(130deg, #f0c575, #c79234 65%, #a3701e);
    box-shadow: 0 10px 24px rgba(197, 141, 45, 0.35);
}

.al-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(197, 141, 45, 0.45);
}

.al-btn-ghost {
    border: 1px solid rgba(230, 192, 121, 0.4);
    color: #f7e7c5;
    background: rgba(255, 255, 255, 0.02);
}

.al-btn-ghost:hover {
    border-color: rgba(230, 192, 121, 0.66);
    background: rgba(255, 255, 255, 0.05);
}

.al-hero-showcase {
    position: relative;
    min-height: 290px;
}

.al-showcase-card {
    position: absolute;
    border-radius: 16px;
    border: 1px solid rgba(255, 201, 112, 0.32);
    overflow: hidden;
    background: linear-gradient(180deg, rgba(18, 18, 18, .95), rgba(9, 9, 9, .96));
}

.al-showcase-card-main {
    inset: 0 0 18px 0;
}

.al-showcase-card-main img {
    width: 100%;
    height: 62%;
    object-fit: cover;
}

.al-showcase-meta {
    padding: 14px;
    display: grid;
    gap: 6px;
}

.al-showcase-meta span { color: #d5b375; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; }
.al-showcase-meta strong { color: #fff6e2; font-size: 21px; }
.al-showcase-meta small { color: #b5a58e; line-height: 1.45; }

.al-showcase-card-float {
    right: -8px;
    bottom: -6px;
    padding: 12px 15px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.al-showcase-card-float p {
    margin: 0;
    color: #ffe2ab;
    font-weight: 800;
    font-size: 27px;
}

.al-showcase-card-float small { color: #bda989; }

.al-filter-bar {
    margin-top: 22px;
    margin-bottom: 28px;
    padding: 16px;
    border: 1px solid rgba(236, 192, 113, 0.2);
    background: rgba(17, 17, 17, 0.72);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    display: grid;
    gap: 12px;
}

.al-filter-search input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(231, 190, 116, 0.22);
    border-radius: 10px;
    color: #f8efe2;
    padding: 11px 14px;
}

.al-filter-search input:focus {
    outline: none;
    border-color: rgba(231, 190, 116, 0.65);
    box-shadow: 0 0 0 3px rgba(231, 190, 116, 0.12);
}

.al-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.al-chip {
    border-radius: 999px;
    border: 1px solid rgba(237, 194, 122, .35);
    background: rgba(255, 255, 255, .02);
    color: #edd8b0;
    padding: 8px 13px;
    font-size: 13px;
    transition: .2s ease;
}

.al-chip:hover {
    border-color: rgba(237, 194, 122, .62);
    background: rgba(237, 194, 122, .08);
}

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

.al-section-head h2 {
    color: #fff0cf;
    margin: 0;
    font-size: 28px;
}

.al-section-head p {
    margin: 0;
    color: #baa98d;
}

.al-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.al-card {
    border: 1px solid rgba(228, 181, 97, .22);
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(165deg, rgba(20, 20, 20, .97), rgba(11, 11, 11, .95));
    box-shadow: 0 20px 45px rgba(0, 0, 0, .42);
    transition: .28s ease;
}

.al-card:hover {
    transform: translateY(-6px);
    border-color: rgba(228, 181, 97, .55);
    box-shadow: 0 24px 52px rgba(0, 0, 0, .52), 0 0 40px rgba(228, 181, 97, .2);
}

.al-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.al-card-media {
    overflow: hidden;
}

.al-card-media img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform .45s ease;
}

.al-card:hover .al-card-media img {
    transform: scale(1.06);
}

.al-card-body {
    padding: 14px;
}

.al-card-top {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.al-card-top h3 {
    margin: 0;
    color: #fff2d8;
    font-size: 20px;
    line-height: 1.3;
}

.al-card-price {
    color: #ffd388;
    font-weight: 800;
    font-size: 24px;
    white-space: nowrap;
}

.al-card-category {
    margin: 3px 0 11px;
    color: #ad9d83;
    font-size: 13px;
}

.al-stat-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.al-stat-chip {
    font-size: 12px;
    color: #edd7b0;
    border: 1px solid rgba(237, 194, 122, .33);
    border-radius: 999px;
    padding: 4px 8px;
    background: rgba(255, 255, 255, .02);
}

.al-card-summary {
    color: #c8b89e;
    line-height: 1.55;
    min-height: 48px;
}

.al-card-cta {
    display: inline-flex;
    margin-top: 4px;
    color: #f7dfb1;
    font-weight: 700;
}

.al-card-placeholder .al-card-cta {
    color: #bcaa8b;
}

.al-trust-strip {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.al-trust-strip article {
    border: 1px solid rgba(237, 194, 122, .22);
    border-radius: 12px;
    background: rgba(16, 16, 16, .75);
    padding: 12px;
    color: #e7d8be;
    display: flex;
    align-items: center;
    gap: 10px;
}

.al-trust-strip i {
    color: #dfb56b;
}

.al-public-title {
    color: var(--al-text);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.al-public-subtitle {
    color: var(--al-muted);
    margin-bottom: 24px;
}

.al-list-grid {
    display: grid;
    gap: 14px;
}

.al-list-row {
    display: grid;
    grid-template-columns: 160px 1fr 180px;
    gap: 16px;
    align-items: center;
    padding: 14px;
    border-radius: 14px;
    background: linear-gradient(180deg, #111, #171717);
    border: 1px solid var(--al-border);
    text-decoration: none;
    box-shadow: 0 0 20px rgba(207, 163, 73, 0.08);
}

.al-list-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(207, 163, 73, 0.2);
}

.al-list-row img {
    width: 100%;
    height: 100px;
    border-radius: 10px;
    object-fit: cover;
}

.al-list-main h3 {
    color: var(--al-text);
    margin: 0 0 4px;
}

.al-list-main p {
    color: var(--al-muted);
    margin: 0;
}

.al-list-price {
    text-align: right;
    color: #ffe4ad;
    font-size: 28px;
    font-weight: 700;
}

.al-detail-hero {
    border: 1px solid var(--al-border);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 18px;
    background: #0f0f0f;
}

.al-detail-hero img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
}

.al-detail-meta {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    align-items: center;
    margin-bottom: 18px;
}

.al-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.al-detail-block {
    border: 1px solid var(--al-border);
    border-radius: 12px;
    padding: 14px;
    background: linear-gradient(180deg, #111, #181818);
    color: var(--al-text);
}

@media (max-width: 900px) {
    .al-board-filters {
        grid-template-columns: 1fr;
    }

    .al-detail-grid,
    .al-fields {
        grid-template-columns: 1fr;
    }
    .al-detail-meta {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Luxury PDP Rebuild (Account Listing Details)
   ========================================================= */
.al-details-page.al-pdp {
    --alx-bg-0: #07090d;
    --alx-bg-1: #0d1118;
    --alx-bg-2: #101722;
    --alx-border-soft: rgba(190, 200, 218, 0.14);
    --alx-border-warm: rgba(201, 176, 128, 0.3);
    --alx-text-strong: #ecf1fb;
    --alx-text-main: #d2d9e8;
    --alx-text-soft: #93a0b8;
    --alx-gold: #d7be8f;
    --alx-shadow-deep: 0 28px 68px rgba(0, 0, 0, 0.48);
    max-width: 1320px;
    padding: 124px 28px 72px;
    color: var(--alx-text-main);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* Layer 1: base cinematic gradient + subtle vignette + micro texture */
.al-details-page.al-pdp::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(88% 58% at 18% 10%, rgba(32, 50, 78, 0.18) 0%, rgba(32, 50, 78, 0.02) 52%, transparent 84%),
        radial-gradient(76% 44% at 84% 18%, rgba(24, 40, 64, 0.16) 0%, rgba(24, 40, 64, 0.03) 54%, transparent 82%),
        radial-gradient(92% 72% at 50% 62%, rgba(11, 16, 26, 0.28) 0%, rgba(11, 16, 26, 0.08) 52%, transparent 88%),
        linear-gradient(180deg, rgba(7, 10, 16, 0.84) 0%, rgba(7, 10, 16, 0.72) 50%, rgba(6, 9, 14, 0.86) 100%),
        radial-gradient(92% 84% at 50% 48%, transparent 58%, rgba(2, 4, 8, 0.42) 100%),
        repeating-linear-gradient(
            0deg,
            rgba(255, 255, 255, 0.012) 0px,
            rgba(255, 255, 255, 0.012) 1px,
            rgba(0, 0, 0, 0) 2px,
            rgba(0, 0, 0, 0) 4px
        );
}

/* Layer 2: premium thin moving lines (vertical + diagonal) */
.al-details-page.al-pdp::after {
    content: "";
    position: absolute;
    inset: -12% -8%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.33;
    background:
        linear-gradient(180deg, transparent 0%, rgba(108, 146, 212, 0.09) 48%, transparent 100%),
        linear-gradient(180deg, transparent 0%, rgba(95, 132, 198, 0.08) 50%, transparent 100%),
        linear-gradient(138deg, transparent 0%, rgba(96, 140, 205, 0.08) 49%, transparent 100%),
        linear-gradient(126deg, transparent 0%, rgba(196, 169, 116, 0.05) 52%, transparent 100%);
    background-size:
        1px 190%,
        2px 170%,
        1px 200%,
        1px 210%;
    background-position:
        18% -110%,
        78% 112%,
        32% -115%,
        66% 108%;
    filter: blur(0.65px);
    animation: alPdpLineFlowA 18s linear infinite, alPdpLineFlowB 24s linear infinite;
}

.al-pdp-hero {
    margin-bottom: 34px;
    max-width: 980px;
}

.al-pdp-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 12px;
    letter-spacing: 0.04em;
    color: var(--alx-text-soft);
}

.al-pdp-breadcrumb a {
    color: #b9c9e3;
    text-decoration: none;
}

.al-pdp-breadcrumb a:hover {
    color: #d7e4f8;
}

.al-pdp-title {
    margin: 0;
    font-size: clamp(2.1rem, 3.7vw, 3.25rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--alx-text-strong);
    text-wrap: balance;
}

.al-pdp-subtitle {
    margin: 12px 0 0;
    max-width: 76ch;
    font-size: clamp(0.98rem, 1.35vw, 1.08rem);
    line-height: 1.72;
    color: #aeb9ce;
}

.al-pdp-admin {
    margin-top: 16px;
}

.al-pdp-main {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
    gap: 24px;
    align-items: start;
}

/* Layer 3: subtle glow sweep behind cards */
.al-pdp-main::before {
    content: "";
    position: absolute;
    inset: -6% -4%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.28;
    background:
        radial-gradient(40% 18% at 42% 20%, rgba(112, 148, 214, 0.14) 0%, rgba(112, 148, 214, 0.03) 48%, transparent 76%),
        linear-gradient(132deg, transparent 36%, rgba(102, 138, 205, 0.14) 49%, transparent 63%),
        linear-gradient(128deg, transparent 41%, rgba(201, 176, 128, 0.08) 52%, transparent 66%);
    filter: blur(20px);
    animation: alPdpGlowSweep 12s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

.al-pdp-main > * {
    position: relative;
    z-index: 1;
}

/* ===== LISTING SCREENSHOTS ===== */
.al-gallery {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 0;
    padding: 10px 10px 12px;
    border-radius: 16px;
    border: 1px solid rgba(130, 152, 188, 0.22);
    background:
        linear-gradient(165deg, rgba(18, 24, 36, 0.97) 0%, rgba(9, 13, 21, 0.98) 55%, rgba(7, 10, 17, 0.99) 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.04) inset,
        0 20px 48px rgba(0, 0, 0, 0.42);
}

/* Outer bezel: frames the hero shot so the stage is not a flat empty void */
.al-gallery__showcase {
    position: relative;
    padding: 7px;
    border-radius: 14px;
    background: linear-gradient(155deg, rgba(32, 40, 56, 0.45) 0%, rgba(12, 16, 26, 0.92) 45%, rgba(8, 11, 18, 0.98) 100%);
    border: 1px solid rgba(170, 188, 220, 0.16);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 14px 36px rgba(0, 0, 0, 0.38);
}

.al-gallery__showcase::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(214, 191, 145, 0.07);
}

/* Stage shell: no clip — nav sits in canvas overlay, image clips inside well */
.al-gallery__stage {
    position: relative;
    width: 100%;
    margin: 0 auto;
    border-radius: 12px;
    overflow: visible;
    min-height: 0;
}

.al-gallery__canvas {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: min(48vh, 520px);
    min-height: 180px;
    border-radius: 12px;
    border: 1px solid rgba(100, 168, 220, 0.22);
    background:
        linear-gradient(145deg, rgba(12, 22, 38, 0.98) 0%, rgba(6, 12, 22, 1) 45%, rgba(4, 10, 18, 1) 100%);
    box-shadow:
        inset 0 1px 0 rgba(120, 200, 255, 0.06),
        inset 0 0 0 1px rgba(0, 0, 0, 0.35),
        0 12px 40px rgba(0, 0, 0, 0.45);
}

.al-gallery__image-well {
    position: absolute;
    inset: 0;
    border-radius: 11px;
    overflow: hidden;
    z-index: 1;
    background:
        radial-gradient(80% 70% at 50% 42%, rgba(18, 32, 52, 0.95) 0%, rgba(4, 8, 14, 1) 100%);
}

.al-gallery__image-well::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
    background: radial-gradient(ellipse 92% 88% at 50% 48%, transparent 42%, rgba(0, 0, 0, 0.28) 100%);
    opacity: 0.9;
}

.al-gallery__main {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    opacity: 0;
    pointer-events: none;
    image-rendering: auto;
    /* Uzun crossfade decode bitmeden yarı saydam beyaz flaş veriyordu */
    transition: none;
    background-color: rgba(4, 8, 14, 0.96);
}

.al-gallery__main.is-front {
    z-index: 2;
    opacity: 1;
    pointer-events: auto;
}

.al-gallery__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 42px;
    height: 46px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(120, 190, 255, 0.28);
    border-radius: 12px;
    background: linear-gradient(165deg, rgba(14, 24, 40, 0.82) 0%, rgba(8, 16, 28, 0.88) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #d8ecff;
    cursor: pointer;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.35) inset,
        0 4px 18px rgba(0, 0, 0, 0.4),
        0 0 24px rgba(80, 160, 255, 0.12);
    transition: border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.al-gallery__arrow-icon {
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    opacity: 0.95;
}

.al-gallery__arrow--prev { inset-inline-start: 10px; }
.al-gallery__arrow--next { inset-inline-end: 10px; }

.al-gallery__arrow:hover:not(:disabled) {
    border-color: rgba(120, 210, 255, 0.55);
    color: #f2f8ff;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.3) inset,
        0 6px 22px rgba(0, 0, 0, 0.48),
        0 0 28px rgba(100, 200, 255, 0.18);
}

.al-gallery__arrow:focus-visible {
    outline: 2px solid rgba(120, 200, 255, 0.55);
    outline-offset: 2px;
}

.al-gallery__stage > .al-inline-media-hint {
    z-index: 25;
}

/* Thumbnail rail — premium, airy, cyan accent */
.al-gallery__thumb-rail {
    --al-rail-fade: rgba(5, 10, 18, 0.97);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 10px;
    margin-top: 14px;
    padding: 12px 10px 12px;
    border-top: 1px solid rgba(90, 140, 200, 0.16);
    background:
        linear-gradient(180deg, rgba(12, 18, 30, 0.88) 0%, rgba(6, 10, 18, 0.92) 100%);
    border-radius: 0 0 14px 14px;
    box-shadow: inset 0 1px 0 rgba(120, 190, 255, 0.05);
}

.al-gallery__thumbstrip-viewport {
    position: relative;
    min-width: 0;
    border-radius: 10px;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
}

.al-gallery__thumbstrip-viewport.is-scrolling .al-gallery__thumb {
    transition: none;
}

.al-gallery__rail-btn {
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    min-height: 52px;
    padding: 0;
    margin: 0;
    flex-shrink: 0;
    border-radius: 10px;
    border: 1px solid rgba(140, 162, 198, 0.22);
    background: linear-gradient(165deg, rgba(16, 22, 34, 0.96) 0%, rgba(8, 12, 20, 0.94) 100%);
    color: #dce6f8;
    cursor: pointer;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.05) inset,
        0 6px 14px rgba(0, 0, 0, 0.32);
}

.al-gallery__rail-btn-inner {
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    opacity: 0.92;
    transform: translateX(0);
}

.al-gallery__rail-btn:hover:not(:disabled) {
    border-color: rgba(214, 191, 145, 0.48);
    color: #fff8ed;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.07) inset,
        0 8px 18px rgba(0, 0, 0, 0.4);
}

.al-gallery__rail-btn:active:not(:disabled) {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

.al-gallery__rail-btn:focus-visible {
    outline: 2px solid rgba(214, 191, 145, 0.45);
    outline-offset: 2px;
}

.al-gallery__rail-btn:disabled {
    opacity: 0.28;
    cursor: default;
    pointer-events: none;
    border-color: rgba(110, 130, 165, 0.12);
    box-shadow: none;
}

/* Track: thumb içeriği fade gradientlerin üstünde (karartı bug’ı — z-index stacking). */
.al-gallery__thumbstrip {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    gap: 10px;
    width: max-content;
    max-width: none;
    padding: 6px 4px 8px;
    box-sizing: border-box;
    transform: translate3d(0, 0, 0);
}

.al-gallery__thumb {
    flex: 0 0 82px;
    border: 1px solid rgba(80, 130, 190, 0.22);
    border-radius: 10px;
    padding: 4px;
    background: linear-gradient(180deg, rgba(12, 18, 30, 0.96) 0%, rgba(8, 12, 20, 0.94) 100%);
    cursor: pointer;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.al-gallery__thumb img {
    width: 100%;
    height: 48px;
    object-fit: cover;
    border-radius: 7px;
    display: block;
    background-color: rgba(6, 10, 18, 0.98);
}

.al-gallery__thumb:hover {
    border-color: rgba(120, 200, 255, 0.4);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.al-gallery__thumb.is-active {
    border-color: rgba(100, 200, 255, 0.65);
    box-shadow:
        0 0 0 1px rgba(100, 200, 255, 0.2) inset,
        0 0 20px rgba(60, 160, 255, 0.15),
        0 4px 18px rgba(0, 0, 0, 0.4);
}

.al-gallery__thumb-remove {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: rgba(190, 36, 36, 0.95);
    border: 1px solid rgba(255, 226, 226, 0.8);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    cursor: pointer;
    z-index: 6;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
}

.al-gallery__thumb--upload {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #acd2ff;
    border-style: dashed;
    border-color: rgba(165, 181, 212, 0.3);
}

.al-gallery__thumb--upload i { font-size: 14px; }

/* ===== LIGHTBOX (premium shell — nav inside canvas, viewport-safe) ===== */

body.al-lightbox-open {
    overflow: hidden;
}

body.al-lightbox-open .site-header,
body.al-lightbox-open .al-pdp-hero {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.al-lightbox {
    /* Lightbox thumb strip + accents (altın / dengeli glow — plan B) */
    --lb-gold: #f4d03f;
    --lb-gold-soft: rgba(244, 208, 63, 0.55);
    --lb-thumb-idle-border: rgba(212, 180, 72, 0.4);
    --lb-thumb-hover-border: rgba(230, 200, 100, 0.58);
    --lb-thumb-active-border: #f4d03f;
    --lb-thumb-glow-active: 0 0 0 1px rgba(244, 208, 63, 0.18) inset, 0 0 20px rgba(244, 208, 63, 0.38),
        0 0 42px rgba(230, 190, 50, 0.14);
    position: fixed;
    inset: 0;
    z-index: 50000;
    display: flex;
    flex-direction: column;
    padding:
        max(8px, env(safe-area-inset-top, 0px))
        max(8px, env(safe-area-inset-right, 0px))
        max(8px, env(safe-area-inset-bottom, 0px))
        max(8px, env(safe-area-inset-left, 0px));
    box-sizing: border-box;
    min-height: 0;
}

.al-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(100% 80% at 50% 20%, rgba(30, 80, 140, 0.12) 0%, transparent 55%),
        radial-gradient(120% 90% at 50% 40%, rgba(8, 14, 24, 0.92) 0%, rgba(2, 4, 10, 0.96) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.al-lightbox__center {
    position: relative;
    z-index: 2;
    flex: 1 1 0;
    min-height: 0;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    pointer-events: none;
}

.al-lightbox__dialog {
    pointer-events: auto;
    width: 100%;
    flex: 1 1 0;
    min-height: 0;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    border: 1px solid rgba(100, 170, 230, 0.22);
    background:
        linear-gradient(165deg, rgba(14, 22, 36, 0.97) 0%, rgba(8, 14, 24, 0.98) 42%, rgba(5, 10, 18, 1) 100%);
    box-shadow:
        inset 0 1px 0 rgba(140, 210, 255, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.45) inset,
        0 32px 80px rgba(0, 0, 0, 0.55),
        0 0 60px rgba(40, 120, 200, 0.08);
    overflow: hidden;
    position: relative;
}

.al-lightbox__toolbar {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 40;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2px;
}

.al-lightbox__fs {
    min-width: 44px;
    min-height: 44px;
    width: auto;
    height: auto;
    padding: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    border: none;
    background: transparent;
    color: rgba(230, 236, 245, 0.88);
    cursor: pointer;
    box-shadow: none;
    outline: none;
    transition: color 200ms cubic-bezier(0.22, 0.61, 0.36, 1);
    -webkit-tap-highlight-color: transparent;
}

.al-lightbox__fs-icon {
    font-size: 17px;
    line-height: 1;
    pointer-events: none;
}

.al-lightbox__fs:hover {
    color: var(--lb-gold);
}

.al-lightbox__fs:focus-visible {
    outline: 2px solid var(--lb-gold-soft);
    outline-offset: 4px;
    border-radius: 4px;
}

.al-lightbox__close {
    position: static;
    z-index: auto;
    min-width: 44px;
    min-height: 44px;
    width: auto;
    height: auto;
    padding: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    border: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    color: rgba(230, 236, 245, 0.88);
    cursor: pointer;
    box-shadow: none;
    outline: none;
    transition: color 200ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.al-lightbox__close-icon {
    font-size: 26px;
    line-height: 1;
    font-weight: 300;
    display: block;
    transform-origin: center;
    transition:
        transform 240ms cubic-bezier(0.22, 0.61, 0.36, 1),
        color 240ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.al-lightbox__close:hover {
    color: var(--lb-gold);
    background: transparent;
    box-shadow: none;
}

.al-lightbox__close:hover .al-lightbox__close-icon {
    color: var(--lb-gold);
    transform: scale(1.14);
}

.al-lightbox__close:focus-visible {
    outline: 2px solid var(--lb-gold-soft);
    outline-offset: 4px;
    border-radius: 4px;
}

.al-lightbox__body {
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1 1 0;
    overflow: hidden;
    padding: 48px 12px 16px;
}

.al-lightbox__canvas {
    position: relative;
    flex: 1 1 0;
    min-height: 0;
    width: 100%;
    min-width: 0;
    border-radius: 14px;
    border: none;
    background:
        linear-gradient(150deg, rgba(10, 18, 32, 0.98) 0%, rgba(5, 10, 20, 1) 100%);
    box-shadow: none;
    user-select: none;
    -webkit-user-select: none;
}

.al-lightbox__image-shell {
    position: absolute;
    inset: 12px 56px;
    border-radius: 12px;
    overflow: hidden;
    z-index: 1;
    cursor: zoom-in;
    background:
        radial-gradient(90% 78% at 50% 45%, rgba(20, 36, 58, 0.95) 0%, rgba(4, 8, 16, 1) 100%);
}

/* Tam ekran: daha az boşluk, daha büyük görüntü alanı */
.al-lightbox:fullscreen,
.al-lightbox:-webkit-full-screen,
.al-lightbox.is-fullscreen {
    /* Mobil / DevTools: tam ekran API açıkken bazı motorlarda fixed+inset tek başına
       viewport boyutuna yayılmıyor; içerik “üstte küçük kart” kalabiliyor. */
    position: fixed;
    inset: 0;
    width: 100vw;
    width: 100dvw;
    height: 100vh;
    height: 100dvh;
    min-width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    max-width: none;
    max-height: none;
    margin: 0;
    box-sizing: border-box;
    padding: max(4px, env(safe-area-inset-top, 0px)) max(4px, env(safe-area-inset-right, 0px)) max(4px, env(safe-area-inset-bottom, 0px)) max(4px, env(safe-area-inset-left, 0px));
}

.al-lightbox:fullscreen .al-lightbox__center,
.al-lightbox:-webkit-full-screen .al-lightbox__center,
.al-lightbox.is-fullscreen .al-lightbox__center {
    flex: 1 1 0;
    min-width: 0;
    min-height: 0;
    width: 100%;
    max-width: none;
    align-self: stretch;
}

.al-lightbox:fullscreen .al-lightbox__dialog,
.al-lightbox:-webkit-full-screen .al-lightbox__dialog,
.al-lightbox.is-fullscreen .al-lightbox__dialog {
    flex: 1 1 0;
    min-width: 0;
    min-height: 0;
    width: 100%;
    max-width: none;
    max-height: none;
}

.al-lightbox:fullscreen .al-lightbox__body,
.al-lightbox:-webkit-full-screen .al-lightbox__body,
.al-lightbox.is-fullscreen .al-lightbox__body {
    padding: 42px 6px 10px;
}

.al-lightbox:fullscreen .al-lightbox__image-shell,
.al-lightbox:-webkit-full-screen .al-lightbox__image-shell,
.al-lightbox.is-fullscreen .al-lightbox__image-shell {
    inset: 6px 36px;
    cursor: zoom-out;
}

@media (max-width: 900px) {
    .al-lightbox:fullscreen .al-lightbox__dialog,
    .al-lightbox:-webkit-full-screen .al-lightbox__dialog,
    .al-lightbox.is-fullscreen .al-lightbox__dialog {
        border-radius: 0;
        box-shadow: none;
    }
}

.al-lightbox__image-shell::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 4;
    background: radial-gradient(ellipse 92% 88% at 50% 48%, transparent 40%, rgba(0, 0, 0, 0.22) 100%);
}

.al-lightbox__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    opacity: 0;
    pointer-events: none;
    z-index: 2;
    transition: none;
}

.al-lightbox__img.is-front {
    opacity: 1;
    pointer-events: auto;
    z-index: 3;
}

/* Nav: inside canvas; no default blue focus ring on mouse click */
.al-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 30;
    width: 46px;
    height: 52px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    border: 1px solid rgba(200, 170, 90, 0.38);
    background: linear-gradient(165deg, rgba(14, 24, 40, 0.9) 0%, rgba(8, 16, 28, 0.94) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #f5e8c4;
    cursor: pointer;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.4) inset,
        0 6px 24px rgba(0, 0, 0, 0.45),
        0 0 22px rgba(244, 200, 80, 0.08);
    transition:
        border-color 200ms cubic-bezier(0.22, 0.61, 0.36, 1),
        box-shadow 220ms cubic-bezier(0.22, 0.61, 0.36, 1),
        color 200ms ease;
}

.al-lightbox__nav-icon {
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
}

.al-lightbox__nav--prev { inset-inline-start: 12px; }
.al-lightbox__nav--next { inset-inline-end: 12px; }

.al-lightbox__nav:hover:not(:disabled) {
    border-color: var(--lb-gold-soft);
    color: #fff;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.35) inset,
        0 8px 28px rgba(0, 0, 0, 0.5),
        0 0 28px rgba(244, 208, 63, 0.22);
}

.al-lightbox__nav:focus:not(:focus-visible) {
    outline: none;
}

.al-lightbox__nav:focus-visible {
    outline: 2px solid var(--lb-gold);
    outline-offset: 3px;
}

.al-lightbox__nav:active:not(:disabled) {
    outline: none;
    border-color: rgba(244, 208, 63, 0.55);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.45) inset,
        0 4px 18px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(244, 208, 63, 0.18);
}

.al-lightbox__nav::-moz-focus-inner {
    border: 0;
}

.al-gallery.is-nav-locked .al-gallery__arrow,
.al-lightbox.is-nav-locked .al-lightbox__nav {
    pointer-events: none;
    opacity: 0.55;
}

.al-gallery__arrow:disabled,
.al-lightbox__nav:disabled {
    pointer-events: none;
    opacity: 0.5;
}

/* Lightbox: 7 thumb + altta ortalı sayaç — keskin kare, premium yön animasyonu */
.al-lightbox__thumbs-wrap {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    border-top: 1px solid rgba(200, 170, 90, 0.22);
    background: linear-gradient(180deg, rgba(10, 16, 28, 0.94) 0%, rgba(6, 10, 18, 0.98) 100%);
    padding: 12px 16px 16px;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}

.al-lightbox__counter {
    flex-shrink: 0;
    width: 100%;
    margin: 10px 0 0;
    padding: 0;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(230, 210, 160, 0.88);
    pointer-events: none;
    user-select: none;
}

.al-lightbox__thumbs-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: center;
    gap: 8px;
    max-width: 100%;
    margin: 0 auto;
    -webkit-tap-highlight-color: transparent;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.al-lightbox__thumbs-row ::selection {
    background: transparent;
}

/* İleri: sağdan belirgin giriş (kaynak yönü net) */
.al-lightbox__thumbs-row--enter-next {
    animation: al-lb-thumbs-enter-next 0.46s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Geri: soldan belirgin giriş */
.al-lightbox__thumbs-row--enter-prev {
    animation: al-lb-thumbs-enter-prev 0.46s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes al-lb-thumbs-enter-next {
    0% {
        transform: translate3d(clamp(36px, 12%, 72px), 0, 0) scale(0.97);
        opacity: 0.65;
    }
    55% {
        opacity: 1;
    }
    100% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 1;
    }
}

@keyframes al-lb-thumbs-enter-prev {
    0% {
        transform: translate3d(calc(-1 * clamp(36px, 12%, 72px)), 0, 0) scale(0.97);
        opacity: 0.65;
    }
    55% {
        opacity: 1;
    }
    100% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .al-lightbox__thumbs-row--enter-next,
    .al-lightbox__thumbs-row--enter-prev {
        animation: none;
    }
}

@media (max-width: 900px) {
    .al-lightbox__thumbs-row--enter-next,
    .al-lightbox__thumbs-row--enter-prev {
        animation-duration: 0.32s;
    }
}

.al-lightbox__thumb {
    flex: 1 1 0;
    min-width: 0;
    max-width: 104px;
    border: 2px solid var(--lb-thumb-idle-border);
    border-radius: 0;
    padding: 3px;
    background: rgba(6, 10, 18, 0.96);
    cursor: pointer;
    overflow: hidden;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    color: inherit;
    accent-color: var(--lb-gold);
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
    transition:
        border-color 220ms cubic-bezier(0.22, 0.61, 0.36, 1),
        box-shadow 240ms cubic-bezier(0.22, 0.61, 0.36, 1),
        transform 200ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.al-lightbox__thumb::-moz-focus-inner {
    border: 0;
    padding: 0;
}

.al-lightbox__thumb img {
    display: block;
    width: 100%;
    height: 46px;
    object-fit: cover;
    border-radius: 0;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    user-drag: none;
}

.al-lightbox__thumb:hover:not(.is-active) {
    border-color: var(--lb-thumb-hover-border);
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.32);
}

.al-lightbox__thumb.is-active {
    border-color: var(--lb-thumb-active-border);
    transform: scale(1.02);
    box-shadow: var(--lb-thumb-glow-active), 0 4px 16px rgba(0, 0, 0, 0.35);
}

.al-lightbox__thumb:focus {
    outline: none;
}

.al-lightbox__thumb:focus:not(:focus-visible) {
    outline: none;
}

.al-lightbox__thumb:focus-visible {
    outline: 2px solid var(--lb-gold);
    outline-offset: 3px;
}

.al-pdp-side {
    position: sticky;
    top: 94px;
}

.al-pdp-contact-card {
    border: 1px solid rgba(150, 168, 198, 0.24);
    border-radius: 18px;
    padding: 14px 14px 12px;
    margin-bottom: 10px;
    background: linear-gradient(165deg, rgba(12, 18, 28, 0.92) 0%, rgba(9, 13, 21, 0.92) 100%);
    box-shadow: 0 14px 28px rgba(3, 7, 13, 0.35);
}

.al-pdp-contact-card__kicker {
    margin: 0 0 10px;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9caac2;
    font-weight: 700;
}

.al-pdp-contact-card__links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.al-pdp-contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(165, 181, 207, 0.22);
    background: linear-gradient(165deg, rgba(15, 21, 33, 0.9) 0%, rgba(10, 14, 22, 0.9) 100%);
    color: #dfe9fb;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.al-pdp-contact-link:hover {
    transform: translateY(-1px);
    border-color: rgba(208, 186, 143, 0.54);
    box-shadow: 0 8px 18px rgba(2, 6, 12, 0.38);
}

.al-pdp-contact-link i {
    font-size: 14px;
}

.al-pdp-contact-link.is-disabled {
    opacity: 0.5;
    pointer-events: none;
}

.al-pdp-panel {
    border: 1px solid var(--alx-border-soft);
    border-radius: 20px;
    padding: 18px;
    background:
        linear-gradient(160deg, rgba(14, 18, 27, 0.96) 0%, rgba(10, 14, 22, 0.94) 100%);
    box-shadow: var(--alx-shadow-deep);
    display: grid;
    gap: 16px;
}

.al-pdp-price-wrap {
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(156, 170, 196, 0.18);
}

.al-pdp-price-label {
    margin: 0 0 6px;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8f9cb6;
}

.al-pdp-price {
    margin: 0;
    font-size: clamp(2.05rem, 4.1vw, 2.65rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #ecf2fd;
}

.al-pdp-intel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.al-pdp-intel-item {
    border: 1px solid rgba(153, 170, 197, 0.22);
    border-radius: 12px;
    padding: 9px 10px;
    background: linear-gradient(165deg, rgba(15, 20, 31, 0.9) 0%, rgba(12, 16, 25, 0.9) 100%);
}

.al-pdp-intel-item--full {
    grid-column: 1 / -1;
}

.al-pdp-intel-item span {
    display: block;
    margin-bottom: 5px;
    font-size: 10px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #8f9db8;
}

.al-pdp-intel-item strong {
    display: block;
    font-size: 13px;
    color: #dde7f8;
    line-height: 1.42;
}

.al-pdp-intel-with-icon {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
}

.al-pdp-intel-with-icon img {
    width: 15px;
    height: 15px;
    object-fit: contain;
    opacity: 0.9;
    filter: drop-shadow(0 0 5px rgba(135, 170, 230, 0.22));
}

.al-pdp-fallback-icon {
    display: none;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    font-size: 11px;
    opacity: 0.92;
}

.al-pdp-rarity-strip .al-rarity-tag-strip {
    gap: 6px;
}

.al-pdp-rarity-strip--with-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.al-pdp-rarity-strip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    opacity: 0.9;
}

.al-pdp-rarity-strip-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.al-pdp-segmented-wrap {
    padding-top: 2px;
}

.al-pdp-section-kicker {
    margin: 0 0 8px;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #94a0b8;
}

.al-pdp-segmented {
    margin-bottom: 0;
}

.al-pdp-metrics {
    display: grid;
    gap: 14px;
}

.al-pdp-metric-group {
    border-top: 1px solid rgba(154, 169, 194, 0.16);
    padding-top: 12px;
}

.al-pdp-metric-grid {
    display: grid;
    gap: 8px;
}

.al-pdp-metric-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.al-pdp-metric-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.al-pdp-metric-card {
    border: 1px solid rgba(155, 171, 196, 0.22);
    border-radius: 12px;
    padding: 10px;
    background: linear-gradient(150deg, rgba(17, 21, 30, 0.95) 0%, rgba(12, 15, 23, 0.95) 100%);
    transition: transform 210ms cubic-bezier(0.22, 1, 0.36, 1), border-color 210ms ease;
}

.al-pdp-metric-card:hover {
    transform: translateY(-1px);
    border-color: rgba(205, 184, 141, 0.46);
}

.al-pdp-metric-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    margin-bottom: 8px;
    color: #ddc79c;
    background: rgba(217, 190, 139, 0.12);
    border: 1px solid rgba(206, 183, 141, 0.24);
    font-size: 11px;
}

.al-pdp-metric-icon img {
    width: 14px;
    height: 14px;
    object-fit: contain;
    display: block;
}

.al-pdp-metric-label {
    display: block;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8e9ab2;
}

.al-pdp-metric-value {
    display: block;
    margin-top: 4px;
    font-size: 15px;
    letter-spacing: -0.01em;
    color: #e8eef9;
    font-variant-numeric: tabular-nums;
}

.al-pdp-metric-card--resource .al-pdp-metric-icon {
    color: #c7d8f6;
    background: rgba(123, 150, 192, 0.14);
    border-color: rgba(140, 168, 210, 0.26);
}

.al-pdp-actions {
    display: grid;
    gap: 8px;
    padding-top: 4px;
}

.al-pdp-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.03em;
    transition: transform 210ms cubic-bezier(0.22, 1, 0.36, 1), filter 210ms ease, border-color 210ms ease, background 210ms ease;
}

.al-pdp-cta--primary {
    color: #18130a;
    border: 1px solid rgba(228, 202, 153, 0.52);
    background: linear-gradient(135deg, #dbc08f 0%, #c3a26d 52%, #ae8b56 100%);
}

.al-pdp-cta--primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
}

.al-pdp-cta--secondary {
    color: #d7e3f8;
    border: 1px solid rgba(154, 173, 204, 0.36);
    background: linear-gradient(160deg, rgba(16, 21, 32, 0.9) 0%, rgba(12, 17, 25, 0.9) 100%);
}

.al-pdp-cta--secondary:hover {
    transform: translateY(-1px);
    border-color: rgba(191, 208, 236, 0.52);
}

.al-pdp-transfer {
    border-top: 1px solid rgba(156, 170, 196, 0.16);
    padding-top: 12px;
}

.al-pdp-transfer-copy {
    margin: 0;
    color: #a9b4c9;
    line-height: 1.64;
    font-size: 0.92rem;
}

.al-pdp-roster {
    margin-top: 24px;
    border: 1px solid rgba(158, 174, 202, 0.2);
    border-radius: 18px;
    padding: 16px;
    background: linear-gradient(165deg, rgba(13, 18, 28, 0.86) 0%, rgba(10, 14, 22, 0.9) 100%);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.34);
}

.al-pdp-roster-head {
    margin-bottom: 10px;
}

.al-pdp-roster-head h2 {
    margin: 0;
    color: #edf3fd;
    font-size: 1.3rem;
    letter-spacing: -0.01em;
}

.al-pdp-roster-head p {
    margin: 6px 0 0;
    color: #95a4be;
    font-size: 0.88rem;
}

.al-pdp-roster-search-wrap {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(120, 166, 230, 0.3);
    border-radius: 10px;
    background: rgba(9, 15, 25, 0.8);
    padding: 7px 10px;
}

.al-pdp-roster-search-wrap i {
    color: #8fb1d6;
    font-size: 12px;
}

.al-pdp-roster-search-wrap input {
    width: 100%;
    border: 0;
    outline: none;
    background: transparent;
    color: #d8e9ff;
    font-size: 12px;
}

.al-pdp-roster-search-wrap input::placeholder {
    color: #7892b2;
}

.al-pdp-roster-icons {
    max-height: 420px;
}

.al-pdp-roster-icon {
    border-radius: 10px;
}

.al-pdp .al-inline-edit[contenteditable="true"]:focus {
    outline: none;
    border-radius: 6px;
    box-shadow: 0 0 0 2px rgba(163, 183, 216, 0.34);
    background: rgba(26, 33, 46, 0.4);
}

@keyframes alPdpLineFlowA {
    from {
        background-position:
            18% -110%,
            78% 112%,
            32% -115%,
            66% 108%;
    }
    to {
        background-position:
            18% 122%,
            78% -96%,
            32% 126%,
            66% -94%;
    }
}

@keyframes alPdpLineFlowB {
    from { transform: translate3d(-0.5%, -0.6%, 0); }
    to { transform: translate3d(0.7%, 0.8%, 0); }
}

@keyframes alPdpGlowSweep {
    from { transform: translate3d(-0.9%, -1.1%, 0); opacity: 0.2; }
    to { transform: translate3d(1.2%, 0.9%, 0); opacity: 0.33; }
}

@media (max-width: 1180px) {
    .al-details-page.al-pdp {
        padding: 112px 20px 62px;
    }

    .al-pdp-main {
        grid-template-columns: 1fr;
    }

    .al-pdp-side {
        position: static;
    }

    .al-pdp-metric-grid--three {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .al-details-page.al-pdp {
        padding: 104px 14px 54px;
    }

    .al-pdp-hero {
        margin-bottom: 24px;
    }

    .al-pdp-title {
        font-size: clamp(1.72rem, 8vw, 2.25rem);
    }

    .al-pdp-panel {
        border-radius: 16px;
        padding: 14px;
    }

    .al-pdp-intel-grid {
        grid-template-columns: 1fr;
    }

    .al-pdp-metric-grid--four,
    .al-pdp-metric-grid--three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .al-pdp-cta {
        min-height: 42px;
    }

    .al-pdp-roster {
        margin-top: 18px;
        border-radius: 14px;
        padding: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .al-details-page.al-pdp::after,
    .al-pdp-main::before {
        animation: none !important;
    }

    .al-gallery__main,
    .al-lightbox__img {
        transition: none !important;
    }
}

@media (max-width: 680px) {
    .al-board-shell {
        padding-top: 105px;
    }

    .al-row-main {
        align-items: flex-start;
    }

    .al-row-actions {
        padding-left: 0;
    }
}

/* Compact premium marketplace board (current public listings) */
.al-board-shell {
    max-width: 1120px;
    padding-top: 112px;
}

.al-board-shell::before {
    background:
        radial-gradient(52rem 26rem at 14% 18%, rgba(39, 87, 164, 0.11), transparent 74%),
        radial-gradient(44rem 22rem at 82% 16%, rgba(52, 116, 205, 0.09), transparent 76%),
        radial-gradient(40rem 24rem at 58% 68%, rgba(35, 78, 146, 0.07), transparent 78%),
        linear-gradient(106deg, transparent 32%, rgba(101, 163, 243, 0.08) 48%, transparent 63%),
        linear-gradient(116deg, transparent 48%, rgba(78, 140, 223, 0.06) 62%, transparent 76%),
        linear-gradient(180deg, #04060b 0%, #05080f 46%, #03050a 100%);
    background-size: 140% 140%, 130% 130%, 120% 120%, 170% 170%, 190% 190%, 100% 100%;
    background-position: 0% 0%, 100% 0%, 50% 100%, 0% 0%, 100% 0%, 0% 0%;
    animation: alBgDrift 28s ease-in-out infinite alternate;
}

.al-board-shell::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .08;
    background-image:
        linear-gradient(rgba(142, 182, 233, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(142, 182, 233, .035) 1px, transparent 1px),
        linear-gradient(102deg, transparent 38%, rgba(122, 176, 244, .11) 50%, transparent 62%),
        linear-gradient(118deg, transparent 56%, rgba(91, 149, 230, .09) 68%, transparent 80%);
    background-size: 52px 52px, 52px 52px, 170% 170%, 190% 190%;
    background-position: 0 0, 0 0, 10% 0, 90% 0;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .88), transparent 90%);
    animation: alTextureDrift 36s linear infinite;
}

@keyframes alBgDrift {
    0% {
        background-position: 0% 0%, 100% 0%, 50% 100%, 0% 0%, 100% 0%, 0% 0%;
    }
    100% {
        background-position: 22% 12%, 78% 10%, 48% 86%, 26% 8%, 70% 14%, 0% 0%;
    }
}

@keyframes alTextureDrift {
    0% {
        background-position: 0 0, 0 0, 10% 0, 90% 0;
    }
    100% {
        background-position: 0 0, 0 0, 26% 0, 72% 0;
    }
}

.al-board-header {
    margin-bottom: 10px;
}

.al-board-header h1 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: .01em;
    margin-bottom: 4px;
    position: relative;
}

.al-board-header p {
    font-size: 13px;
    color: #9aa7bf;
}

.al-title-account {
    background: linear-gradient(110deg, #244a86 0%, #3f8ff5 45%, #a4ccff 64%, #2e69b9 88%);
    background-size: 100% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    text-shadow: 0 0 22px rgba(70, 135, 226, 0.20);
}

.al-title-account::after {
    content: none;
}

.al-title-listings {
    color: #dce7f7;
    text-shadow: 0 0 16px rgba(116, 167, 236, 0.12);
}

@keyframes alAccountShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes alAccountShimmer {
    0% { transform: translateX(-72%); opacity: .24; }
    50% { opacity: .56; }
    100% { transform: translateX(72%); opacity: .24; }
}

.al-board-filters {
    grid-template-columns: 1fr 190px;
    margin-bottom: 8px;
}

.al-list-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.al-list-count {
    margin: 0;
    font-size: 12px;
    color: #8f9db5;
    letter-spacing: .02em;
}

.al-list-toolbar .al-filter-item {
    width: 190px;
}

.al-board-list {
    border-top-color: rgba(103, 150, 220, 0.24);
}

.al-row {
    padding: 9px 6px 8px;
    border-bottom-color: rgba(103, 150, 220, 0.17);
    background: rgba(9, 12, 19, 0.70);
    box-shadow: inset 0 0 0 1px rgba(30, 56, 98, 0.06);
}

.al-row:hover {
    background: rgba(12, 17, 28, 0.88);
}

.al-row-thumb {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    border-color: rgba(114, 165, 236, 0.36);
    box-shadow: 0 0 14px rgba(91, 145, 221, 0.18);
}

.al-row-topline h3 {
    font-size: 14px;
    font-weight: 700;
    color: #e7eef9;
}

.al-row-price {
    font-size: 29px;
    color: #b9d8ff;
    font-weight: 800;
    text-shadow: 0 0 18px rgba(105, 166, 245, 0.24);
}

.al-row-compact {
    margin-top: 2px;
    font-size: 11px;
    color: #a8b8d1;
    line-height: 1.3;
}

.al-row-compact span:not(:last-child)::after {
    color: #65718a;
}

.al-row-actions {
    margin-top: 2px;
    padding-left: 50px;
}

.al-row-actions a {
    font-size: 11px;
    color: #8cc0ff;
}

.al-empty-feed {
    border-top-color: rgba(103, 150, 220, 0.25);
}

.al-row-empty .al-row-topline h3 {
    color: #c8d9f3;
}

@media (max-width: 900px) {
    .al-board-filters {
        grid-template-columns: 1fr;
    }

    .al-list-toolbar {
        gap: 8px;
    }

    .al-list-toolbar .al-filter-item {
        width: auto;
        min-width: 160px;
    }
}

@media (max-width: 680px) {
    .al-row-actions {
        padding-left: 0;
    }
}

/* —— Admin hub: listing manager (mirrors public board density) —— */
.al-admin-hub .al-admin-sub {
    margin: 0.35rem 0 0;
    font-size: 0.88rem;
    color: var(--adm-text-muted, #8b9bb8);
}

.al-admin-hub .al-admin-sub a {
    color: var(--adm-accent, #5b9bd8);
}

.al-admin-header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.al-admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.al-admin-stat {
    background: rgba(12, 16, 26, 0.88);
    border: 1px solid rgba(110, 160, 235, 0.2);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.al-admin-stat__label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--adm-text-muted, #8b9bb8);
}

.al-admin-stat__value {
    font-size: 1.35rem;
    font-weight: 800;
    color: #e8eef8;
    line-height: 1.1;
}

.al-admin-stat--pub .al-admin-stat__value { color: #5ee0c3; }
.al-admin-stat--draft .al-admin-stat__value { color: #c9b8ff; }
.al-admin-stat--arch .al-admin-stat__value { color: #9aa7bc; }

.al-admin-board {
    margin-top: 0.5rem;
    border: 1px solid rgba(110, 160, 235, 0.18);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(8, 11, 20, 0.65);
}

.al-admin-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(110, 160, 235, 0.12);
    transition: background 0.12s ease;
}

.al-admin-row:last-child {
    border-bottom: 0;
}

.al-admin-row:hover {
    background: rgba(20, 28, 48, 0.45);
}

.al-admin-row__main {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    min-width: 0;
    flex: 1 1 280px;
}

.al-admin-row__thumb {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(110, 165, 230, 0.35);
    flex-shrink: 0;
}

.al-admin-row__thumb--ph {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 40, 60, 0.6);
    color: #5a6a86;
    font-size: 1.1rem;
}

.al-admin-row__meta {
    min-width: 0;
}

.al-admin-row__titleline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
}

.al-admin-row__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #f0f4fc;
    line-height: 1.25;
}

.al-admin-row__slug {
    font-size: 0.78rem;
    color: #7d8daa;
    font-family: ui-monospace, monospace;
    margin-top: 0.15rem;
}

.al-admin-row__sub {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-top: 0.35rem;
    font-size: 0.78rem;
    color: #8b9bb8;
}

.al-admin-row__side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 0.5rem;
    flex: 0 0 auto;
}

.al-admin-row__price {
    font-size: 1.35rem;
    font-weight: 800;
    color: #9fd4ff;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.al-admin-row__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-content: flex-end;
    max-width: 420px;
}

.al-admin-inline-form {
    display: inline;
    margin: 0;
}

.al-admin-pill {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.45rem;
    border-radius: 6px;
    border: 1px solid rgba(140, 180, 230, 0.35);
    color: #b8cce8;
}

.al-admin-pill--pub {
    border-color: rgba(94, 224, 195, 0.45);
    color: #7eebd4;
    background: rgba(61, 204, 168, 0.08);
}

.al-admin-pill--draft {
    border-color: rgba(180, 160, 255, 0.4);
    color: #cfc2ff;
    background: rgba(140, 120, 255, 0.08);
}

.al-admin-pill--arch {
    border-color: rgba(140, 150, 170, 0.4);
    color: #a8b0c2;
}

.al-admin-pill--feat {
    border-color: rgba(212, 168, 75, 0.5);
    color: #f0d18a;
    background: rgba(212, 168, 75, 0.1);
}

.al-admin-empty {
    padding: 2.5rem 1.5rem;
    text-align: center;
    color: var(--adm-text-muted, #8b9bb8);
}

.al-admin-empty h3 {
    color: #dce6f5;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.al-admin-empty a {
    color: var(--adm-accent, #5b9bd8);
}

@media (max-width: 720px) {
    .al-admin-row__side {
        align-items: flex-start;
        width: 100%;
    }

    .al-admin-row__actions {
        justify-content: flex-start;
        max-width: none;
    }
}

/* Premium public marketplace */
.al-premium-market {
    position: relative;
    isolation: isolate;
    max-width: 1140px;
    margin: 0 auto;
    padding: 108px 20px 56px;
    color: #e7eefb;
}

.al-premium-market > * {
    position: relative;
    z-index: 1;
}

.al-premium-market,
.al-details-page {
    transform: none !important;
    filter: none !important;
    perspective: none !important;
    will-change: auto !important;
}

/* Disable legacy animated pseudo-backgrounds directly in listing contexts */
.al-premium-market .al-board-shell::before,
.al-premium-market .al-board-shell::after,
.al-details-page .al-board-shell::before,
.al-details-page .al-board-shell::after {
    content: none !important;
    animation: none !important;
    background: none !important;
}

.al-premium-header {
    margin-bottom: 14px;
}

.al-premium-header h1 {
    margin: 0;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: .01em;
    color: #e8ecf4;
}

.al-premium-title-account,
.al-premium-title-listings {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    color: inherit;
    text-shadow: none;
}

.al-premium-header p {
    margin: 6px 0 0;
    color: #9aa8bf;
    font-size: 13px;
}

.al-premium-filters {
    display: grid;
    grid-template-columns: 1fr 210px 210px;
    gap: 10px;
    margin-bottom: 10px;
}

.al-premium-select-wrap {
    position: relative;
}

.al-premium-search-wrap input,
.al-premium-select-wrap select {
    width: 100%;
    border: 1px solid rgba(109, 151, 220, 0.35);
    background: linear-gradient(180deg, rgba(12, 18, 30, .92), rgba(8, 13, 23, .94));
    color: #dce8fa;
    border-radius: 10px;
    padding: 10px 40px 10px 12px;
    font-size: 13px;
    -webkit-appearance: none;
    appearance: none;
    color-scheme: dark;
    cursor: pointer;
}

.al-premium-select-wrap::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 7px solid rgba(220, 232, 250, 0.85);
    pointer-events: none;
}

.al-premium-select-wrap select::-ms-expand {
    display: none;
}

.al-premium-select-wrap select:focus {
    outline: none;
}

.al-premium-select-wrap select option {
    background: #050913;
    color: #dce8fa;
}

.al-premium-select-wrap select option:checked {
    background: #0a1220 !important;
    color: #cfdcf0 !important;
}

.al-premium-select-wrap select option:hover {
    background: #101d34 !important;
    color: #d7e3f6 !important;
}

.al-premium-select-wrap select option:checked:hover {
    background: #0a1220 !important;
    color: #cfdcf0 !important;
}

.al-premium-search-wrap input::placeholder {
    color: #7f90ab;
}

.al-premium-search-wrap input:focus,
.al-premium-select-wrap select:focus {
    outline: none;
    border-color: rgba(137, 183, 245, 0.68);
    box-shadow: 0 0 0 3px rgba(81, 136, 215, 0.15);
}

.al-premium-toolbar {
    margin-bottom: 8px;
}

.al-premium-toolbar p {
    margin: 0;
    color: #8f9db4;
    font-size: 12px;
    letter-spacing: .02em;
}

.al-premium-feed {
    border-top: 1px solid rgba(101, 143, 212, 0.28);
    background: rgba(6, 10, 18, 0.48);
}

.al-premium-row {
    display: grid;
    grid-template-columns: 84px 1fr 180px;
    align-items: center;
    gap: 14px;
    padding: 10px 8px;
    border-bottom: 1px solid rgba(101, 143, 212, 0.2);
    transition: background-color .16s ease;
}

.al-premium-row:hover {
    background: rgba(13, 20, 34, 0.82);
}

.al-premium-row--nav {
    cursor: pointer;
}

.al-premium-row--nav:focus-visible {
    outline: 2px solid rgba(128, 178, 246, 0.55);
    outline-offset: 2px;
}

.al-power-label {
    color: inherit;
}

.al-premium-cell-media img {
    width: 84px;
    height: 56px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid rgba(122, 169, 237, 0.35);
}

.al-premium-cell-main h3 {
    margin: 0 0 2px;
    color: #e8f0fc;
    font-size: 15px;
    line-height: 1.3;
}

.al-premium-summary {
    margin: 0;
    color: #b5c2d7;
    font-size: 13px;
    line-height: 1.45;
}

.al-premium-meta {
    margin-top: 5px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    font-size: 11px;
    color: #8f9db3;
}

.al-premium-meta span:not(:last-child)::after {
    content: "/";
    margin-left: 8px;
    color: #627087;
}

.al-premium-cell-price {
    text-align: right;
}

.al-premium-cell-price strong {
    display: block;
    color: #badaff;
    font-size: 30px;
    line-height: 1;
    letter-spacing: -.02em;
    text-shadow: 0 0 16px rgba(88, 149, 231, 0.24);
}

.al-premium-cell-price span {
    display: block;
    margin-top: 2px;
    color: #8ea1c0;
    font-size: 11px;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.al-premium-empty {
    display: block;
    padding: 22px 14px;
    text-align: left;
}

.al-premium-empty-head {
    font-size: 16px;
    font-weight: 700;
    color: #d8e6fb;
    margin-bottom: 6px;
}

.al-premium-empty p {
    margin: 0;
    color: #9aabc5;
}

@media (max-width: 900px) {
    .al-premium-filters {
        grid-template-columns: 1fr;
    }

    .al-premium-row {
        grid-template-columns: 72px 1fr;
    }

    .al-premium-cell-price {
        grid-column: 2;
        text-align: left;
    }

    .al-premium-cell-price strong {
        font-size: 24px;
    }
}

.al-premium-open {
    display: inline-block;
    margin-top: 7px;
    color: #8ec3ff;
    font-size: 12px;
    text-decoration: none;
    font-weight: 600;
}

.al-premium-open:hover {
    color: #c2deff;
}

/* Premium details page */
.al-details-page {
    position: relative;
    isolation: isolate;
    max-width: 1180px;
    margin: 0 auto;
    padding: 106px 20px 64px;
    color: #e5ecf8;
}

.al-details-page > * {
    position: relative;
    z-index: 1;
}

.al-details-hero {
    margin-bottom: 16px;
}

.al-details-breadcrumb {
    font-size: 12px;
    color: #8ea0bb;
    margin-bottom: 8px;
}

.al-details-breadcrumb a {
    color: #9cc6ff;
    text-decoration: none;
}

.al-details-hero h1 {
    margin: 0;
    font-size: clamp(28px, 3.6vw, 44px);
    line-height: 1.12;
    color: #edf3fd;
}

.al-details-hero p {
    margin: 8px 0 0;
    color: #a8b7cf;
    max-width: 72ch;
}

.al-details-tags {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.al-details-tags span {
    border: 1px solid rgba(116, 166, 239, 0.34);
    background: rgba(13, 21, 35, 0.78);
    color: #bfd8fa;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 11px;
    letter-spacing: .02em;
}

.al-details-main {
    display: grid;
    grid-template-columns: 1fr 330px;
    gap: 18px;
    align-items: start;
}

.al-details-gallery-panel {
    border: 1px solid rgba(102, 147, 215, 0.28);
    background: rgba(8, 13, 23, 0.72);
    border-radius: 14px;
    padding: 12px;
}

.al-details-main-image-wrap {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(120, 168, 236, 0.34);
}

.al-details-main-image-wrap img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
    transition: opacity .2s ease;
    cursor: zoom-in;
}

.al-details-main-image-wrap button {
    position: absolute;
    right: 10px;
    bottom: 10px;
    border: 1px solid rgba(140, 189, 253, 0.45);
    background: rgba(6, 11, 20, 0.84);
    color: #d3e8ff;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 12px;
}

.al-details-thumbs {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 8px;
}

.al-thumb-btn {
    border: 1px solid rgba(111, 160, 230, 0.34);
    background: rgba(9, 15, 26, 0.9);
    border-radius: 8px;
    padding: 3px;
}

.al-thumb-btn img {
    width: 100%;
    height: 56px;
    object-fit: cover;
    border-radius: 6px;
}

.al-details-side {
    position: sticky;
    top: 92px;
}

.al-details-side-card {
    border: 1px solid rgba(107, 151, 218, 0.32);
    background: linear-gradient(180deg, rgba(11, 17, 29, .95), rgba(8, 13, 22, .95));
    border-radius: 14px;
    padding: 14px;
}

.al-side-price {
    font-size: 40px;
    line-height: 1;
    font-weight: 800;
    color: #bcdcff;
    text-shadow: 0 0 18px rgba(98, 161, 241, 0.26);
}

.al-side-sub {
    margin-top: 4px;
    color: #90a4c3;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.al-side-keyfacts {
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 6px;
}

.al-side-keyfacts li {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    border-bottom: 1px solid rgba(99, 142, 206, 0.15);
    padding-bottom: 5px;
}

.al-side-keyfacts span {
    color: #90a1bc;
    font-size: 12px;
}

.al-side-keyfacts strong {
    color: #d5e7fd;
    font-size: 12px;
    text-align: right;
}

.al-side-cta {
    margin-top: 12px;
    display: grid;
    gap: 8px;
}

.al-side-btn {
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    border-radius: 10px;
    padding: 10px 12px;
}

.al-side-btn-primary {
    background: linear-gradient(120deg, #3f7fd7, #63a8ff);
    color: #061125;
}

.al-side-btn-ghost {
    border: 1px solid rgba(131, 178, 247, 0.5);
    color: #d0e8ff;
    background: rgba(11, 18, 31, 0.75);
}

.al-champions-section,
.al-metrics-block,
.al-note-card,
.al-discord-cta,
.al-related-listings {
    margin-top: 18px;
    border: 1px solid rgba(102, 147, 215, 0.26);
    background: rgba(8, 13, 23, 0.72);
    border-radius: 14px;
    padding: 14px;
}

.al-champions-section h2,
.al-metrics-block h2,
.al-related-listings h2,
.al-discord-cta h2 {
    margin: 0;
    color: #e8f1fd;
    font-size: 22px;
}

.al-champions-section p {
    margin: 6px 0 0;
    color: #9fb0ca;
}

.al-champions-tools {
    margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr 180px 180px;
    gap: 8px;
}

.al-champions-tools input,
.al-champions-tools select {
    width: 100%;
    border: 1px solid rgba(110, 160, 233, 0.34);
    border-radius: 9px;
    background: rgba(10, 16, 27, 0.92);
    color: #d9e8fb;
    padding: 9px 11px;
    font-size: 13px;
    color-scheme: dark;
}

.al-champions-tools select option {
    background: #050913;
    color: #dce8fa;
}

.al-champions-tools select option:checked {
    background: rgba(81, 136, 215, 0.22);
    color: #e8f0ff;
}

.al-champions-tools select option:hover {
    background: rgba(81, 136, 215, 0.16);
    color: #e8f0ff;
}

.al-champion-grid {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}

.al-champion-card {
    border: 1px solid rgba(101, 146, 213, 0.28);
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(12, 19, 32, .9), rgba(8, 14, 24, .95));
    transition: transform .16s ease, border-color .16s ease;
}

.al-champion-card:hover {
    transform: translateY(-3px);
    border-color: rgba(142, 191, 255, 0.56);
}

.al-champion-card img {
    width: 100%;
    height: 118px;
    object-fit: cover;
}

.al-champion-meta {
    padding: 10px;
}

.al-champion-meta h3 {
    margin: 0;
    font-size: 15px;
    color: #e7f1ff;
}

.al-champion-meta p {
    margin: 3px 0 0;
    color: #97abc8;
    font-size: 12px;
}

.al-champion-meta span {
    display: inline-block;
    margin-top: 6px;
    color: #bbd6f6;
    font-size: 12px;
}

.al-champion-empty {
    color: #95a8c6;
}

.al-metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.al-metrics-items {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 8px;
}

.al-metric-card {
    border: 1px solid rgba(100, 142, 205, 0.24);
    border-radius: 10px;
    background: rgba(11, 18, 31, 0.85);
    padding: 10px;
}

.al-metric-card span {
    display: block;
    color: #8fa2bf;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.al-metric-card strong {
    display: block;
    margin-top: 4px;
    color: #d9e9fc;
    font-size: 14px;
}

.al-notes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.al-note-card h3 {
    margin: 0;
    color: #e4eefb;
    font-size: 18px;
}

.al-note-card p {
    margin: 8px 0 0;
    color: #9fb0c9;
    line-height: 1.6;
}

.al-discord-cta p {
    margin: 8px 0 0;
    color: #a2b3cb;
}

.al-discord-cta a {
    display: inline-block;
    margin-top: 12px;
    border-radius: 10px;
    background: linear-gradient(120deg, #3f7fd7, #65acff);
    color: #071226;
    text-decoration: none;
    font-weight: 700;
    padding: 11px 14px;
}

.al-related-grid {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.al-related-card {
    border: 1px solid rgba(103, 146, 210, 0.3);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    background: rgba(10, 16, 27, 0.86);
}

.al-related-card img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    display: block;
}

.al-related-card div {
    padding: 10px;
}

.al-related-card h3 {
    margin: 0;
    color: #e9f2ff;
    font-size: 14px;
}

.al-related-card p {
    margin: 4px 0 0;
    color: #94a9c5;
    font-size: 12px;
}

.al-related-card strong {
    display: block;
    margin-top: 6px;
    color: #badaff;
}

@media (max-width: 1020px) {
    .al-details-main {
        grid-template-columns: 1fr;
    }

    .al-details-side {
        position: static;
    }

    .al-metrics-grid,
    .al-notes-grid {
        grid-template-columns: 1fr;
    }

    .al-related-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .al-champions-tools {
        grid-template-columns: 1fr;
    }

    .al-related-grid {
        grid-template-columns: 1fr;
    }
}

/* Simplified single-screen details board */
.al-details-hero-compact {
    margin-bottom: 12px;
}

.al-overview-board {
    border: 1px solid rgba(96, 142, 210, 0.3);
    border-radius: 14px;
    background: rgba(7, 12, 22, 0.82);
    padding: 12px;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 12px;
    min-height: auto;
    align-items: start;
}

.al-overview-left {
    display: grid;
    align-content: start;
    gap: 10px;
}

.al-overview-gallery {
    border: 1px solid rgba(111, 160, 233, 0.35);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(8, 14, 25, 0.9);
}

.al-overview-gallery img {
    width: 100%;
    height: clamp(240px, 40vh, 380px);
    object-fit: cover;
    display: block;
    transition: opacity .2s ease;
}

.al-overview-right {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 10px;
    min-height: 0;
}

.al-overview-info {
    border: 1px solid rgba(101, 145, 208, 0.3);
    border-radius: 12px;
    background: rgba(10, 16, 29, 0.9);
    padding: 14px;
}

.al-overview-price {
    font-size: 42px;
    line-height: 1;
    color: #b9dbff;
    font-weight: 800;
    text-shadow: 0 0 18px rgba(93, 152, 230, 0.25);
}

.al-overview-meta-grid {
    margin-top: 8px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.al-overview-meta-grid div {
    border: 1px solid rgba(93, 136, 199, 0.26);
    border-radius: 9px;
    background: rgba(10, 15, 26, 0.9);
    padding: 7px 8px;
}

.al-overview-meta-grid span {
    display: block;
    font-size: 10px;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #88a0c0;
}

.al-overview-meta-grid strong {
    display: block;
    margin-top: 3px;
    font-size: 12px;
    color: #d5e7fc;
}

.al-overview-meta-grid .al-meta-rarity-span,
.al-overview-meta-grid .al-meta-ref-span {
    grid-column: 1 / -1;
}

.al-overview-rarity-cell {
    margin-top: 6px;
}

.al-overview-actions {
    margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.al-overview-roster {
    border: 1px solid rgba(101, 145, 208, 0.3);
    border-radius: 12px;
    background: rgba(10, 16, 29, 0.9);
    padding: 14px;
    min-height: 0;
    overflow: hidden;
}

.al-overview-roster h2 {
    margin: 0 0 10px;
    font-size: 20px;
    color: #e6f1ff;
}

/* —— Premium rarity tags (listing cards + details) —— */
.al-statstrip-rarity-wrap {
    min-width: 0;
}

.al-rarity-tag-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.al-overview-rarity-cell .al-rarity-tag-strip {
    flex-wrap: wrap;
    gap: 6px;
}

.al-rarity-tag {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid transparent;
    isolation: isolate;
    overflow: hidden;
    white-space: nowrap;
    max-width: 100%;
    box-sizing: border-box;
}

.al-rarity-tag__name {
    opacity: 0.92;
}

.al-rarity-tag__value {
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: none;
    font-variant-numeric: tabular-nums;
    min-width: 1.2em;
    text-align: right;
}

/* Mythic — deep crimson + static highlight + soft glow (no animation) */
.al-rarity-tag--mythic {
    color: #fde8e8;
    background: linear-gradient(135deg, #1f0c10 0%, #3a141c 38%, #2a1016 72%, #1a0a0e 100%);
    border-color: rgba(214, 96, 96, 0.45);
    box-shadow:
        0 0 0 1px rgba(40, 12, 16, 0.6) inset,
        0 1px 0 rgba(255, 200, 200, 0.06) inset,
        0 0 22px rgba(160, 36, 48, 0.28),
        0 0 40px rgba(90, 20, 28, 0.18);
}

.al-rarity-tag--mythic::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        105deg,
        transparent 0%,
        transparent 38%,
        rgba(255, 210, 205, 0.09) 48%,
        rgba(255, 235, 230, 0.14) 50%,
        rgba(255, 210, 205, 0.09) 52%,
        transparent 62%,
        transparent 100%
    );
    background-size: 220% 100%;
    background-position: 50% 50%;
    opacity: 0.92;
    pointer-events: none;
    z-index: 0;
}

.al-rarity-tag--mythic::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(200, 70, 80, 0.35), transparent 42%, transparent 58%, rgba(120, 30, 40, 0.25));
    opacity: 0.55;
    z-index: -1;
    filter: blur(8px);
    transform: scale(1);
    pointer-events: none;
}

.al-rarity-tag--mythic .al-rarity-tag__name,
.al-rarity-tag--mythic .al-rarity-tag__value {
    position: relative;
    z-index: 1;
}

/* Legendary — prestige gold */
.al-rarity-tag--legendary {
    color: #fff6dd;
    background: linear-gradient(145deg, #1c1608 0%, #2a2210 42%, #221c0c 100%);
    border-color: rgba(212, 176, 88, 0.55);
    box-shadow:
        0 0 0 1px rgba(20, 16, 8, 0.65) inset,
        0 1px 0 rgba(255, 230, 180, 0.07) inset,
        0 0 18px rgba(180, 140, 50, 0.22);
}

.al-rarity-tag--legendary::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(ellipse 120% 80% at 30% 20%, rgba(255, 220, 150, 0.12), transparent 55%);
    pointer-events: none;
    z-index: 0;
}

.al-rarity-tag--legendary .al-rarity-tag__name,
.al-rarity-tag--legendary .al-rarity-tag__value {
    position: relative;
    z-index: 1;
}

/* Epic — refined violet (not neon) */
.al-rarity-tag--epic {
    color: #ebe4ff;
    background: linear-gradient(145deg, #120c1c 0%, #1c1430 45%, #151026 100%);
    border-color: rgba(130, 98, 188, 0.5);
    box-shadow:
        0 0 0 1px rgba(12, 8, 22, 0.65) inset,
        0 1px 0 rgba(210, 190, 255, 0.05) inset,
        0 0 16px rgba(88, 56, 140, 0.2);
}

.al-rarity-tag--epic::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(ellipse 100% 90% at 70% 15%, rgba(170, 130, 230, 0.1), transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.al-rarity-tag--epic .al-rarity-tag__name,
.al-rarity-tag--epic .al-rarity-tag__value {
    position: relative;
    z-index: 1;
}

/* Champion pool filter buttons — match tag language, slightly larger hit targets */
.al-roster-filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 10px;
}

.al-rarity-btn {
    position: relative;
    border-radius: 3px;
    border: 1px solid transparent;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 10px 12px;
    cursor: pointer;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-sizing: border-box;
}

.al-rarity-mythic {
    color: #fde8e8;
    background: linear-gradient(135deg, #1f0c10 0%, #3a141c 45%, #221016 100%);
    border-color: rgba(214, 96, 96, 0.45);
    box-shadow: 0 0 0 1px rgba(40, 12, 16, 0.55) inset;
}

.al-rarity-mythic::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        105deg,
        transparent 36%,
        rgba(255, 210, 205, 0.08) 48%,
        rgba(255, 235, 230, 0.12) 50%,
        rgba(255, 210, 205, 0.08) 52%,
        transparent 64%
    );
    background-size: 220% 100%;
    background-position: 50% 50%;
    opacity: 0.18;
    pointer-events: none;
    z-index: 0;
}

.al-rarity-legendary {
    color: #fff6dd;
    background: linear-gradient(145deg, #1c1608 0%, #2a2210 50%, #1e180a 100%);
    border-color: rgba(212, 176, 88, 0.5);
    box-shadow:
        0 0 0 1px rgba(20, 16, 8, 0.6) inset,
        0 0 16px rgba(160, 124, 48, 0.18);
}

.al-rarity-epic {
    color: #ebe4ff;
    background: linear-gradient(145deg, #120c1c 0%, #1c1430 50%, #151026 100%);
    border-color: rgba(130, 98, 188, 0.48);
    box-shadow:
        0 0 0 1px rgba(12, 8, 22, 0.6) inset,
        0 0 14px rgba(88, 56, 140, 0.16);
}

.al-rarity-btn > * {
    position: relative;
    z-index: 1;
}

.al-rarity-btn.is-active {
    transform: translateY(-1px);
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.42),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.al-rarity-mythic.is-active {
    border-color: rgba(236, 130, 130, 0.75);
    color: #fff5f5;
}

.al-rarity-legendary.is-active {
    border-color: rgba(232, 200, 110, 0.78);
    color: #fffbeb;
    background: linear-gradient(145deg, #241c0c 0%, #3a3014 48%, #2a2210 100%);
}

.al-rarity-epic.is-active {
    border-color: rgba(176, 140, 230, 0.72);
    color: #f4efff;
    background: linear-gradient(145deg, #181028 0%, #281e3e 50%, #1c1530 100%);
}

.al-roster-icons {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(52px, 1fr));
    gap: 7px;
    transition: opacity .2s ease, transform .2s ease;
    max-height: none;
    overflow: visible;
    padding-right: 3px;
}

.al-roster-meta {
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.al-roster-totals {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(170, 197, 236, 0.9);
    font-size: 11px;
}

.al-roster-totals strong {
    color: #f1f6ff;
}

.al-roster-pagination {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.al-roster-page-btn {
    border: 1px solid rgba(114, 165, 239, 0.42);
    border-radius: 8px;
    background: rgba(10, 17, 30, 0.85);
    color: #d9e9ff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 9px;
    cursor: pointer;
}

.al-roster-page-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.al-roster-page-label {
    color: rgba(194, 216, 247, 0.94);
    font-size: 11px;
    min-width: 72px;
    text-align: center;
}

.al-roster-icons.is-switching {
    opacity: .3;
    transform: translateY(2px);
}

.al-roster-icon {
    border: 1px solid rgba(102, 148, 213, 0.3);
    background: rgba(8, 13, 23, 0.92);
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    transition: border-color .16s ease, transform .16s ease;
    position: relative;
}

.al-roster-icon:hover {
    border-color: rgba(145, 191, 255, 0.7);
    transform: translateY(-1px);
}

.al-roster-icon.is-selected {
    border-color: rgba(202, 171, 104, 0.9);
    box-shadow:
        0 0 0 1px rgba(202, 171, 104, 0.28) inset,
        0 10px 24px rgba(0, 0, 0, 0.42),
        0 0 20px rgba(202, 171, 104, 0.22);
}

.al-roster-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.al-roster-selected-card {
    margin-top: 12px;
    border: 1px solid rgba(117, 164, 230, 0.3);
    border-radius: 12px;
    background:
        radial-gradient(130% 130% at 8% 6%, rgba(88, 134, 216, 0.16) 0%, rgba(88, 134, 216, 0.03) 40%, rgba(7, 11, 19, 0.92) 100%),
        linear-gradient(145deg, rgba(10, 16, 28, 0.96), rgba(6, 10, 18, 0.98));
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(186, 214, 255, 0.08);
    padding: 10px;
}

.al-roster-selected-card__empty {
    color: rgba(186, 205, 232, 0.85);
    font-size: 12px;
    line-height: 1.45;
    border: 1px dashed rgba(120, 170, 240, 0.34);
    border-radius: 9px;
    padding: 11px;
    text-align: center;
    background: rgba(10, 16, 28, 0.65);
}

.al-roster-selected-card__content {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 11px;
    align-items: start;
}

.al-roster-selected-card__media {
    border-radius: 10px;
    overflow: visible;
    border: 1px solid rgba(124, 173, 245, 0.38);
    background: rgba(9, 15, 25, 0.85);
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6px;
}

.al-roster-selected-card__media > img {
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
    object-fit: unset;
    display: block;
    margin-inline: auto;
}

.al-roster-selected-card__media-meta {
    margin-top: 8px;
    padding-top: 7px;
    border-top: 1px solid rgba(120, 168, 239, 0.24);
    width: 100%;
}

.al-roster-selected-level {
    display: inline-block;
    color: #dbe9ff;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 6px;
}

.al-roster-selected-stars-visual {
    display: grid;
    gap: 5px;
    margin-top: 2px;
}

.al-stars-row {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
    column-gap: 8px;
    min-height: 18px;
}

.al-stars-label {
    min-width: 0;
    color: rgba(166, 194, 236, 0.9);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1;
}

.al-stars-icons {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 3px;
    min-height: 16px;
}

.al-star-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    filter: drop-shadow(0 0 4px rgba(255, 80, 155, 0.22));
}

.al-roster-selected-card__media .al-star-icon {
    width: 16px;
    height: 16px;
    max-width: 16px;
    max-height: 16px;
    flex: 0 0 16px;
}

.al-roster-selected-card__media .al-star-icon--ascended {
    width: 16px;
    height: 16px;
    max-width: 16px;
    max-height: 16px;
    flex: 0 0 16px;
    object-fit: contain;
}

.al-star-icon--normal {
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.18));
}

.al-stars-empty {
    color: rgba(170, 196, 233, 0.76);
    font-size: 11px;
    line-height: 1;
}

.al-roster-selected-card__body {
    border: 1px solid rgba(120, 168, 239, 0.2);
    border-radius: 10px;
    background: rgba(8, 14, 25, 0.72);
    padding: 9px;
}

.al-roster-selected-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.al-roster-selected-card__head h3 {
    margin: 0;
    font-size: 16px;
    color: #f4f8ff;
    line-height: 1.2;
}

.al-roster-selected-card__rarity {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #f2f6ff;
    background: rgba(93, 133, 207, 0.24);
}

.al-roster-selected-card__rarity.al-rarity-mythic {
    border-color: rgba(235, 132, 132, 0.7);
    background: rgba(235, 132, 132, 0.2);
}

.al-roster-selected-card__rarity.al-rarity-legendary {
    border-color: rgba(218, 190, 117, 0.72);
    background: rgba(218, 190, 117, 0.2);
}

.al-roster-selected-card__rarity.al-rarity-epic {
    border-color: rgba(173, 140, 228, 0.72);
    background: rgba(173, 140, 228, 0.2);
}

.al-roster-selected-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    color: rgba(200, 217, 242, 0.92);
    font-size: 11px;
    margin-bottom: 8px;
}

.al-roster-selected-card__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.al-roster-selected-stat {
    border: 1px solid rgba(132, 178, 248, 0.2);
    border-radius: 8px;
    background: rgba(11, 18, 31, 0.82);
    padding: 6px 8px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.al-roster-selected-stat span {
    color: rgba(167, 194, 236, 0.84);
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.al-roster-selected-stat strong {
    color: #f4f8ff;
    font-size: 13px;
    line-height: 1.1;
}

.al-roster-selected-card__gear {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.al-roster-selected-gear-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 999px;
    border: 1px solid rgba(132, 178, 248, 0.28);
    background: rgba(23, 36, 56, 0.82);
    color: #deebff;
    font-size: 11px;
    padding: 3px 8px;
}

.al-roster-selected-gear-icon {
    width: 14px;
    height: 14px;
    object-fit: contain;
    border-radius: 3px;
    background: rgba(8, 14, 24, 0.6);
}

.al-roster-selected-card__empty-note {
    color: rgba(167, 194, 236, 0.84);
    font-size: 11px;
}

.al-roster-tooltip {
    display: none;
}

.al-roster-hover-card {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 200;
    pointer-events: none;
    opacity: 0;
    transform: translateY(4px) scale(0.98);
    transition: opacity .12s ease, transform .12s ease;
    border: 1px solid rgba(142, 183, 244, 0.5);
    border-radius: 10px;
    background:
        linear-gradient(155deg, rgba(20, 28, 44, 0.96), rgba(7, 12, 22, 0.98)),
        radial-gradient(80% 120% at 15% 10%, rgba(95, 132, 196, 0.26), transparent 70%);
    color: #f1f7ff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.1;
    padding: 7px 10px;
    box-shadow:
        0 14px 34px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(133, 175, 238, 0.17) inset;
    white-space: nowrap;
}

.al-roster-hover-card.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.al-roster-empty {
    color: #7f93af;
    font-size: 12px;
    padding: 4px 0;
}

@media (max-width: 980px) {
    .al-overview-board {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .al-overview-right {
        grid-template-rows: auto auto;
    }

    .al-overview-gallery img {
        height: clamp(220px, 36vh, 320px);
    }

    .al-roster-selected-card__content {
        grid-template-columns: 1fr;
    }

    .al-roster-selected-card__media {
        min-height: 210px;
    }
}

/* Inline admin layer (public pages) */
.al-admin-inline-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.al-admin-inline-hint {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    color: #9fb8db;
    border: 1px dashed rgba(120, 171, 241, .4);
    border-radius: 8px;
    padding: 6px 9px;
}

.al-admin-inline-bar-detail {
    margin-top: 12px;
}

.al-admin-btn,
.al-admin-delete {
    border: 1px solid rgba(111, 165, 240, 0.42);
    background: linear-gradient(125deg, rgba(34, 72, 133, .9), rgba(52, 99, 170, .9));
    color: #dbeeff;
    border-radius: 9px;
    padding: 7px 11px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.al-admin-btn-ghost,
.al-admin-delete {
    background: rgba(10, 16, 28, .88);
}

.al-admin-btn-active {
    box-shadow: 0 0 0 2px rgba(114, 171, 247, .25) inset;
}

.al-admin-row-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    margin-top: 7px;
}

.al-inline-row-controls {
    display: none;
    justify-content: flex-end;
    gap: 6px;
    margin-top: 6px;
}

.al-inline-row-controls.is-visible,
.al-inline-dirty .al-inline-row-controls {
    display: flex;
}

.al-inline-save,
.al-inline-cancel {
    border: 1px solid rgba(111, 165, 240, 0.45);
    border-radius: 8px;
    padding: 4px 9px;
    font-size: 11px;
    color: #d7eaff;
    background: rgba(9, 15, 27, .92);
    cursor: pointer;
}

.al-inline-edit {
    border-radius: 6px;
    transition: box-shadow .15s ease, background-color .15s ease;
    cursor: inherit;
}

.al-details-page.al-edit-mode .al-inline-edit {
    cursor: text;
}

.al-details-page.al-edit-mode .al-inline-edit:hover,
.al-details-page.al-edit-mode .al-inline-img:hover {
    box-shadow: inset 0 0 0 1px rgba(117, 169, 238, .55);
    background: rgba(21, 39, 67, .22);
}

.al-details-page.al-edit-mode .al-inline-edit:focus {
    outline: none;
    box-shadow: inset 0 0 0 1px rgba(151, 196, 255, .8);
    background: rgba(27, 46, 77, .35);
}

.al-inline-img {
    cursor: pointer;
}

.al-inline-global-actions {
    position: fixed;
    top: 92px;
    right: 18px;
    z-index: 60;
    background: rgba(8, 13, 24, 0.84);
    border: 1px solid rgba(120, 167, 236, 0.3);
    border-radius: 12px;
    padding: 8px;
    backdrop-filter: blur(8px);
}

.al-inline-global-actions .al-inline-save,
.al-inline-global-actions .al-inline-cancel {
    font-weight: 700;
}

.al-inline-media-hint {
    position: absolute;
    right: 12px;
    bottom: 12px;
    border: 1px solid rgba(141, 187, 250, 0.42);
    border-radius: 10px;
    padding: 6px 10px;
    background: rgba(8, 13, 24, 0.78);
    color: #d9ebff;
    font-size: 11px;
}


.al-inline-discord-actions {
    margin-top: 8px;
    display: inline-flex;
    gap: 6px;
}

.al-inline-roster-tools {
    margin-top: 8px;
    display: inline-flex;
    gap: 6px;
}

.al-inline-discord-btn {
    border: 1px solid rgba(111, 165, 240, 0.45);
    border-radius: 8px;
    padding: 5px 8px;
    font-size: 11px;
    color: #d7eaff;
    background: rgba(9, 15, 27, 0.92);
    cursor: pointer;
}

.al-pdp-roster-fallback-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    color: #c8daff;
    background: linear-gradient(150deg, rgba(30, 41, 61, 0.95), rgba(10, 15, 25, 0.95));
    border: 1px solid rgba(119, 148, 197, 0.42);
}

.al-pdp-roster-preview {
    margin-top: 8px;
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(139, 178, 234, 0.4);
    background: rgba(9, 15, 25, 0.9);
}

@media (max-width: 980px) {
    .al-inline-global-actions {
        top: auto;
        bottom: 14px;
        right: 12px;
    }
}

.al-inline-upload {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    margin: 0;
}

.al-inline-upload-text {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #b8d8ff;
    border: 1px solid rgba(120, 171, 241, 0.45);
    border-radius: 8px;
    padding: 5px 9px;
    background: rgba(8, 14, 26, 0.92);
    transition: border-color 0.15s ease, background 0.15s ease;
}

.al-inline-upload:hover .al-inline-upload-text {
    border-color: rgba(160, 204, 255, 0.65);
    background: rgba(14, 24, 44, 0.95);
}

.al-meta-date {
    opacity: 0.92;
}

.al-admin-row-actions button {
    border: 1px solid rgba(110, 159, 228, .45);
    background: rgba(8, 13, 22, .9);
    color: #cde3ff;
    border-radius: 8px;
    padding: 5px 8px;
    font-size: 11px;
    cursor: pointer;
}

.al-admin-row-actions.is-highlight button {
    border-color: rgba(188, 218, 255, .82);
}

.al-admin-flash {
    margin-bottom: 10px;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 12px;
}

.al-admin-flash-error {
    border: 1px solid rgba(228, 109, 109, .5);
    background: rgba(88, 24, 24, .5);
    color: #ffd4d4;
}

.al-admin-flash-success {
    border: 1px solid rgba(98, 192, 150, .5);
    background: rgba(17, 62, 46, .5);
    color: #cbf4e5;
}

.al-admin-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.al-admin-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(1, 5, 12, .78);
}

.al-admin-modal-card {
    position: relative;
    width: min(1160px, 95vw);
    margin: 5vh auto 0;
    border: 1px solid rgba(108, 156, 225, .42);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(8, 13, 23, .98), rgba(6, 10, 18, .98));
    padding: 14px;
    max-height: 90vh;
    overflow: auto;
}

.al-admin-modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.al-admin-modal-head h2 {
    margin: 0;
    font-size: 20px;
    color: #e5f0ff;
}

.al-admin-modal-head button {
    border: 1px solid rgba(117, 164, 233, .45);
    background: rgba(10, 16, 28, .9);
    color: #d4e7ff;
    width: 34px;
    height: 34px;
    border-radius: 8px;
}

.al-admin-modal-grid {
    display: grid;
    grid-template-columns: 1.2fr .9fr;
    gap: 12px;
}

.al-admin-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.al-admin-fields label {
    display: grid;
    gap: 5px;
    color: #9cb2d1;
    font-size: 12px;
}

.al-admin-fields input,
.al-admin-fields textarea {
    border: 1px solid rgba(110, 157, 223, .34);
    background: rgba(8, 13, 22, .95);
    border-radius: 8px;
    color: #d8e8ff;
    padding: 8px 9px;
    font-size: 12px;
}

.al-admin-fields textarea {
    resize: vertical;
    min-height: 70px;
}

.al-admin-full {
    grid-column: 1 / -1;
}

.al-admin-check {
    align-content: center;
}

.al-admin-check input {
    width: auto;
    margin-right: 6px;
}

.al-admin-preview {
    border: 1px solid rgba(105, 152, 219, .3);
    background: rgba(7, 12, 21, .85);
    border-radius: 10px;
    padding: 10px;
}

.al-admin-preview h3 {
    margin: 0 0 9px;
    color: #dfedff;
    font-size: 14px;
}

.al-premium-row-preview {
    border-top: 0;
}

.al-admin-modal-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 12px;
}

.al-admin-detail-editor {
    margin-bottom: 12px;
    border: 1px solid rgba(102, 149, 214, .28);
    background: rgba(8, 13, 23, .78);
    border-radius: 12px;
    padding: 12px;
}

.al-admin-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.al-admin-detail-grid label {
    display: grid;
    gap: 5px;
    color: #9cb1ce;
    font-size: 12px;
}

.al-admin-detail-grid input,
.al-admin-detail-grid textarea {
    border: 1px solid rgba(108, 156, 225, .33);
    background: rgba(8, 13, 22, .95);
    border-radius: 8px;
    color: #d8e8ff;
    padding: 8px 9px;
    font-size: 12px;
}

.al-admin-modal-open {
    overflow: hidden;
}

@media (max-width: 900px) {
    .al-admin-modal-grid,
    .al-admin-detail-grid,
    .al-admin-fields {
        grid-template-columns: 1fr;
    }
}

/* —— Compact marketplace feed + admin dock (row board, not bulky cards) —— */
.al-admin-dock {
    position: relative;
    max-width: 1140px;
    margin: 0 auto 12px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(98, 148, 218, 0.24);
    background: linear-gradient(145deg, rgba(8, 14, 26, 0.92), rgba(5, 9, 18, 0.9));
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.32) inset,
        0 8px 24px rgba(0, 0, 0, 0.28);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease, margin 0.22s ease, padding 0.22s ease, height 0.22s ease;
}

.al-admin-dock__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.al-admin-dock__primary,
.al-admin-dock__secondary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.al-admin-dock__label {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7d93b5;
    margin-right: 4px;
}

.al-admin-dock__sep {
    width: 1px;
    height: 16px;
    background: rgba(110, 154, 214, 0.24);
    margin: 0 2px;
}

.al-admin-dock__hint {
    margin: 8px 0 0;
    font-size: 11px;
    color: #8fa3c4;
    line-height: 1.4;
}

.al-dock-btn {
    border: 1px solid rgba(118, 168, 236, 0.32);
    background: rgba(12, 20, 36, 0.88);
    color: #d4e6ff;
    border-radius: 7px;
    padding: 6px 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.al-dock-btn:hover:not(:disabled) {
    border-color: rgba(165, 205, 255, 0.45);
    box-shadow: 0 0 16px rgba(82, 140, 220, 0.14);
    transform: translateY(-1px);
}

.al-dock-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.al-dock-btn--primary {
    border-color: rgba(212, 175, 108, 0.4);
    background: linear-gradient(125deg, rgba(52, 42, 24, 0.92), rgba(78, 58, 28, 0.9));
    color: #f3e5c8;
}

.al-dock-btn--ghost {
    opacity: 0.85;
}

.al-dock-btn--ghost.is-active {
    border-color: rgba(190, 120, 90, 0.55);
    color: #f0c4a8;
    box-shadow: 0 0 12px rgba(190, 120, 90, 0.12);
}

.al-dock-btn--quiet {
    text-transform: none;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* —— Admin “visitor preview” (match public listing chrome; dock collapsed) —— */
.al-public-preview #al-inline-anti {
    display: none !important;
}

.al-public-preview .al-admin-flash {
    display: none !important;
}

.al-public-preview .al-feed-active-hint,
.al-public-preview #al-mark-sold-err {
    display: none !important;
}

.al-public-preview .al-listing-card[data-feed-stash="sold"],
.al-public-preview .al-listing-card[data-draft="true"] {
    display: none !important;
}

.al-public-preview .al-stat-chip--status,
.al-public-preview .al-feed-badge--sold {
    display: none !important;
}

.al-public-preview .al-luxury-feed .al-card--edit-surface,
.al-public-preview .al-luxury-feed .al-card--locked,
.al-public-preview .al-luxury-feed .al-card--add-active {
    background: rgba(8, 12, 22, 0.35);
    box-shadow: none;
    filter: none;
    opacity: 1;
}

.al-public-preview #al-admin-dock {
    opacity: 0;
    transform: translateY(-8px);
    visibility: hidden;
    pointer-events: none;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    overflow: hidden !important;
    box-shadow: none !important;
}

.al-preview-exit-fab {
    position: fixed;
    z-index: 2000;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(118, 168, 236, 0.4);
    background: linear-gradient(165deg, rgba(12, 22, 40, 0.97), rgba(8, 14, 26, 0.94));
    color: #dce8fb;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.35) inset,
        0 12px 32px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.28s ease,
        visibility 0.28s ease,
        transform 0.28s cubic-bezier(0.33, 1, 0.68, 1),
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.al-preview-exit-fab:hover {
    border-color: rgba(165, 205, 255, 0.55);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.35) inset,
        0 14px 36px rgba(0, 0, 0, 0.45),
        0 0 24px rgba(70, 120, 200, 0.15);
}

.al-preview-exit-fab.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

#al-act-public-preview.is-active {
    border-color: rgba(130, 185, 240, 0.45);
    color: #e2efff;
}

/* In preview, force visitor-like field chrome even if mode classes are in an odd state */
.al-public-preview .al-luxury-feed--admin .al-listing-card .al-inline-edit,
.al-public-preview .al-luxury-feed--admin .al-listing-card .al-inline-img {
    cursor: inherit;
    pointer-events: none;
}

.al-public-preview .al-luxury-feed--admin .al-listing-card .al-inline-edit:hover,
.al-public-preview .al-luxury-feed--admin .al-listing-card .al-inline-img:hover {
    box-shadow: none !important;
    background: transparent !important;
}

.al-luxury-feed {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 1140px;
    margin: 0 auto;
    padding-bottom: 40px;
}

.al-luxury-feed--mode-add .al-listing-card:not(.al-card--add-active):not(.al-listing-card--empty),
.al-luxury-feed--mode-edit .al-listing-card:not(.al-listing-card--empty) {
    cursor: default;
}

/* Admin browse / locked rows: listing toolbar & add strip hidden; public-facing copy (layout html is lang=tr; feed uses lang=en for button uppercase). */
.al-luxury-feed--admin.al-luxury-feed--mode-browse .al-listing-card__toolbar,
.al-luxury-feed--admin.al-luxury-feed--mode-browse .al-listing-card__add-actions {
    display: none !important;
}

.al-luxury-feed--admin.al-luxury-feed--mode-add .al-listing-card:not(.al-card--add-active) .al-listing-card__toolbar,
.al-luxury-feed--admin.al-luxury-feed--mode-add .al-listing-card:not(.al-card--add-active) .al-listing-card__add-actions {
    display: none !important;
}

.al-luxury-feed--admin.al-luxury-feed--mode-browse .al-listing-card .al-inline-edit,
.al-luxury-feed--admin.al-luxury-feed--mode-add .al-listing-card:not(.al-card--add-active) .al-inline-edit {
    cursor: inherit;
    pointer-events: none;
}

.al-luxury-feed--admin.al-luxury-feed--mode-browse .al-listing-card .al-inline-img,
.al-luxury-feed--admin.al-luxury-feed--mode-add .al-listing-card:not(.al-card--add-active) .al-inline-img {
    cursor: inherit;
    pointer-events: none;
}

.al-luxury-feed--admin.al-luxury-feed--mode-browse .al-listing-card .al-inline-edit:hover,
.al-luxury-feed--admin.al-luxury-feed--mode-add .al-listing-card:not(.al-card--add-active) .al-inline-edit:hover,
.al-luxury-feed--admin.al-luxury-feed--mode-browse .al-listing-card .al-inline-img:hover,
.al-luxury-feed--admin.al-luxury-feed--mode-add .al-listing-card:not(.al-card--add-active) .al-inline-img:hover {
    box-shadow: none !important;
    background: transparent !important;
}

.al-luxury-feed--admin.al-luxury-feed--mode-browse .al-listing-card:not(.al-listing-card--empty),
.al-luxury-feed:not(.al-luxury-feed--admin) .al-listing-card:not(.al-listing-card--empty) {
    cursor: pointer;
}

.al-luxury-feed--admin.al-luxury-feed--mode-edit .al-listing-card.al-card--edit-surface {
    background: rgba(14, 24, 44, 0.58);
    box-shadow:
        inset 0 0 0 1px rgba(118, 184, 255, 0.28),
        0 0 24px rgba(70, 120, 200, 0.12);
}

.al-luxury-feed--admin.al-luxury-feed--mode-edit .al-listing-card.al-card--edit-surface:hover {
    background: rgba(16, 28, 50, 0.64);
    border-bottom-color: rgba(130, 170, 235, 0.38);
}

.al-feed-active-hint {
    margin: 0;
    padding: 10px 12px 12px;
    font-size: 13px;
    line-height: 1.45;
    color: #8fa3c8;
    border-bottom: 1px solid rgba(72, 104, 160, 0.2);
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

.al-feed-active-hint strong {
    color: #c8daf4;
    font-weight: 700;
}

.al-admin-feedback {
    margin: 10px 0 0;
    font-size: 12px;
    line-height: 1.4;
    color: #e0a896;
    letter-spacing: 0.02em;
}

.al-admin-feedback[hidden] {
    display: none !important;
}

.al-listing-card--removing {
    opacity: 0 !important;
    transform: translateY(-6px) scale(0.992) !important;
    transition:
        opacity 0.4s cubic-bezier(0.33, 1, 0.68, 1),
        transform 0.4s cubic-bezier(0.33, 1, 0.68, 1) !important;
    pointer-events: none;
    z-index: 0;
}

.al-listing-card {
    --al-accent: rgba(118, 174, 255, 0.38);
    position: relative;
    border-radius: 0;
    overflow: visible;
    border: none;
    border-bottom: 1px solid rgba(72, 104, 160, 0.22);
    background: rgba(8, 12, 22, 0.35);
    box-shadow: none;
    transform: translateY(0);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        background 0.22s ease,
        border-color 0.22s ease;
    animation: al-card-reveal 0.4s ease both;
    animation-delay: calc(var(--al-i, 0) * 0.035s);
}

.al-luxury-feed > .al-listing-card:first-of-type,
.al-feed-active-hint + .al-listing-card {
    border-top: 1px solid rgba(72, 104, 160, 0.22);
}

@keyframes al-card-reveal {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.al-listing-card:hover {
    transform: translateY(-1px);
    background: rgba(12, 18, 32, 0.55);
    box-shadow:
        0 0 0 1px rgba(118, 174, 255, 0.14),
        0 0 20px rgba(56, 96, 170, 0.09);
    border-bottom-color: rgba(120, 160, 230, 0.32);
    z-index: 1;
}

.al-listing-card--sold {
    opacity: 0.94;
    filter: saturate(0.88) brightness(0.96);
}

.al-listing-card--sold::after {
    content: "";
    pointer-events: none;
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(6, 10, 18, 0.06));
    z-index: 0;
}

.al-listing-card--sold:hover {
    transform: translateY(-1px);
}

.al-listing-card--sold .al-listing-card__thumb {
    transform: scale(1);
}

.al-card--locked {
    opacity: 0.62;
    filter: grayscale(0.08);
    pointer-events: auto;
}

.al-card--locked:hover {
    transform: translateY(-1px);
}

.al-card--edit-surface {
    background: rgba(14, 22, 40, 0.5);
    box-shadow:
        inset 0 0 0 1px rgba(118, 184, 255, 0.22),
        0 0 18px rgba(70, 120, 200, 0.08);
}

.al-card--add-active {
    background: rgba(20, 18, 12, 0.45);
    box-shadow:
        inset 0 0 0 1px rgba(212, 175, 108, 0.22),
        0 0 20px rgba(212, 175, 108, 0.06);
}

.al-listing-card__layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) minmax(120px, 200px);
    gap: 12px 16px;
    padding: 12px 14px;
    align-items: start;
}

.al-listing-card__visual {
    align-self: start;
    padding-top: 2px;
}

.al-listing-card__visual-frame {
    position: relative;
    width: 72px;
    height: 52px;
    min-height: 0;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(100, 140, 206, 0.28);
    background: radial-gradient(ellipse at 30% 20%, rgba(50, 84, 150, 0.2), rgba(8, 12, 20, 0.95));
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35);
}

.al-listing-card__thumb {
    width: 72px;
    height: 52px;
    min-height: 0;
    object-fit: cover;
    display: block;
    transition: transform 0.28s ease;
}

.al-listing-card:hover .al-listing-card__thumb {
    transform: scale(1.03);
}

.al-listing-card--sold .al-listing-card__visual-frame {
    filter: brightness(0.9);
}

.al-listing-card__main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
}

.al-listing-card__title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    min-width: 0;
    margin-bottom: 6px;
}

.al-listing-card__title-row .al-listing-card__headline {
    flex: 1 1 140px;
    min-width: 0;
}

.al-feed-badge {
    flex-shrink: 0;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid rgba(180, 150, 90, 0.4);
    color: #e4cba0;
    background: rgba(36, 30, 18, 0.75);
}

.al-feed-badge--sold {
    border-color: rgba(140, 150, 120, 0.35);
    color: #c8c2ae;
    background: rgba(24, 26, 22, 0.72);
}

.al-listing-card__game {
    margin: 0;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #6e8ec4;
}

.al-listing-card__headline {
    margin: 0;
    font-size: clamp(15px, 1.7vw, 17px);
    font-weight: 700;
    line-height: 1.22;
    color: #eef3fc;
    letter-spacing: -0.018em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.al-listing-card__lede {
    margin: 0 0 10px;
    font-size: 12px;
    line-height: 1.48;
    color: #8fa0c0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    /* Comfortable cap height for 3 lines without forcing short copy to a tall box */
    max-height: calc(1.48em * 3);
}

.al-listing-card__statstrip {
    --al-meta-tag-h: 22px;
    --al-meta-tag-radius: 3px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 5px;
    margin-top: 0;
    padding: 2px 0;
    min-height: calc(var(--al-meta-tag-h) + 4px);
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(90, 120, 170, 0.5) transparent;
    -webkit-overflow-scrolling: touch;
}

.al-listing-card__statstrip > .al-statstrip-rarity-wrap {
    display: contents;
}

.al-listing-card__statstrip .al-statstrip-rarity-wrap > .al-rarity-tag-strip {
    display: contents;
}

.al-listing-card__statstrip::-webkit-scrollbar {
    height: 3px;
}

.al-listing-card__statstrip::-webkit-scrollbar-thumb {
    background: rgba(100, 130, 180, 0.42);
    border-radius: 2px;
}

@media (max-width: 540px) {
    .al-listing-card__statstrip {
        flex-wrap: wrap;
        row-gap: 5px;
        overflow-x: visible;
    }
}

.al-listing-card__statstrip .al-stat-chip,
.al-listing-card__statstrip .al-rarity-tag {
    flex-shrink: 0;
}

.al-listing-card__statstrip .al-stat-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: var(--al-meta-tag-h);
    padding: 0 8px;
    border-radius: var(--al-meta-tag-radius);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1;
    border: 1px solid rgba(90, 128, 188, 0.32);
    background: rgba(8, 14, 26, 0.78);
    color: #9eb4d8;
}

.al-listing-card__statstrip .al-stat-chip--accent {
    border-color: rgba(130, 175, 240, 0.34);
    color: #c8def8;
    gap: 4px;
    white-space: nowrap;
}

.al-listing-card__statstrip .al-stat-chip--muted {
    opacity: 0.82;
    text-transform: none;
    letter-spacing: 0.04em;
    font-weight: 600;
}

.al-listing-card__statstrip .al-stat-chip--status {
    border-color: rgba(110, 185, 160, 0.34);
    color: #a8dcc8;
}

.al-listing-card__statstrip .al-stat-chip__value {
    text-transform: none;
    letter-spacing: 0.03em;
    font-weight: 800;
}

.al-listing-card__statstrip .al-rarity-tag {
    min-height: var(--al-meta-tag-h);
    padding: 0 8px;
    border-radius: var(--al-meta-tag-radius);
    gap: 5px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
}

.al-listing-card__statstrip .al-rarity-tag__value {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.03em;
    min-width: 1ch;
    text-align: right;
}

/* Card row: slightly softer Mythic halo; no motion (tags stay sharp) */
.al-listing-card__statstrip .al-rarity-tag--mythic::after {
    opacity: 0.38;
    filter: blur(5px);
}

.al-listing-card__side {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
    gap: 6px;
    padding: 2px 0 0;
    min-width: 0;
    align-self: start;
}

.al-listing-card__priceblock {
    text-align: right;
    width: 100%;
}

.al-listing-card__price-label {
    display: block;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #667c9c;
    margin-bottom: 1px;
}

.al-listing-card__price {
    margin: 0;
    font-size: clamp(19px, 2.4vw, 26px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    background: linear-gradient(115deg, #e2eeff 0%, #9ec0f0 42%, #dce8fb 72%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.al-listing-card__ship {
    margin: 4px 0 0;
    font-size: 10px;
    color: #7d91b4;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.al-listing-card__toolbar,
.al-listing-card__add-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px;
}

.al-listing-card__add-actions {
    padding-top: 4px;
    margin-top: 2px;
    border-top: 1px solid rgba(80, 118, 180, 0.14);
    width: 100%;
}

.al-tool-btn {
    border: 1px solid rgba(100, 145, 210, 0.3);
    background: rgba(10, 16, 28, 0.85);
    color: #bcd0ee;
    border-radius: 5px;
    padding: 4px 8px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.15s ease;
}

.al-tool-btn:hover:not(:disabled) {
    border-color: rgba(150, 190, 245, 0.45);
    transform: translateY(-1px);
}

.al-tool-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.al-tool-btn--primary {
    border-color: rgba(200, 165, 100, 0.38);
    background: linear-gradient(125deg, rgba(52, 42, 24, 0.9), rgba(78, 58, 28, 0.86));
    color: #f0e2c8;
}

.al-tool-btn--sold {
    border-color: rgba(190, 130, 95, 0.35);
    color: #e8c4a8;
}

.al-tool-btn--danger {
    border-color: rgba(190, 90, 90, 0.38);
    color: #f0b8b8;
}

.al-tool-btn--quiet {
    text-transform: none;
    letter-spacing: 0.02em;
    font-weight: 600;
    opacity: 0.88;
}

.al-inline-upload.al-tool-btn {
    padding: 0;
    border: none;
    background: transparent;
}

.al-inline-upload.al-tool-btn span {
    display: inline-block;
    border: 1px solid rgba(100, 145, 210, 0.3);
    background: rgba(10, 16, 28, 0.85);
    color: #bcd0ee;
    border-radius: 5px;
    padding: 4px 8px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.al-listing-card .al-inline-edit {
    outline: none;
    border-radius: 3px;
    transition: box-shadow 0.18s ease, background 0.18s ease;
}

.al-listing-card .al-inline-edit[contenteditable="true"]:hover {
    box-shadow: 0 0 0 1px rgba(120, 170, 235, 0.28);
    background: rgba(18, 28, 48, 0.35);
}

.al-listing-card .al-inline-edit[contenteditable="true"]:focus {
    box-shadow: 0 0 0 2px rgba(120, 180, 250, 0.38);
    background: rgba(22, 36, 58, 0.4);
}

.al-listing-card--empty {
    padding: 20px 16px;
    text-align: center;
    animation: none;
    border-top: 1px solid rgba(72, 104, 160, 0.2);
}

@media (max-width: 900px) {
    .al-listing-card__layout {
        grid-template-columns: 56px 1fr;
        grid-template-rows: auto auto;
        gap: 8px 10px;
        padding: 10px;
    }

    .al-listing-card__visual-frame,
    .al-listing-card__thumb {
        width: 56px;
        height: 42px;
    }

    .al-listing-card__main {
        grid-column: 2;
        grid-row: 1;
    }

    .al-listing-card__side {
        grid-column: 1 / -1;
        grid-row: 2;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-end;
        justify-content: space-between;
        padding-top: 8px;
        border-top: 1px solid rgba(72, 104, 160, 0.16);
        gap: 8px;
    }

    .al-listing-card__priceblock {
        text-align: left;
        width: auto;
        flex: 1 1 120px;
    }

    .al-listing-card__toolbar,
    .al-listing-card__add-actions {
        justify-content: flex-start;
        flex: 1 1 100%;
    }
}

/* =========================================================
   Luxury PDP V2 (single-screen flagship detail)
   ========================================================= */
.al-details-page.al-pdp.al-pdp-v2 {
    --al-pdp-content-max: 1320px;
    --al-pdp-gutter: 26px;
    --al-pdp-top-space: 18px;
    width: 100%;
    max-width: min(1380px, 100%);
    box-sizing: border-box;
    height: auto;
    min-height: calc(100vh - 68px);
    max-height: none;
    margin: 132px auto 0;
    padding: var(--al-pdp-top-space) 0 22px;
    display: block;
    color: #d8e0ef;
    font-family: "Sora", "Plus Jakarta Sans", system-ui, sans-serif;
    background:
        radial-gradient(120% 90% at 50% 0%, rgba(35, 54, 82, 0.16) 0%, rgba(8, 12, 20, 0) 64%),
        radial-gradient(90% 120% at 50% 100%, rgba(9, 12, 18, 0.62) 0%, rgba(7, 10, 15, 0) 78%);
    border: 1px solid rgba(140, 158, 188, 0.16);
    border-radius: 24px;
    box-shadow:
        0 42px 96px rgba(0, 0, 0, 0.58),
        inset 0 1px 0 rgba(196, 206, 224, 0.08);
}

.al-pdp-v2 .al-pdp-v2__content {
    max-width: var(--al-pdp-content-max);
    margin: 0 auto;
    padding: 0 var(--al-pdp-gutter);
    display: grid;
    grid-template-rows: auto auto;
    row-gap: 12px;
    min-width: 0;
}

.al-details-page.al-pdp.al-pdp-v2::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(90% 54% at 14% 8%, rgba(86, 118, 176, 0.14) 0%, transparent 66%),
        radial-gradient(72% 48% at 84% 24%, rgba(70, 98, 152, 0.12) 0%, transparent 68%),
        linear-gradient(180deg, rgba(8, 12, 20, 0.5) 0%, rgba(6, 9, 14, 0.34) 52%, rgba(6, 8, 13, 0.58) 100%),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.011) 0px, rgba(255, 255, 255, 0.011) 1px, transparent 2px, transparent 4px);
}

.al-details-page.al-pdp.al-pdp-v2::after {
    content: "";
    position: absolute;
    inset: -8% -6%;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
    opacity: 0.28;
    background:
        linear-gradient(178deg, transparent 0%, rgba(108, 146, 213, 0.12) 50%, transparent 100%),
        linear-gradient(128deg, transparent 0%, rgba(110, 148, 216, 0.1) 50%, transparent 100%),
        linear-gradient(136deg, transparent 0%, rgba(199, 169, 113, 0.05) 56%, transparent 100%);
    background-size: 1px 200%, 1px 210%, 1px 180%;
    background-position: 18% -110%, 68% 120%, 84% -112%;
    filter: blur(0.65px);
    animation: alPdpV2Lines 24s linear infinite;
}

.al-pdp-v2 .al-pdp-hero { margin: 0; max-width: 100%; }
.al-pdp-v2 .al-pdp-breadcrumb { margin-bottom: 4px; font-size: 10px; }
.al-pdp-v2 .al-pdp-title {
    font-family: "Cinzel", "Sora", serif;
    font-size: clamp(1.5rem, 2.35vw, 2.2rem);
    line-height: 1.03;
    letter-spacing: -0.015em;
    margin-bottom: 3px;
    color: #f1f5fc;
}
.al-pdp-v2 .al-pdp-subtitle { margin: 0; font-size: 0.82rem; line-height: 1.42; max-width: 84ch; color: #a8b4ca; }

.al-pdp-v2 .al-pdp-main {
    min-height: 0;
    margin: 0;
    gap: 16px;
    grid-template-columns: minmax(0, 1.1fr) minmax(390px, 0.9fr);
}
.al-pdp-v2 .al-pdp-main::before {
    content: "";
    position: absolute;
    inset: -3% -2%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.26;
    background:
        radial-gradient(42% 22% at 36% 22%, rgba(131, 166, 224, 0.2) 0%, rgba(131, 166, 224, 0) 76%),
        linear-gradient(132deg, transparent 34%, rgba(99, 140, 212, 0.14) 49%, transparent 64%);
    filter: blur(18px);
    animation: alPdpV2Sweep 14s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}
.al-pdp-v2 .al-pdp-main > * { z-index: 1; }

.al-pdp-v2 .al-pdp-side { position: static; min-height: 0; }
.al-pdp-v2 .al-pdp-panel {
    height: auto;
    min-height: 0;
    display: grid;
    grid-template-rows: auto auto auto auto auto;
    gap: 10px;
    padding: 14px;
    border-radius: 18px;
    background: linear-gradient(164deg, rgba(14, 19, 29, 0.96) 0%, rgba(10, 14, 21, 0.95) 100%);
    overflow: visible;
}
.al-pdp-v2 .al-pdp-price-wrap { padding-bottom: 8px; }
.al-pdp-v2 .al-pdp-price-label { font-size: 10px; margin-bottom: 4px; }
.al-pdp-v2 .al-pdp-price {
    font-size: clamp(1.75rem, 2.9vw, 2.25rem);
    line-height: 1;
    background: linear-gradient(125deg, #f3f5fb 0%, #d8e2f6 36%, #ead8b0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.al-pdp-v2 .al-pdp-intel-grid { gap: 8px; }
.al-pdp-v2 .al-pdp-intel-item { padding: 8px 9px; border-radius: 10px; }
.al-pdp-v2 .al-pdp-intel-item span { margin-bottom: 3px; font-size: 9px; }
.al-pdp-v2 .al-pdp-intel-item strong { font-size: 12px; }
.al-pdp-v2 .al-pdp-rarity-strip .al-rarity-tag { font-size: 8px; padding: 3px 8px; }
.al-pdp-v2 .al-pdp-section-kicker { margin-bottom: 6px; font-size: 9px; }
.al-pdp-v2 .al-pdp-segmented .al-rarity-btn { padding: 8px 8px; font-size: 10px; }

.al-pdp-v2 .al-pdp-roster--embedded {
    margin: 0;
    padding: 10px;
    border-radius: 12px;
    border-color: rgba(158, 174, 202, 0.18);
}
.al-pdp-v2 .al-pdp-roster--embedded .al-pdp-roster-head { margin-bottom: 7px; }
.al-pdp-v2 .al-pdp-roster--embedded .al-pdp-roster-head h2 { font-size: 0.95rem; }
.al-pdp-v2 .al-pdp-roster--embedded .al-pdp-roster-head p { font-size: 0.74rem; margin-top: 3px; }
.al-pdp-v2 .al-pdp-roster-icons { max-height: none; overflow: visible; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 6px; }

.al-pdp-v2 .al-pdp-resource-module {
    position: relative;
    margin-top: 10px;
    width: min(760px, 100%);
    align-self: flex-start;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid rgba(150, 165, 190, 0.28);
    background:
        linear-gradient(155deg, rgba(14, 18, 27, 0.9) 0%, rgba(10, 12, 20, 0.92) 100%),
        radial-gradient(88% 84% at 18% 12%, rgba(102, 126, 170, 0.12), transparent 70%),
        radial-gradient(70% 62% at 84% 86%, rgba(95, 108, 140, 0.1), transparent 76%);
    overflow: hidden;
    box-shadow:
        inset 0 1px 0 rgba(201, 211, 229, 0.09),
        inset 0 0 0 1px rgba(120, 132, 154, 0.22),
        0 14px 36px rgba(0, 0, 0, 0.36);
}

.al-pdp-v2 .al-pdp-resource-module::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(195, 206, 228, 0.05) 0%, rgba(195, 206, 228, 0) 36%),
        radial-gradient(ellipse at 22% 18%, rgba(102, 132, 184, 0.1), transparent 58%);
}

.al-pdp-v2 .al-pdp-resource-module::after {
    content: "";
    position: absolute;
    inset: -18% -8%;
    pointer-events: none;
    background: linear-gradient(122deg, transparent 40%, rgba(198, 214, 238, 0.14) 50%, transparent 60%);
    filter: blur(16px);
    opacity: 0.28;
    animation: alResourceGlassShimmer 22s ease-in-out infinite;
}

.al-pdp-v2 .al-pdp-resource-row {
    position: relative;
    z-index: 1;
    display: grid;
    justify-content: center;
    gap: 8px;
}

.al-pdp-v2 .al-pdp-resource-heading {
    position: relative;
    z-index: 1;
    margin: 0 0 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #aeb7ca;
    text-align: center;
}

.al-pdp-v2 .al-pdp-resource-compartment {
    position: relative;
    z-index: 1;
    border: 1px solid rgba(142, 156, 180, 0.24);
    border-radius: 9px;
    padding: 9px 10px 10px;
    background:
        linear-gradient(160deg, rgba(14, 18, 28, 0.8) 0%, rgba(11, 14, 22, 0.84) 100%);
    box-shadow:
        inset 0 1px 0 rgba(194, 206, 226, 0.06),
        inset 0 -10px 24px rgba(3, 6, 11, 0.28);
}

.al-pdp-v2 .al-pdp-resource-compartment + .al-pdp-resource-compartment {
    margin-top: 8px;
}

.al-pdp-v2 .al-pdp-resource-compartment--bank {
    padding-bottom: 11px;
}

.al-pdp-v2 .al-pdp-resource-compartment--shards {
    padding-top: 8px;
}

.al-pdp-v2 .al-pdp-resource-row--primary {
    grid-template-columns: repeat(3, minmax(136px, 152px));
    margin-bottom: 0;
}

.al-pdp-v2 .al-pdp-resource-row--shards {
    grid-template-columns: repeat(4, minmax(102px, 118px));
}

.al-pdp-v2 .al-pdp-resource-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 9px 11px 8px;
    border-radius: 4px;
    border: 1px solid rgba(148, 161, 184, 0.34);
    background:
        linear-gradient(154deg, rgba(20, 22, 32, 0.93) 0%, rgba(12, 13, 22, 0.95) 100%);
    box-shadow:
        inset 0 1px 0 rgba(195, 208, 232, 0.09),
        inset 0 0 0 1px rgba(116, 130, 150, 0.22),
        0 8px 18px rgba(0, 0, 0, 0.26);
    transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), border-color 220ms ease, box-shadow 220ms ease;
    overflow: hidden;
    clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
}

.al-pdp-v2 .al-pdp-resource-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(194, 206, 230, 0.1), transparent 36%),
        radial-gradient(circle at 50% 24%, rgba(126, 148, 184, 0.11), transparent 44%);
    opacity: 0.72;
}

.al-pdp-v2 .al-pdp-resource-tile::after {
    content: "";
    position: absolute;
    top: -22%;
    left: -38%;
    width: 64%;
    height: 170%;
    background: linear-gradient(118deg, transparent 0%, rgba(203, 217, 239, 0.2) 48%, transparent 100%);
    opacity: 0;
    transform: translateX(0);
    animation: alResourceTileSweep 18s ease-in-out infinite;
}

.al-pdp-v2 .al-pdp-resource-tile:hover {
    transform: translateY(-1px);
    border-color: rgba(186, 203, 228, 0.52);
    box-shadow:
        inset 0 1px 0 rgba(209, 223, 244, 0.16),
        0 12px 24px rgba(0, 0, 0, 0.33),
        0 0 18px rgba(129, 156, 199, 0.18);
}

.al-pdp-v2 .al-pdp-resource-tile:hover .al-pdp-resource-icon {
    transform: scale(1.035);
    filter: drop-shadow(0 0 9px rgba(170, 196, 232, 0.3));
}

.al-pdp-v2 .al-pdp-resource-icon {
    position: relative;
    z-index: 1;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    border-radius: 5px;
    border: 1px solid rgba(158, 170, 193, 0.28);
    background:
        linear-gradient(150deg, rgba(17, 22, 34, 0.88), rgba(12, 16, 24, 0.9));
    box-shadow:
        inset 0 1px 0 rgba(202, 214, 234, 0.16),
        0 0 0 1px rgba(88, 104, 136, 0.22);
    transition: transform 220ms ease, filter 220ms ease;
    animation: alResourceIconBreathe 5.5s ease-in-out infinite;
}

.al-pdp-v2 .al-pdp-resource-icon img {
    width: 78%;
    height: 78%;
    object-fit: contain;
}

.al-pdp-v2 .al-pdp-resource-label {
    position: relative;
    z-index: 1;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.085em;
    color: #a4aec0;
    line-height: 1.1;
    min-height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.al-pdp-v2 .al-pdp-resource-value {
    position: relative;
    z-index: 1;
    margin-top: 3px;
    font-size: 16px;
    line-height: 1.05;
    font-weight: 800;
    color: #eef2f8;
    font-variant-numeric: tabular-nums;
    min-height: 19px;
    display: inline-flex;
    align-items: center;
}

.al-pdp-v2 .al-pdp-resource-tile--primary {
    min-height: 100px;
}

.al-pdp-v2 .al-pdp-resource-tile--primary .al-pdp-resource-value {
    font-size: 19px;
}

.al-pdp-v2 .al-pdp-resource-tile--shard {
    min-height: 88px;
}

/* Tone-specific crystal glow accents */
.al-pdp-v2 .al-pdp-resource-tile--energy .al-pdp-resource-icon { box-shadow: inset 0 1px 0 rgba(220, 247, 170, 0.18), 0 0 12px rgba(168, 226, 70, 0.16); }
.al-pdp-v2 .al-pdp-resource-tile--gems .al-pdp-resource-icon { box-shadow: inset 0 1px 0 rgba(255, 212, 212, 0.15), 0 0 12px rgba(195, 66, 66, 0.16); }
.al-pdp-v2 .al-pdp-resource-tile--silver .al-pdp-resource-icon { box-shadow: inset 0 1px 0 rgba(230, 237, 255, 0.16), 0 0 12px rgba(148, 176, 214, 0.15); }
.al-pdp-v2 .al-pdp-resource-tile--ancient .al-pdp-resource-icon { box-shadow: inset 0 1px 0 rgba(207, 229, 255, 0.17), 0 0 12px rgba(90, 160, 236, 0.17); }
.al-pdp-v2 .al-pdp-resource-tile--sacred .al-pdp-resource-icon { box-shadow: inset 0 1px 0 rgba(255, 232, 182, 0.17), 0 0 12px rgba(214, 156, 70, 0.17); }
.al-pdp-v2 .al-pdp-resource-tile--void .al-pdp-resource-icon { box-shadow: inset 0 1px 0 rgba(232, 212, 255, 0.17), 0 0 12px rgba(160, 94, 220, 0.19); }
.al-pdp-v2 .al-pdp-resource-tile--primal .al-pdp-resource-icon { box-shadow: inset 0 1px 0 rgba(255, 212, 212, 0.17), 0 0 12px rgba(186, 68, 82, 0.19); }

.al-pdp-v2 .al-pdp-resource-spark { display: none; }

.al-pdp-v2 .al-pdp-discord-ticket {
    position: relative;
    margin-top: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(132, 153, 189, 0.28);
    background:
        linear-gradient(155deg, rgba(12, 17, 26, 0.9) 0%, rgba(9, 13, 20, 0.92) 100%),
        radial-gradient(68% 88% at 18% 12%, rgba(99, 119, 162, 0.12), transparent 72%),
        radial-gradient(58% 70% at 86% 86%, rgba(86, 98, 130, 0.12), transparent 76%);
    box-shadow:
        inset 0 1px 0 rgba(196, 209, 231, 0.1),
        inset 0 0 0 1px rgba(105, 123, 153, 0.2),
        0 16px 30px rgba(0, 0, 0, 0.34);
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
}

.al-pdp-v2 .al-pdp-discord-ticket::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(194, 206, 229, 0.06), transparent 28%),
        radial-gradient(circle at 52% 46%, rgba(154, 170, 207, 0.16), transparent 54%);
}

.al-pdp-v2 .al-pdp-discord-ticket::after {
    content: "";
    position: absolute;
    inset: -24% -8%;
    pointer-events: none;
    background: linear-gradient(122deg, transparent 40%, rgba(204, 218, 244, 0.14) 50%, transparent 60%);
    filter: blur(16px);
    opacity: 0.2;
    animation: alDiscordTicketSweep 20s ease-in-out infinite;
}

.al-pdp-v2 .al-pdp-discord-ticket__left,
.al-pdp-v2 .al-pdp-discord-ticket__right {
    position: relative;
    z-index: 1;
}

.al-pdp-v2 .al-pdp-discord-ticket__left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.al-pdp-v2 .al-pdp-discord-ticket__emblem {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(145, 165, 201, 0.34);
    background: linear-gradient(148deg, rgba(26, 34, 50, 0.9), rgba(13, 19, 31, 0.92));
    color: #9bb4ff;
    font-size: 1.45rem;
    box-shadow:
        inset 0 1px 0 rgba(210, 221, 240, 0.14),
        0 0 14px rgba(126, 146, 209, 0.2);
    animation: alDiscordEmblemPulse 6.2s ease-in-out infinite;
}

.al-pdp-v2 .al-pdp-discord-ticket__title {
    margin: 0;
    font-family: "Sora", "Plus Jakarta Sans", sans-serif;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #e8edf8;
}

.al-pdp-v2 .al-pdp-discord-ticket__desc {
    margin: 5px 0 0;
    font-family: "Inter", "Sora", sans-serif;
    font-size: 0.82rem;
    line-height: 1.4;
    color: #a8b4cb;
    max-width: 36ch;
}

.al-pdp-v2 .al-pdp-discord-ticket__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.al-pdp-v2 .al-pdp-discord-ticket__btn {
    min-width: 220px;
    min-height: 42px;
    border-radius: 10px;
    border: 1px solid rgba(149, 164, 246, 0.58);
    background:
        linear-gradient(132deg, #5f6fe7 0%, #5863c9 54%, #4a56aa 100%);
    color: #f3f5ff;
    text-decoration: none;
    font-family: "Inter", "Sora", sans-serif;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    box-shadow:
        inset 0 1px 0 rgba(236, 241, 255, 0.24),
        0 10px 20px rgba(58, 73, 158, 0.36);
    transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms ease, filter 220ms ease;
}

.al-pdp-v2 .al-pdp-discord-ticket__btn-label {
    color: #f3f5ff;
}

.al-pdp-v2 .al-pdp-discord-ticket__btn-sep {
    opacity: 0.9;
    color: #57dc86;
    text-shadow: 0 0 6px rgba(87, 220, 134, 0.45);
    font-size: 0.8em;
}

.al-pdp-v2 .al-pdp-discord-ticket__btn-online {
    font-size: 0.8em;
    font-weight: 500;
    opacity: 0.72;
    color: rgba(233, 238, 250, 0.82);
}

.al-pdp-v2 .al-pdp-discord-ticket__btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow:
        inset 0 1px 0 rgba(240, 244, 255, 0.3),
        0 14px 24px rgba(63, 82, 184, 0.42),
        0 0 18px rgba(126, 145, 255, 0.24);
}

.al-pdp-v2 .al-pdp-actions { grid-template-columns: 1fr 1fr; gap: 7px; padding-top: 0; }
.al-pdp-v2 .al-pdp-cta { min-height: 40px; font-size: 11px; border-radius: 10px; }
.al-pdp-v2 .al-pdp-transfer { padding-top: 8px; }
.al-pdp-v2 .al-pdp-transfer-copy { font-size: 0.79rem; line-height: 1.45; }
.al-pdp-v2 .al-admin-flash { margin: 0; font-size: 12px; padding: 8px 10px; border-radius: 10px; }

@keyframes alPdpV2Lines {
    from { background-position: 18% -110%, 68% 120%, 84% -112%; }
    to { background-position: 18% 122%, 68% -94%, 84% 118%; }
}
@keyframes alPdpV2Sweep {
    from { transform: translate3d(-0.8%, -1%, 0); opacity: 0.21; }
    to { transform: translate3d(1.1%, 0.8%, 0); opacity: 0.32; }
}

@keyframes alResourceGlassShimmer {
    0%, 100% { transform: translateX(-16%); opacity: 0.18; }
    50% { transform: translateX(14%); opacity: 0.32; }
}

@keyframes alResourceTileSweep {
    0%, 75%, 100% { opacity: 0; transform: translateX(0); }
    20% { opacity: 0.26; transform: translateX(240%); }
}

@keyframes alResourceIconBreathe {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-1px) scale(1.03); }
}

@keyframes alDiscordTicketSweep {
    0%, 100% { transform: translateX(-14%); opacity: 0.12; }
    50% { transform: translateX(14%); opacity: 0.24; }
}

@keyframes alDiscordEmblemPulse {
    0%, 100% { box-shadow: inset 0 1px 0 rgba(210, 221, 240, 0.14), 0 0 14px rgba(126, 146, 209, 0.2); }
    50% { box-shadow: inset 0 1px 0 rgba(222, 232, 248, 0.18), 0 0 20px rgba(126, 146, 209, 0.3); }
}

@media (max-width: 1180px) {
    .al-details-page.al-pdp.al-pdp-v2 {
        height: auto;
        max-height: none;
        --al-pdp-gutter: 16px;
        --al-pdp-top-space: 20px;
        margin-top: 108px;
        padding: var(--al-pdp-top-space) 0 44px;
        display: block;
        border-radius: 18px;
    }
    .al-pdp-v2 .al-pdp-v2__content { row-gap: 10px; }
    .al-pdp-v2 .al-pdp-hero { margin: 0; }
    .al-pdp-v2 .al-pdp-main { margin: 0; }
    .al-pdp-v2 .al-pdp-main { grid-template-columns: 1fr; gap: 14px; }
    .al-pdp-contact-card__links { grid-template-columns: 1fr; }
    .al-pdp-v2 .al-pdp-panel { height: auto; grid-template-rows: auto; }
    .al-pdp-v2 .al-pdp-roster-icons { max-height: 300px; }
    .al-pdp-v2 .al-pdp-discord-ticket {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .al-pdp-v2 .al-pdp-discord-ticket__right {
        align-items: flex-start;
    }
    /* Sabit min genişlikler dar telefonda yatay taşma yapıyordu */
    .al-pdp-v2 .al-pdp-resource-row--primary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .al-pdp-v2 .al-pdp-resource-row--shards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


@media (max-width: 760px) {
    .al-details-page.al-pdp.al-pdp-v2 {
        --al-pdp-gutter: max(12px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
        margin-top: 96px;
        border-radius: 14px;
    }
    .al-pdp-v2 .al-pdp-title {
        word-break: break-word;
        overflow-wrap: anywhere;
    }
    .al-pdp-v2 .al-pdp-breadcrumb {
        flex-wrap: wrap;
        row-gap: 4px;
    }
    .al-pdp-v2 .al-pdp-actions { grid-template-columns: 1fr; }
    .al-pdp-v2 .al-pdp-resource-row--primary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .al-pdp-v2 .al-pdp-resource-row--shards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .al-gallery {
        padding: 8px 6px 10px;
    }
    .al-gallery__showcase {
        padding: 5px;
    }
    .al-gallery__canvas {
        max-height: min(52vh, 520px);
    }
    .al-gallery__thumb { flex: 0 0 68px; }
    .al-gallery__thumb img { height: 42px; }
    .al-gallery__arrow { width: 30px; height: 44px; font-size: 15px; }
    .al-gallery__thumb-rail { gap: 6px; padding: 8px 4px 6px; }
    .al-gallery__rail-btn { width: 30px; min-height: 46px; border-radius: 9px; }
    .al-gallery__rail-btn-inner { font-size: 12px; }
    .al-lightbox {
        padding:
            max(6px, env(safe-area-inset-top, 0px))
            max(6px, env(safe-area-inset-right, 0px))
            max(6px, env(safe-area-inset-bottom, 0px))
            max(6px, env(safe-area-inset-left, 0px));
    }
    .al-lightbox__body { padding: 44px 8px 12px; }
    .al-lightbox__canvas {
        min-height: 0;
    }
    .al-lightbox__image-shell {
        inset: 10px 40px;
    }
    .al-lightbox__nav {
        width: 40px;
        height: 46px;
        border-radius: 11px;
    }
    .al-lightbox__nav--prev { inset-inline-start: 8px; }
    .al-lightbox__nav--next { inset-inline-end: 8px; }
    .al-lightbox__nav-icon { font-size: 16px; }
    .al-lightbox__toolbar { top: 8px; right: 8px; gap: 0; }
    .al-lightbox__fs,
    .al-lightbox__close { min-width: 40px; min-height: 40px; padding: 6px; }
    .al-lightbox__fs-icon { font-size: 15px; }
    .al-lightbox__thumbs-wrap { padding: 10px 10px 12px; }
    .al-lightbox__thumbs-row { gap: 8px; }
    .al-lightbox__thumb { max-width: none; }
    .al-lightbox__thumb img { height: 40px; }
    .al-lightbox__counter {
        margin-top: 8px;
        padding: 0;
        font-size: 11px;
        letter-spacing: 0.1em;
    }
}

/* Dar ekran + yatay: galeri ve lightbox’ta screenshot alanı büyüsün */
@media (max-width: 900px) and (orientation: landscape) {
    .al-gallery__canvas {
        max-height: min(85vh, 780px);
        min-height: 200px;
    }
}

@media (orientation: landscape) and (max-height: 520px) {
    .al-lightbox__body {
        padding: 36px 6px 6px;
    }
    .al-lightbox__image-shell {
        inset: 5px 32px;
    }
    .al-lightbox__nav--prev {
        inset-inline-start: 4px;
    }
    .al-lightbox__nav--next {
        inset-inline-end: 4px;
    }
    .al-lightbox__thumbs-wrap {
        padding: 5px 8px 8px;
    }
    .al-lightbox__thumb img {
        height: 34px;
    }
}

.al-sold-page {
    min-height: calc(100vh - 180px);
    display: grid;
    place-items: center;
    padding: 140px 20px 64px;
}

.al-sold-card {
    width: min(720px, 100%);
    border-radius: 18px;
    padding: 30px 28px;
    border: 1px solid rgba(255, 198, 84, 0.32);
    background:
        radial-gradient(28rem 16rem at 15% -10%, rgba(210, 152, 54, 0.14), transparent 70%),
        linear-gradient(165deg, rgba(19, 19, 19, 0.95), rgba(11, 11, 11, 0.9));
    box-shadow:
        0 24px 48px rgba(0, 0, 0, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.al-sold-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border-radius: 999px;
    padding: 6px 12px;
    border: 1px solid rgba(223, 97, 77, 0.42);
    background: rgba(223, 97, 77, 0.12);
    color: #ff8b74;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.al-sold-card h1 {
    margin: 0 0 10px;
    color: #f8f1e5;
    font-size: clamp(1.4rem, 2.8vw, 2rem);
    line-height: 1.25;
}

.al-sold-card p {
    margin: 0;
    color: rgba(245, 236, 221, 0.78);
    line-height: 1.6;
}

.al-sold-actions {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Listing PDP: galeri görünürken veya lightbox açıkken global arka plan atmosfer animasyonunu durdur (site.css .bg-atmosphere). */
body.page-account-listing-details.al-pdp-bg-quiet .bg-atmosphere::after,
body.page-account-listing-details.al-lightbox-open .bg-atmosphere::after {
    animation: none !important;
    transform: none !important;
    opacity: 0.22;
    filter: blur(40px);
    will-change: auto !important;
}

body.page-account-listing-details.al-pdp-bg-quiet .bg-atmosphere::before,
body.page-account-listing-details.al-lightbox-open .bg-atmosphere::before {
    opacity: 0.92;
}
