﻿:root {
    --bp-bg: #070908;
    --bp-panel: rgba(12, 14, 13, 0.55);
    --bp-text: #f4f7f5;
    --bp-muted: rgba(244, 247, 245, 0.72);
    --bp-green: #1faa55;
    --bp-green-deep: #0e7a38;
    --bp-red: #ff4d6d;
    --bp-white: #ffffff;
    --bp-line: rgba(255, 255, 255, 0.16);
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }

button, a { -webkit-tap-highlight-color: transparent; }

html, body {
    margin: 0;
    height: 100%;
    background:
        radial-gradient(900px 420px at 50% -10%, rgba(31, 170, 85, 0.16), transparent 55%),
        var(--bp-bg);
    color: var(--bp-text);
    font-family: "Cairo", "Segoe UI", sans-serif;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
}

body.bp-app {
    overscroll-behavior: none;
}

.bp-feed {
    height: 100dvh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    user-select: none;
}

.bp-feed::-webkit-scrollbar { display: none; }

.bp-reel {
    position: relative;
    height: 100dvh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    overflow: hidden;
    background: #000;
}

.bp-reel.is-playing .bp-thumb {
    opacity: 0;
    pointer-events: none;
}

.bp-buffer {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: none;
    place-items: center;
    pointer-events: none;
}

.bp-reel.is-buffering .bp-buffer {
    display: grid;
}

.bp-buffer i {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.22);
    border-top-color: #fff;
    border-radius: 50%;
    animation: bp-spin 0.7s linear infinite;
}

.bp-reel video,
.bp-thumb,
.bp-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
    border: 0;
}

.bp-thumb {
    z-index: 1;
    transition: opacity .18s ease;
}

.bp-embed {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 90px 20px 140px;
    background: #111;
}

.bp-embed a {
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,.25);
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(0,0,0,.45);
}

.bp-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    padding: calc(12px + var(--safe-top)) 14px 10px;
    background: linear-gradient(180deg, rgba(7, 9, 8, 0.78) 0%, rgba(7, 9, 8, 0.28) 70%, transparent 100%);
    pointer-events: none;
    transform: translate3d(0, 0, 0);
    opacity: 1;
    transition:
        transform .48s cubic-bezier(.22, 1, .36, 1),
        opacity .32s ease;
}

.bp-top .bp-bar {
    transition: transform .48s cubic-bezier(.22, 1, .36, 1), opacity .28s ease;
}

.bp-top .bp-cats {
    transition: transform .52s cubic-bezier(.22, 1, .36, 1) .05s, opacity .3s ease .05s;
}

html:not(.bp-mode-grid) body.bp-chrome-off .bp-top {
    transform: translate3d(0, calc(-108% - var(--safe-top)), 0);
    opacity: 0;
    pointer-events: none;
}

html:not(.bp-mode-grid) body.bp-chrome-off .bp-top .bp-bar {
    transform: translate3d(0, -10px, 0);
    opacity: 0;
}

html:not(.bp-mode-grid) body.bp-chrome-off .bp-top .bp-cats {
    transform: translate3d(0, -18px, 0);
    opacity: 0;
}

html:not(.bp-mode-grid) body.bp-chrome-off .bp-hint {
    opacity: 0;
}

.bp-brand,
.bp-cats,
.bp-bar,
.bp-views {
    pointer-events: auto;
}

.bp-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.bp-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.bp-views {
    display: flex;
    flex: 0 0 auto;
    padding: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--bp-line);
    backdrop-filter: blur(16px);
}

.bp-view {
    display: flex;
    align-items: center;
    gap: 5px;
    border: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 6px 10px;
    border-radius: 999px;
    cursor: pointer;
}

.bp-view svg {
    width: 15px;
    height: 15px;
    fill: none;
}

.bp-view.is-active {
    background: #fff;
    color: #111814;
}

.bp-logo {
    width: 58px;
    height: 58px;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.35));
    border-radius: 50%;
}

.bp-brand h1 {
    margin: 0;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
    font-weight: 800;
    line-height: 1;
}

.bp-brand h1 em {
    font-style: normal;
    color: #b6f5cf;
}

.bp-brand span {
    display: block;
    margin-top: 3px;
    font-size: 0.68rem;
    color: var(--bp-muted);
    font-weight: 600;
}

.bp-cats {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.bp-cats::-webkit-scrollbar { display: none; }

.bp-cat {
    flex: 0 0 auto;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 7px 14px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.86);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    backdrop-filter: blur(12px);
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.bp-cat.is-active {
    background: #fff;
    border-color: #fff;
    color: #111814;
}

.bp-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.08) 20%, rgba(0,0,0,.18) 55%, rgba(0,0,0,.78) 100%);
    pointer-events: none;
}

.bp-meta {
    position: absolute;
    inset-inline-start: 14px;
    inset-inline-end: 86px;
    bottom: calc(28px + var(--safe-bottom));
    z-index: 4;
    text-align: start;
}

.bp-chip {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    margin-bottom: 8px;
}

.bp-by {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: baseline;
    margin-bottom: 6px;
}

.bp-by strong {
    font-size: 0.95rem;
}

.bp-by span {
    color: var(--bp-muted);
    font-size: 0.75rem;
    font-weight: 700;
}

.bp-title {
    margin: 0 0 6px;
    font-size: 1.05rem;
    font-weight: 800;
}

.bp-hash {
    color: #fff;
    font-weight: 800;
}

.bp-caption {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.45;
    color: var(--bp-muted);
    max-height: 4.4em;
    overflow: hidden;
}

.bp-caption.is-open {
    max-height: none;
}

.bp-actions {
    position: absolute;
    inset-inline-end: 10px;
    bottom: calc(36px + var(--safe-bottom));
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
}

.bp-btn {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    transition: transform .15s ease, background .15s ease;
}

.bp-btn:active { transform: scale(0.94); }

.bp-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    pointer-events: none;
}

.bp-btn.is-on {
    color: var(--bp-red);
}

.bp-like.is-on {
    animation: bp-like .28s ease;
}

.bp-count {
    font-size: 0.72rem;
    font-weight: 700;
    margin-top: -8px;
}

.bp-play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    z-index: 3;
    pointer-events: none;
    opacity: 0;
    transition: opacity .2s ease;
}

.bp-play.is-visible { opacity: 1; }

.bp-play span {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(10px);
    display: grid;
    place-items: center;
}

.bp-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: var(--safe-bottom);
    height: 3px;
    background: rgba(255,255,255,.18);
    z-index: 6;
}

.bp-progress > i {
    display: block;
    height: 100%;
    width: 0;
    background: #fff;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.65);
}

.bp-toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%) translateY(20px);
    background: rgba(20,20,20,.92);
    color: #fff;
    padding: 10px 16px;
    border-radius: 999px;
    opacity: 0;
    pointer-events: none;
    z-index: 40;
    transition: .25s ease;
}

.bp-toast.is-on {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.bp-share-sheet {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.bp-share-sheet[hidden] { display: none; }

.bp-share-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(0, 0, 0, 0.55);
    cursor: pointer;
}

.bp-share-panel {
    position: relative;
    width: min(420px, 100%);
    padding: 16px 16px calc(16px + var(--safe-bottom));
    border-radius: 22px 22px 0 0;
    background: #1c1c1e;
    color: #fff;
}

.bp-share-title {
    text-align: center;
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 14px;
}

.bp-share-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px 8px;
    margin-bottom: 14px;
}

.bp-share-app {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    border: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 0.68rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

.bp-share-app i {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: #2c2c2e;
    font-style: normal;
}

.bp-share-app svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.bp-share-cancel {
    width: 100%;
    border: 0;
    border-radius: 12px;
    padding: 12px;
    background: #2c2c2e;
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

@media (min-width: 768px) {
    .bp-share-sheet { align-items: center; }
    .bp-share-panel {
        border-radius: 22px;
        padding: 20px;
    }
}

.bp-empty {
    height: 100dvh;
    display: grid;
    place-items: center;
    padding: 24px;
    text-align: center;
    color: var(--bp-muted);
}

@media (min-width: 900px) {
    body.bp-app {
        background: #0a0a0a;
    }
    .bp-shell {
        max-width: 430px;
        margin: 0 auto;
        height: 100dvh;
        box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.08),
            0 30px 80px rgba(0, 0, 0, 0.45),
            0 0 120px rgba(31, 170, 85, 0.12);
        overflow: hidden;
        position: relative;
        background: #000;
    }
    .bp-feed, .bp-reel, .bp-empty {
        height: 100dvh;
    }
    .bp-top {
        width: 430px;
        max-width: 430px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
}

.bp-caption.is-open { user-select: text; }

.bp-reel.is-active .bp-mute.is-muted {
    animation: bp-ring 1.5s ease-out infinite;
}

.bp-fallback {
    display: none;
    position: absolute;
    inset: 0;
    place-items: center;
    z-index: 2;
    padding: 24px;
    text-align: center;
    color: #fff;
    background: rgba(0, 0, 0, .62);
}

.bp-reel.is-broken .bp-fallback { display: grid; }

.bp-heart-pop {
    position: absolute;
    z-index: 8;
    width: 88px;
    height: 88px;
    margin-left: -44px;
    margin-top: -44px;
    pointer-events: none;
    animation: bp-pop .7s ease forwards;
}

.bp-heart-pop svg {
    width: 88px;
    height: 88px;
    fill: #fff;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .4));
}

.bp-hint {
    position: fixed;
    left: 50%;
    bottom: calc(54px + var(--safe-bottom));
    transform: translateX(-50%);
    z-index: 30;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .45);
    backdrop-filter: blur(8px);
    pointer-events: none;
    animation: bp-float 1.4s ease-in-out infinite;
    transition: opacity .3s ease;
}

.bp-hint.is-off { opacity: 0; }

@keyframes bp-like {
    50% { transform: scale(1.18); }
}

@keyframes bp-pop {
    0% { transform: scale(.4); opacity: 0; }
    30% { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(1.35) translateY(-18px); opacity: 0; }
}

@keyframes bp-ring {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .45); }
    100% { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0); }
}

@keyframes bp-float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-6px); }
}

@keyframes bp-spin {
    to { transform: rotate(360deg); }
}

.bp-stage { height: 100%; }

.bp-side,
.bp-side-brand,
.bp-side-nav,
.bp-news-head,
.bp-more,
.bp-excerpt,
.bp-kicker,
.bp-ig-user,
.bp-tabs,
.bp-search,
.bp-ico {
    display: none;
}

html.bp-mode-grid,
html.bp-mode-grid body {
    background: #000;
}

html.bp-mode-grid .bp-hint { display: none; }

html.bp-mode-grid .bp-feed {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: max-content;
    gap: 12px;
    align-content: start;
    align-items: start;
    scroll-snap-type: none;
    padding: var(--bp-header, 156px) 12px calc(24px + var(--safe-bottom));
}

html.bp-mode-grid .bp-empty {
    grid-column: 1 / -1;
    height: auto;
    min-height: 40dvh;
}

.bp-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    overflow: hidden;
    background: #121413;
    color: #fff;
    text-align: start;
    cursor: pointer;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.bp-card-media {
    position: relative;
    display: block;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    background: #0b0c0b;
}

.bp-card video,
.bp-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #0b0c0b;
    pointer-events: none;
}

.bp-card-media img + video {
    opacity: 0;
}

@media (hover: hover) and (min-width: 768px) {
    .bp-card:hover img + video,
    .bp-card:focus-visible img + video {
        opacity: 1;
    }
}

.bp-card-play {
    position: absolute;
    top: 10px;
    inset-inline-start: 10px;
    z-index: 2;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, .55);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
}

.bp-card-play svg {
    width: 13px;
    height: 13px;
    fill: #fff;
    margin-inline-start: 1px;
}

.bp-card-body {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 12px 12px 14px;
    background: #121413;
}

.bp-card-chip {
    font-size: 0.66rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 999px;
    color: #d7ffe8;
    background: rgba(31, 170, 85, 0.16);
    border: 1px solid rgba(31, 170, 85, 0.28);
}

.bp-card-body .bp-title {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.35;
    max-height: 2.7em;
    overflow: hidden;
}

.bp-card-stats {
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, .82);
    font-size: 0.7rem;
    font-weight: 700;
}

.bp-card-stats i {
    display: inline-flex;
    font-style: normal;
}

.bp-card-stats svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

.bp-card-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .7);
}

.bp-card:focus-visible {
    outline: 2px solid var(--bp-green);
    outline-offset: 2px;
}

@media (max-width: 380px) {
    .bp-view span { display: none; }
    .bp-view { padding: 7px; }
}


@media (min-width: 768px) {
    html.bp-mode-grid,
    html.bp-mode-grid body {
        overflow: hidden;
        background: #000;
    }
    html.bp-mode-grid .bp-shell {
        max-width: 1100px;
        margin: 0 auto;
        height: 100dvh;
        display: grid;
        grid-template-columns: 244px minmax(0, 1fr);
        grid-template-rows: 60px minmax(0, 1fr);
        column-gap: 28px;
        background: #000;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        overflow: hidden;
    }
    html.bp-mode-grid .bp-top {
        position: relative;
        top: 0;
        width: auto;
        max-width: none;
        left: auto;
        right: auto;
        transform: none;
        grid-column: 1 / -1;
        height: 60px;
        padding: 0 16px;
        background: #000;
        border-bottom: 1px solid #262626;
        pointer-events: auto;
        display: flex;
        align-items: center;
    }
    html.bp-mode-grid .bp-bar {
        width: 100%;
        margin: 0;
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        gap: 16px;
    }
    html.bp-mode-grid .bp-brand { display: flex; }
    html.bp-mode-grid .bp-logo { width: 36px; height: 36px; }
    html.bp-mode-grid .bp-brand h1 { font-size: 1.05rem; }
    html.bp-mode-grid .bp-brand span { display: none; }
    html.bp-mode-grid .bp-views {
        background: transparent;
        border: 0;
        padding: 0;
        gap: 4px;
        backdrop-filter: none;
        justify-self: end;
    }
    html.bp-mode-grid .bp-view {
        color: #a8a8a8;
        padding: 6px 10px;
        border-radius: 10px;
        font-size: 0.78rem;
        font-weight: 700;
    }
    html.bp-mode-grid .bp-view span { display: inline; }
    html.bp-mode-grid .bp-view svg {
        width: 20px;
        height: 20px;
        fill: none;
    }
    html.bp-mode-grid .bp-view.is-active {
        background: #121212;
        color: #fff;
    }
    html.bp-mode-grid .bp-cats { display: none; }
    html.bp-mode-grid .bp-stage {
        display: flex;
        flex-direction: column;
        min-height: 0;
        padding: 0 8px 0 0;
    }
    html.bp-mode-grid .bp-news-head { display: none; }
    html.bp-mode-grid .bp-search {
        display: flex;
        align-items: center;
        gap: 8px;
        width: min(280px, 36vw);
        max-width: 280px;
        margin: 0 auto;
        padding: 6px 14px;
        border-radius: 999px;
        background: #262626;
        color: #a8a8a8;
        justify-self: center;
    }
    html.bp-mode-grid .bp-search svg {
        width: 16px;
        height: 16px;
        fill: none;
        flex: 0 0 auto;
    }
    html.bp-mode-grid .bp-search input {
        flex: 1;
        min-width: 0;
        border: 0;
        outline: 0;
        background: transparent;
        color: #f5f5f5;
        font: inherit;
        font-size: 0.84rem;
        font-weight: 600;
    }
    html.bp-mode-grid .bp-search input::placeholder {
        color: #a8a8a8;
    }
    html.bp-mode-grid .bp-ig-user,
    html.bp-mode-grid .bp-tabs,
    html.bp-mode-grid .bp-kicker { display: none; }
    html.bp-mode-grid .bp-side {
        display: flex;
        flex-direction: column;
        margin: 0;
        padding: 18px 12px 20px 0;
        border: 0;
        border-inline-end: 1px solid #262626;
        border-radius: 0;
        background: transparent;
        overflow: auto;
    }
    html.bp-mode-grid .bp-side-brand { display: none; }
    html.bp-mode-grid .bp-side-brand img {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        object-fit: cover;
    }
    html.bp-mode-grid .bp-side-nav {
        display: flex;
        flex-direction: column;
        gap: 4px;
        margin-bottom: 18px;
    }
    html.bp-mode-grid .bp-nav {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
        border: 0;
        border-radius: 10px;
        padding: 12px 14px;
        background: transparent;
        color: #f5f5f5;
        font: inherit;
        font-size: 0.98rem;
        font-weight: 600;
        text-align: start;
        cursor: pointer;
    }
    html.bp-mode-grid .bp-nav svg {
        width: 24px;
        height: 24px;
        fill: none;
        flex: 0 0 auto;
    }
    html.bp-mode-grid .bp-nav:hover { background: #121212; }
    html.bp-mode-grid .bp-nav.is-active {
        font-weight: 800;
        background: #121212;
    }
    html.bp-mode-grid .bp-feed {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-auto-flow: row;
        gap: 4px;
        padding: 4px 0 56px;
        height: auto;
        min-height: 0;
        flex: 1;
        overflow: auto;
        scrollbar-width: thin;
        scrollbar-color: #262626 transparent;
    }
    html.bp-mode-grid .bp-feed::-webkit-scrollbar {
        display: block;
        width: 8px;
    }
    html.bp-mode-grid .bp-feed::-webkit-scrollbar-thumb {
        background: #262626;
        border-radius: 999px;
    }
    html.bp-mode-grid .bp-card {
        border: 0;
        border-radius: 0;
        background: #111;
        box-shadow: none;
        transform: none;
    }
    html.bp-mode-grid .bp-card:hover,
    html.bp-mode-grid .bp-card:focus-visible {
        transform: none;
        box-shadow: none;
        outline: none;
    }
    html.bp-mode-grid .bp-card-media {
        aspect-ratio: 1 / 1;
    }
    html.bp-mode-grid .bp-card-play {
        top: 10px;
        inset-inline-start: auto;
        inset-inline-end: 10px;
        transform: none;
        width: 22px;
        height: 22px;
        opacity: 1;
        background: none;
        border: 0;
        filter: drop-shadow(0 1px 2px rgba(0,0,0,.6));
    }
    html.bp-mode-grid .bp-card-play svg {
        width: 16px;
        height: 16px;
    }
    html.bp-mode-grid .bp-card-body {
        position: absolute;
        inset: 0;
        z-index: 2;
        justify-content: center;
        align-items: center;
        gap: 0;
        padding: 12px;
        background: rgba(0, 0, 0, 0.45);
        opacity: 0;
        pointer-events: none;
        transition: opacity .15s ease;
    }
    html.bp-mode-grid .bp-card:hover .bp-card-body,
    html.bp-mode-grid .bp-card:focus-visible .bp-card-body {
        opacity: 1;
    }
    html.bp-mode-grid .bp-card-chip,
    html.bp-mode-grid .bp-excerpt,
    html.bp-mode-grid .bp-card-body .bp-title,
    html.bp-mode-grid .bp-card-dot {
        display: none;
    }
    html.bp-mode-grid .bp-card-stats {
        justify-content: center;
        gap: 22px;
        font-size: 1rem;
        color: #fff;
        font-weight: 800;
    }
    html.bp-mode-grid .bp-stat {
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }
    html.bp-mode-grid .bp-card-stats svg {
        width: 22px;
        height: 22px;
    }
    .bp-side-title {
        margin: 8px 14px 8px;
        color: #737373;
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.08em;
    }
    .bp-side-cats {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }
    .bp-side-cats .bp-cat {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        justify-content: flex-start;
        border: 0;
        border-radius: 10px;
        text-align: start;
        padding: 10px 14px;
        background: transparent;
        color: #a8a8a8;
        font-size: 0.92rem;
        font-weight: 600;
        backdrop-filter: none;
    }
    .bp-side-cats .bp-ico {
        display: inline-flex;
        width: 18px;
        height: 18px;
        flex: 0 0 auto;
    }
    .bp-side-cats .bp-ico svg {
        width: 18px;
        height: 18px;
        fill: currentColor;
    }
    .bp-side-cats .bp-cat:hover {
        background: #121212;
        color: #f5f5f5;
    }
    .bp-side-cats .bp-cat.is-active {
        background: transparent;
        color: #fff;
        font-weight: 800;
        box-shadow: none;
        border: 0;
    }
    .bp-more {
        display: inline-flex;
        grid-column: 1 / -1;
        justify-self: center;
        margin: 24px auto 8px;
        border: 0;
        background: transparent;
        color: #0095f6;
        font: inherit;
        font-size: 0.9rem;
        font-weight: 700;
        cursor: pointer;
        padding: 8px;
    }
    .bp-more:hover { color: #fff; }
    .bp-more[hidden] { display: none; }
    .bp-more:disabled { opacity: .5; cursor: wait; }
}

@media (min-width: 1100px) {
    html.bp-mode-grid .bp-shell {
        max-width: 1180px;
        grid-template-columns: 244px minmax(0, 1fr);
    }
}

@media (min-width: 1440px) {
    html.bp-mode-grid .bp-shell {
        max-width: 1260px;
    }
}
