.akr-modal-open {
    overflow: hidden;
}

.akr-explorer {
    width: 100%;
    direction: rtl;
    font-family: inherit;
}

.akr-tabbed-explorer {
    width: 100%;
    direction: rtl;
    font-family: inherit;
}

.akr-tabbed-explorer__title {
    margin: 0 0 16px;
    color: #202124;
    font-size: 20px;
    line-height: 1.6;
    font-weight: 800;
    text-align: right;
}

.akr-tabbed-explorer__tabs {
    display: flex;
    gap: 10px;
    margin: 0 0 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
}

.akr-tabbed-explorer__tabs::-webkit-scrollbar {
    display: none;
}

.akr-tabbed-explorer__tab {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 8px 18px;
    border: 1px solid #e0e2e6;
    border-radius: 999px;
    background: #fff;
    color: #2f3338;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.akr-tabbed-explorer__tab.is-active {
    border-color: #202124;
    color: #202124;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
}

.akr-tabbed-explorer__panel[hidden] {
    display: none;
}

.akr-reel-slider {
    width: 100%;
    direction: rtl;
    font-family: inherit;
}

.akr-reel-slider__header {
    margin: 0 0 14px;
    text-align: right;
}

.akr-reel-slider__header h2 {
    margin: 0;
    color: #202124;
    font-size: 22px;
    line-height: 1.55;
    font-weight: 900;
}

.akr-reel-slider__header p {
    margin: 4px 0 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.8;
}

.akr-reel-slider__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 42%);
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    padding: 0 0 10px;
    scrollbar-width: none;
}

.akr-reel-slider__track::-webkit-scrollbar {
    display: none;
}

.akr-reel-slider-card {
    position: relative;
    min-width: 0;
    display: block;
    border: 0;
    border-radius: 18px;
    overflow: hidden;
    padding: 0;
    background: #17181c;
    color: #fff;
    font: inherit;
    text-align: right;
    cursor: pointer;
    scroll-snap-align: start;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
}

.akr-reel-slider-card__media {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    background: #202124;
}

.akr-reel-slider-card__media::after {
    content: "";
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0));
}

.akr-reel-slider-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.akr-reel-slider-card strong {
    position: absolute;
    right: 14px;
    bottom: 14px;
    left: 14px;
    z-index: 2;
    display: -webkit-box;
    overflow: hidden;
    color: #fff;
    font-size: 20px;
    line-height: 1.45;
    font-weight: 900;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.akr-reel-slider-card__badge {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 34px;
    padding: 6px 9px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    color: #202124;
    font-size: 13px;
    font-weight: 800;
    direction: ltr;
}

.akr-reel-slider-card__badge svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.akr-reel-slider-card__badge--views {
    top: 12px;
    left: 12px;
}

.akr-reel-slider-card__badge--type {
    top: 12px;
    right: 12px;
    width: 34px;
    justify-content: center;
    padding-inline: 0;
}

.akr-reel-slider-card__badge--type svg {
    fill: none;
    stroke: currentColor;
}

.akr-reel-slider-card__badge--type svg path:not([stroke]) {
    fill: currentColor;
    stroke: none;
}

.akr-explorer__grid {
    display: grid;
    grid-template-columns: repeat(var(--akr-columns, 3), minmax(0, 1fr));
    gap: 8px;
    box-sizing: border-box;
    padding: 4px;
}

.akr-explorer-card {
    position: relative;
    display: grid;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #17181c;
    color: #fff;
    text-align: right;
    font: inherit;
    cursor: pointer;
}

.akr-explorer-card__media {
    position: relative;
    display: block;
    aspect-ratio: 9 / 15;
    background: #202124;
}

.akr-explorer-card__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.akr-explorer-card__media::after {
    content: "";
    position: absolute;
    inset: 0 0 58%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.54), rgba(0, 0, 0, 0));
}

.akr-explorer-card__fallback {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: rgba(255, 255, 255, 0.72);
    font-size: 18px;
    font-weight: 700;
}

.akr-explorer-card__stats {
    position: absolute;
    left: 8px;
    top: 8px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 0;
    color: #fff;
    direction: ltr;
    font-size: 14px;
    font-weight: 700;
    text-shadow: 0 1px 7px rgba(0, 0, 0, 0.65);
}

.akr-explorer-card__stats span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.akr-explorer-card__stats svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.akr-explorer-card__play {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.28);
    color: #fff;
    filter: drop-shadow(0 1px 5px rgba(0, 0, 0, 0.5));
}

.akr-explorer-card__play svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
    transform: translateX(1px);
}

.akr-explorer-card__play svg [fill="none"] {
    fill: none;
}

.akr-explorer-card__play svg [stroke] {
    stroke: currentColor;
}

.akr-explorer-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(0, 0, 0, 0.86);
}

.akr-explorer-modal[hidden] {
    display: none;
}

.akr-explorer-modal__close {
    position: fixed;
    top: 18px;
    left: 18px;
    z-index: 1000000;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    line-height: 0;
    cursor: pointer;
}

.akr-explorer-modal__close svg {
    display: block;
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.akr-reels {
    position: relative;
    width: min(100%, 520px);
    height: min(820px, 88vh);
    margin: 0 auto;
    overflow: hidden;
    direction: rtl;
    background: #0f1014;
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
    font-family: inherit;
    touch-action: pan-x;
}

.akr-reels__track {
    position: relative;
    width: 100%;
    height: 100%;
}

.akr-reels--modal {
    height: min(820px, 94vh);
}

.akr-reel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transition: transform 260ms ease;
    overflow: hidden;
    background: #111;
}

.akr-reel__media,
.akr-reel__video,
.akr-slide-show {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.akr-reel__video {
    object-fit: cover;
    background: #111;
}

.akr-slide-show {
    overflow: hidden;
    background: #111;
}

.akr-slide-show__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.025);
    transition: opacity 420ms ease, transform 2400ms ease;
}

.akr-slide-show__image.is-active {
    opacity: 1;
    transform: scale(1);
}

.akr-slide-dots {
    position: absolute;
    top: 12px;
    right: 12px;
    left: 12px;
    z-index: 4;
    display: flex;
    gap: 5px;
    direction: ltr;
    pointer-events: none;
}

.akr-slide-dot {
    display: block;
    flex: 1 1 0;
    height: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.38);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.24);
}

.akr-slide-dot.is-active {
    background: #fff;
}

.akr-slide-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.36);
    color: #fff;
    cursor: pointer;
    transform: translateY(-50%);
}

.akr-slide-arrow--prev {
    right: 12px;
}

.akr-slide-arrow--next {
    left: 12px;
}

.akr-slide-arrow svg {
    display: block;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.akr-reel__audio {
    display: none;
}

.akr-media-controls {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 7;
    display: grid;
    justify-items: center;
    gap: 16px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 180ms ease, visibility 180ms ease;
}

.akr-reel.controls-visible .akr-media-controls {
    opacity: 1;
    visibility: visible;
}

.akr-media-control {
    display: grid;
    place-items: center;
    border: 0;
    padding: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.48);
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.26);
    cursor: pointer;
    pointer-events: auto;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: scale(0.94);
    transition: transform 180ms ease, background-color 180ms ease;
}

.akr-reel.controls-visible .akr-media-control {
    transform: scale(1);
}

.akr-media-control--sound {
    width: 46px;
    height: 46px;
}

.akr-media-control--play {
    width: 72px;
    height: 72px;
}

.akr-control-icon {
    display: grid;
    place-items: center;
}

.akr-control-icon svg {
    display: block;
    fill: currentColor;
}

.akr-control-icon--sound-on svg,
.akr-control-icon--sound-off svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.akr-control-icon--play svg,
.akr-control-icon--pause svg {
    width: 34px;
    height: 34px;
}

.akr-reel.is-playing .akr-control-icon--play,
.akr-reel:not(.is-playing) .akr-control-icon--pause,
.akr-reel.is-muted .akr-control-icon--sound-on,
.akr-reel:not(.is-muted) .akr-control-icon--sound-off {
    display: none;
}

.akr-media-control--play .akr-control-icon--play {
    transform: translateX(2px);
}

.akr-progress {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 8;
    height: 18px;
    display: flex;
    align-items: flex-end;
    padding: 0;
    cursor: pointer;
    direction: ltr;
    touch-action: none;
}

.akr-progress__track {
    position: relative;
    display: block;
    width: 100%;
    height: 3px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.32);
}

.akr-progress__fill {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 0;
    background: #fff;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.45);
}

.akr-progress:focus-visible .akr-progress__track {
    height: 5px;
    outline: 2px solid rgba(255, 255, 255, 0.85);
    outline-offset: -2px;
}

.akr-reel__overlay {
    position: absolute;
    inset: auto 0 0;
    min-height: 42%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    padding: 88px 18px 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0));
    pointer-events: none;
}

.akr-reel__content,
.akr-actions,
.akr-link {
    pointer-events: auto;
}

.akr-reel__content {
    min-width: 0;
}

.akr-reel__content h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 19px;
    line-height: 1.5;
}

.akr-caption {
    max-height: 136px;
    overflow: auto;
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
    line-height: 1.9;
}

.akr-caption p {
    margin: 0 0 8px;
}

.akr-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    margin-top: 12px;
    padding: 7px 14px;
    border-radius: 8px;
    background: #f4c542;
    color: #161616;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.akr-actions {
    display: grid;
    gap: 14px;
    flex: 0 0 auto;
}

.akr-action {
    display: grid;
    gap: 5px;
    justify-items: center;
    border: 0;
    padding: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    font: inherit;
}

.akr-action__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.16);
    line-height: 1;
}

.akr-action.is-liked .akr-action__icon {
    color: #ff476f;
}

.akr-action__icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.akr-action.is-liked .akr-action__icon svg {
    fill: currentColor;
}

.akr-action__count {
    min-width: 44px;
    font-size: 13px;
    text-align: center;
}

.akr-nav {
    position: absolute;
    right: 50%;
    z-index: 5;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.36);
    color: #fff;
    line-height: 0;
    cursor: pointer;
    transform: translateX(50%);
}

.akr-nav svg {
    display: block;
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.akr-nav--prev {
    top: 12px;
}

.akr-nav--next {
    bottom: 12px;
}

.akr-comments {
    position: absolute;
    inset: auto 0 0;
    z-index: 6;
    max-height: 72%;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 12px;
    padding: 16px;
    border-radius: 8px 8px 0 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(18, 20, 26, 0.72);
    color: #fff;
    box-shadow: 0 -18px 55px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(18px) saturate(135%);
    -webkit-backdrop-filter: blur(18px) saturate(135%);
    transform: translateY(102%);
    transition: transform 220ms ease;
}

.akr-reel.comments-open .akr-comments {
    transform: translateY(0);
}

.akr-comments__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.akr-comments__header button {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    line-height: 0;
    cursor: pointer;
}

.akr-comments__header button svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.akr-comments__list {
    overflow: auto;
    display: grid;
    gap: 10px;
}

.akr-comment {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    background: rgba(255, 255, 255, 0.12);
}

.akr-comment strong {
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
}

.akr-comment p,
.akr-comments__empty,
.akr-form-message {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
}

.akr-comment-form {
    display: grid;
    gap: 8px;
}

.akr-comment-form input,
.akr-comment-form textarea {
    width: 100%;
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    padding: 9px 10px;
    font: inherit;
    box-sizing: border-box;
}

.akr-comment-form input::placeholder,
.akr-comment-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.68);
}

.akr-comment-form button {
    min-height: 40px;
    border: 0;
    border-radius: 8px;
    background: #257a5c;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.akr-empty {
    display: grid;
    place-items: center;
    min-height: 260px;
    padding: 24px;
    color: #fff;
    text-align: center;
}

@media (max-width: 640px) {
    .akr-reel-slider__track {
        grid-auto-columns: minmax(210px, 74%);
        gap: 10px;
    }

    .akr-reel-slider-card {
        border-radius: 14px;
    }

    .akr-reel-slider-card strong {
        font-size: 18px;
    }

    .akr-explorer__grid {
        gap: 6px;
        padding: 4px;
    }

    .akr-explorer-modal {
        padding: 0;
    }

    .akr-explorer-modal__close {
        top: 10px;
        left: 10px;
    }

    .akr-reels {
        width: 100%;
        height: 86vh;
        border-radius: 0;
    }

    .akr-reel__overlay {
        gap: 12px;
        padding: 80px 14px 22px;
    }

    .akr-action__icon {
        width: 40px;
        height: 40px;
    }
}
