.ebank-art-page {
    --art-ink: #241a20;
    --art-muted: #75666e;
    --art-border: rgba(63, 32, 47, 0.12);
    --art-surface: rgba(255, 255, 255, 0.9);
    width: min(1220px, calc(100% - 32px));
    margin: 0 auto;
    padding: 34px 0 88px;
    color: var(--art-ink);
}

.art-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    margin: 0 0 18px;
    color: var(--art-muted);
    font-size: 14px;
}

.art-breadcrumbs a {
    color: #b23d68;
    font-weight: 700;
    text-decoration: none;
}

.art-breadcrumbs i {
    font-size: 18px;
}

.art-breadcrumbs span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.art-detail-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
    height: auto;
    min-height: 620px;
    overflow: hidden;
    border: 1px solid var(--art-border);
    border-radius: 28px;
    background: var(--art-surface);
    box-shadow: 0 24px 70px rgba(72, 27, 49, 0.14);
}

.art-hero {
    display: grid;
    height: auto;
    min-width: 0;
    min-height: 620px;
    margin: 0;
    overflow: hidden;
    scroll-snap-type: none;
    place-items: center;
    background:
        radial-gradient(circle at 20% 20%, rgba(241, 125, 52, 0.18), transparent 36%),
        radial-gradient(circle at 80% 78%, rgba(211, 70, 117, 0.2), transparent 34%),
        #171216;
}

.art-hero-image {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 78vh;
    object-fit: contain;
    transition: none;
}

.art-detail-shell:hover .art-hero-image {
    transform: none;
}

.art-detail-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: clamp(28px, 4vw, 52px);
}

.art-eyebrow {
    margin: 0 0 8px;
    color: #b23d68;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.art-detail-copy h1 {
    margin: 0;
    color: var(--art-ink);
    font-size: clamp(30px, 3.2vw, 48px);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.04;
    overflow-wrap: anywhere;
}

.art-description {
    margin: 20px 0 0;
    color: var(--art-muted);
    font-size: 16px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.art-prompt {
    margin: 24px 0 0;
    padding: 16px 18px;
    border: 1px solid var(--art-border);
    border-radius: 16px;
    background: rgba(242, 228, 235, 0.55);
}

.art-prompt h2 {
    margin: 0 0 7px;
    color: #8f3153;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.art-prompt p {
    margin: 0;
    color: #5d4d55;
    font-size: 14px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.art-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.art-tags a {
    padding: 7px 11px;
    border: 1px solid rgba(178, 61, 104, 0.16);
    border-radius: 999px;
    background: rgba(211, 70, 117, 0.08);
    color: #9a335a;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.art-tags a:hover {
    border-color: rgba(178, 61, 104, 0.4);
    background: rgba(211, 70, 117, 0.14);
}

.art-facts {
    display: grid;
    gap: 10px;
    margin: 26px 0 0;
}

.art-facts div {
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 12px;
    font-size: 14px;
}

.art-facts dt {
    color: var(--art-muted);
}

.art-facts dd {
    min-width: 0;
    margin: 0;
    color: var(--art-ink);
    font-weight: 700;
    overflow-wrap: anywhere;
}

.art-facts a {
    color: #9a335a;
    text-decoration: none;
}

.art-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 32px;
}

.art-primary-action,
.art-secondary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.art-primary-action {
    border: 0;
    background: linear-gradient(135deg, #f17d34, #d34675);
    color: #fff;
    box-shadow: 0 10px 22px rgba(211, 70, 117, 0.22);
}

.art-secondary-action {
    border: 1px solid var(--art-border);
    background: #fff;
    color: #8f3153;
}

.art-primary-action i,
.art-secondary-action i {
    font-size: 20px;
}

.art-related {
    margin-top: 54px;
}

.art-related > header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.art-related h2 {
    margin: 0;
    color: var(--art-ink);
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.art-related > header > a {
    color: #9a335a;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.art-related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.art-related-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--art-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(72, 27, 49, 0.08);
}

.art-related-card > a {
    display: block;
    color: var(--art-ink);
    text-decoration: none;
}

.art-related-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 180ms ease;
}

.art-related-card:hover img {
    transform: scale(1.025);
}

.art-related-card span {
    display: block;
    min-height: 57px;
    padding: 12px 52px 12px 14px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}

.art-card-share {
    display: inline-grid;
    width: 38px;
    height: 38px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    background: rgba(29, 20, 25, 0.72);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(8px);
}

.art-card-share {
    position: absolute;
    right: 10px;
    bottom: 10px;
}

.art-card-share:hover {
    background: #d34675;
}

.art-card-share i {
    font-size: 19px;
}

.ebank-art-page .share-dialog {
    color: #fff;
}

.ebank-art-page + .share-dialog .dialog-header h2 {
    margin: 0;
    color: #fff;
    font-size: 21px;
}

@media (max-width: 900px) {
    .art-detail-shell {
        grid-template-columns: 1fr;
    }

    .art-hero {
        min-height: min(72vh, 680px);
    }

    .art-detail-copy {
        min-height: 480px;
    }

    .art-related-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .ebank-art-page {
        width: min(100% - 20px, 1220px);
        padding-top: 18px;
    }

    .art-detail-shell {
        min-height: 0;
        border-radius: 20px;
    }

    .art-hero {
        min-height: 0;
        aspect-ratio: 1 / 1;
    }

    .art-hero-image {
        max-height: none;
    }

    .art-detail-copy {
        min-height: 0;
        padding: 26px 20px;
    }

    .art-detail-copy h1 {
        font-size: clamp(28px, 9vw, 40px);
    }

    .art-actions {
        margin-top: 8px;
    }

    .art-primary-action,
    .art-secondary-action {
        flex: 1 1 150px;
    }

    .art-related {
        margin-top: 40px;
    }

    .art-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .art-related-card {
        border-radius: 14px;
    }

}

@media (prefers-reduced-motion: reduce) {
    .art-related-card img {
        transition: none;
    }
}
