body { background:#10100f; color:#fff5df; font-family:system-ui,sans-serif; }
.gallery-shell { width:min(1120px, calc(100% - 36px)); margin:auto; }
.gallery-nav { border-bottom:1px solid #37342c; }
.gallery-nav .gallery-shell { display:flex; justify-content:space-between; align-items:center; min-height:74px; }
.gallery-brand { color:#ffcb76; font-size:1.25rem; font-weight:800; text-decoration:none; }
.gallery-nav a:last-child { color:#e0d4bd; }
.gallery-intro { padding:clamp(32px,7vw,82px) 0 25px; }
.gallery-intro h1 { font-size:clamp(2.4rem,8vw,5rem); font-weight:800; letter-spacing:-.06em; }
.gallery-intro p,.gallery-card p { color:#d6cbb6; }
.gallery-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr)); gap:20px; padding-bottom:55px; }
.gallery-card { min-width:0; background:#1e1c18; border:1px solid #393429; border-radius:20px; overflow:hidden; }
.gallery-card:first-child { grid-column:1/-1; display:grid; grid-template-columns:1.6fr 1fr; }
.gallery-media { position:relative; display:grid; place-items:center; aspect-ratio:16/9; background:radial-gradient(ellipse at top,#604424,#181411 75%); overflow:hidden; }
.gallery-media video { width:100%; height:100%; position:absolute; inset:0; object-fit:contain; }
.gallery-overlay { position:relative; display:grid; place-items:center; width:54px; height:54px; border-radius:50%; color:#181411; background:#ffcb76; font-size:1.25rem; pointer-events:none; box-shadow:0 4px 24px #0008; }
.gallery-card.is-playing .gallery-overlay { opacity:0; }
.gallery-info { padding:clamp(18px,3vw,34px); align-self:center; }
.gallery-info h2 { font-size:clamp(1.25rem,3vw,2.25rem); }
.gallery-buy,.pay-action-btn { border:0; border-radius:10px; background:#ffcb76; color:#20170d; padding:.75rem 1rem; font-weight:800; }
.pay-action-btn { width:100%; }
.gallery-empty { grid-column:1/-1; border:1px solid #393429; border-radius:20px; padding:40px; background:#1e1c18; }
.modal-content { color:#20170d; }
.payment-instructions[hidden],.spinner-border[hidden] { display:none; }
.gallery-admin { color:#e0d4bd; }
@media(max-width:720px){ .gallery-card:first-child { display:block; } }
#downloadModal .checkout-payment-row {
    flex-direction: column;
    gap: 8px;
}

#downloadModal #modalAmount {
    order: -1;
    white-space: nowrap;
}

#downloadModal .payment-methods-image {
    max-width: 100%;
    height: auto;
}