main > section.poster-catalog {
    --catalog-gold: #f1d4a4;
    width: 100vw;
    margin-inline: calc(50% - 50vw);
    padding: 8px max(16px, calc((100vw - 1626px) / 2)) 36px;
    color: var(--catalog-gold);
    background: linear-gradient(150deg, #25101b, #10090c 60%, #1b1113);
    font-family: Inter, "Noto Sans Bengali", "Noto Sans Devanagari", sans-serif;
}
.platform-scroll, .catalog-filters { display: flex; gap: 8px; }
.platform-scroll {
    overflow-x: auto;
    scrollbar-width: none;
    padding-block: 2px;
}
.platform-scroll button, .catalog-filters button, .catalog-poster {
    font: inherit;
    cursor: pointer;
}
.platform-scroll button {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    padding: 0;
    background: #190e14;
    border: 1px solid #5d403e;
    border-radius: 11px;
    overflow: hidden;
}
.platform-scroll img { width: 100%; height: 100%; object-fit: cover; }
.platform-scroll button[aria-pressed="true"] { border: 2px solid var(--catalog-gold); }
.catalog-filters {
    gap: 15px;
    border-bottom: 1px solid #3a2728;
    margin-bottom: 15px;
}
.catalog-filters button {
    color: #d9bc98;
    background: none;
    border: 0;
    border-bottom: 3px solid transparent;
    padding: 3px 0;
    font-size: 22px;
    font-weight: 700;
}
.catalog-filters button[aria-pressed="true"] {
    color: #fff2db;
    border-bottom-color: var(--catalog-gold);
}
.catalog-label [lang] { display: none; }
html[lang="bn"] .catalog-label [lang="bn"],
html[lang="en"] .catalog-label [lang="en"],
html[lang="es"] .catalog-label [lang="es"],
html[lang="hi"] .catalog-label [lang="hi"] { display: inline; }
.poster-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 18px 14px;
}
.poster-grid [hidden], .catalog-empty[hidden] { display: none; }
.catalog-card { position: relative; min-width: 0; }
.catalog-poster {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 166 / 236;
    overflow: hidden;
    color: inherit;
    background: #291921;
    border: 1px solid #49332b;
    border-radius: 9px;
}
.catalog-poster img { width: 100%; height: 100%; object-fit: cover; }
.catalog-type {
    position: absolute;
    bottom: 7px;
    right: 7px;
    padding: 0 3px;
    color: #ffe3ba;
    background: #21121a;
    border-radius: 2px;
    font-size: 11px;
}
.catalog-caption { margin: 5px 0 0; font-size: 13px; line-height: 1.45; }
.catalog-app {
    position: absolute;
    z-index: 1;
    top: 7px;
    left: 7px;
    color: #2d1815;
    background: linear-gradient(#ffdfa2, #e7b960);
    border: 1px solid #ffe6ba;
    border-radius: 5px;
    padding: 4px 7px;
    font-size: 11px;
    font-weight: 800;
}
.catalog-empty { padding-block: 20px; }
.catalog-dialog {
    position: fixed;
    margin: auto;
    width: min(90vw, 460px);
    padding: 24px;
    color: #ffe4bd;
    background: #25141d;
    border: 1px solid #765548;
    border-radius: 12px;
}
.catalog-dialog::backdrop { background: #000b; }
.catalog-dialog h2 { padding-right: 28px; font-size: 23px; }
.catalog-dialog p { margin: 12px 0; }
.catalog-dialog .catalog-app { position: static; display: inline-block; }
.catalog-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    color: inherit;
    background: transparent;
    border: 1px solid #765548;
    border-radius: 50%;
    cursor: pointer;
}
@media (max-width: 1100px) { .poster-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 800px) { .poster-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 520px) {
    main > section.poster-catalog { padding-inline: 12px; }
    .poster-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 8px; }
    .catalog-filters button { font-size: 18px; }
    .platform-scroll button { width: 44px; height: 44px; flex-basis: 44px; }
    .catalog-app { top: 4px; left: 4px; padding: 2px 4px; font-size: 9px; }
}
