:root {
    --bg: #ffffff;
    --text: #101114;
    --muted: rgba(16, 17, 20, .62);
    --faint: rgba(16, 17, 20, .42);
    --line: rgba(16, 17, 20, .08);
    --surface: #f4f6f8;
    --surface2: #fbfcfe;
    --accent: #212529;
    --accentHover: #2b3035;
    --accentText: #ffffff;
    --okSoft: rgba(47, 180, 90, .14);
    --okText: rgba(16, 120, 55, .95);
    --star: #ff9500;

    --r: 22px;
    --shadow: 0 18px 50px rgba(16, 17, 20, .10);
    --shadow2: 0 10px 28px rgba(16, 17, 20, .10);

    /* ключ к “пустоте справа” */
    --mx-content: 1040px;
    --mx-pad: 20px;
    --mx-avatar: 224px;
    --mx-avatar-md: 182px;
    --mx-avatar-sm: 156px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: transparent;
    color: var(--text);
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
}

.mxDLXWrap {
    width: 100%;
    max-width: 1280px;
    margin: 18px auto;
    padding: 0 14px;
}

/* Внутренний контейнер: сужает контент, убирает “простыню” */
.mxDLXContainer {
    width: 100%;
    max-width: var(--mx-content);
    margin: 0 auto;
    padding: 0 var(--mx-pad);
}

/* Карточка: прозрачная (как у тебя в фиксе) */
.mxDLXCard {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
}

.mxDLXTopBar,
.mxDLXHero,
.mxDLXLinks,
.mxDLXStats,
.mxDLXSection {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.mxDLXDivider {
    height: 1px;
    background: var(--line);
    margin: 0;
    border: 0;
}

/* Top bar */
.mxDLXTopBar {
    padding: 14px 0;
    display: flex;
    justify-content: flex-end;
}

.mxDLXTopBar__right {
    display: flex;
    justify-content: flex-end;
}

/* Pills */
.mxDLXPill {
    border-radius: 999px;
    padding: 10px 14px;
    border: 1px solid rgba(16, 17, 20, .12);
    background: #fff;
    color: rgba(16, 17, 20, .92);
    cursor: pointer;
    transition: transform 140ms ease, background 160ms ease, border-color 160ms ease;
    font-size: 13px;
    font-weight: 750;
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    user-select: none;
}

.mxDLXPill:hover {
    transform: translateY(-1px);
    border-color: rgba(16, 17, 20, .18);
}

.mxDLXPill:active {
    transform: translateY(0);
}

.mxDLXPill--ghost {
    background: var(--surface);
    border-color: rgba(16, 17, 20, .10);
    color: rgba(16, 17, 20, .88);
}

.mxDLXPill--primary {
    background: var(--accent);
    border-color: transparent;
    color: var(--accentText);
}

.mxDLXPill--primary:hover {
    background: var(--accentHover);
}

.mxDLXPill--sm {
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 850;
}

/* HERO */
.mxDLXHero {
    padding: 16px 0 14px;
}

/* Важно: grid внутри container, не растягиваемся на всю ширину */
.mxDLXHero__grid {
    display: grid;
    grid-template-columns: var(--mx-avatar) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.mxDLXHero__icon {
    width: var(--mx-avatar);
    height: var(--mx-avatar);
    border-radius: 30px;
    background: #fff;
    box-shadow: var(--shadow2);
    overflow: hidden;
    border: 1px solid rgba(16, 17, 20, .10);
}

.mxDLXHero__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 14px;
}

.mxDLXHero__head {
    min-width: 0;
}

.mxDLXHero__row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.mxDLXHero__title {
    margin: 0;
    font-size: 28px;
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: -0.01em;
}

/* Описание + показать полностью */
.mxDLXDesc {
    margin-top: 10px;
}

.mxDLXHero__desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(16, 17, 20, .92);

    /* читаемая ширина, но без ощущения пустоты из-за контейнера */
    max-width: 78ch;

    overflow-wrap: anywhere;
    word-break: break-word;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: var(--mx-desc-lines, 5);
    overflow: hidden;
}

.mxDLXHero__desc.is-expanded {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}

.mxDLXDescToggle {
    margin-top: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 13px;
    font-weight: 900;
    color: rgba(16, 17, 20, .84);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.mxDLXDescToggle:hover {
    color: rgba(16, 17, 20, .95);
}

.mxDLXHidden {
    display: none !important;
}

/* LINKS LIST */
.mxDLXLinks {
    padding: 14px 0 6px;
}

.mxDLXLinks__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.mxDLXLinks__h {
    margin: 0;
    font-size: 16px;
    font-weight: 950;
}

.mxDLXLinks__hint {
    font-size: 12px;
    color: var(--muted);
    user-select: none;
}

.mxDLXLinkList {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.mxDLXLinkRow {
    display: grid;
    grid-template-columns:auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 12px 12px;
    border: 1px solid rgba(16, 17, 20, .10);
    background: linear-gradient(180deg, #fff, var(--surface2));
    border-radius: 16px;
}

.mxDLXLinkTag {
    font-size: 12px;
    font-weight: 900;
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid rgba(16, 17, 20, .10);
    background: var(--surface);
    color: rgba(16, 17, 20, .85);
    white-space: nowrap;
}

.mxDLXLinkTag--clear {
    background: rgba(33, 37, 41, .08);
    border-color: rgba(33, 37, 41, .12);
}

.mxDLXLinkTag--tor {
    background: rgba(120, 70, 255, .10);
    border-color: rgba(120, 70, 255, .18);
    color: rgba(80, 40, 200, .95);
}

.mxDLXLinkMain {
    min-width: 0;
}

.mxDLXLinkLabel {
    font-size: 13px;
    font-weight: 950;
    color: rgba(16, 17, 20, .92);
    line-height: 1.2;
}

.mxDLXLinkUrl {
    margin-top: 3px;
    font-size: 12px;
    color: var(--muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.mxDLXLinkActions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: nowrap;
}

.mxDLXIconBtn {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    border: 1px solid rgba(16, 17, 20, .12);
    background: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 140ms ease, border-color 160ms ease, background 160ms ease;
    text-decoration: none;
    color: rgba(16, 17, 20, .88);
}

.mxDLXIconBtn:hover {
    transform: translateY(-1px);
    border-color: rgba(16, 17, 20, .18);
    background: var(--surface);
}

.mxDLXIconBtn:active {
    transform: translateY(0);
}

.mxDLXIcon {
    width: 16px;
    height: 16px;
}

/* STATS */
.mxDLXStats {
    padding: 6px 0 0;
}

.mxDLXStats__grid {
    display: grid;
    grid-template-columns:repeat(6, minmax(0, 1fr));
}

.mxDLXStat {
    padding: 14px 12px;
    position: relative;
    min-width: 0;
}

.mxDLXStat:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 12px;
    bottom: 12px;
    right: 0;
    width: 1px;
    background: rgba(16, 17, 20, .07);
}

.mxDLXStat__k {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: rgba(16, 17, 20, .42);
    margin-bottom: 8px;
}

.mxDLXStat__vBig {
    font-size: 22px;
    line-height: 1.05;
    font-weight: 950;
}

.mxDLXStat__v {
    font-size: 15px;
    line-height: 1.1;
    font-weight: 900;
}

.mxDLXStat__s {
    margin-top: 6px;
    font-size: 12px;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mxDLXStars {
    margin-top: 6px;
    font-size: 12px;
    letter-spacing: .12em;
    color: var(--star);
}

.mxDLXStars--big {
    font-size: 14px;
}

/* Sections */
.mxDLXSection {
    padding: 18px 0;
}

.mxDLXSection__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.mxDLXSection__h {
    margin: 0;
    font-size: 18px;
    font-weight: 950;
    letter-spacing: -0.01em;
}

.mxDLXSection__hint {
    font-size: 12px;
    color: var(--muted);
    user-select: none;
}

/* Screenshots rail */
.mxDLXRail {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 2px 2px 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}

.mxDLXRail::-webkit-scrollbar {
    height: 10px;
}

.mxDLXRail::-webkit-scrollbar-thumb {
    background: rgba(16, 17, 20, .18);
    border-radius: 999px;
}

.mxDLXRail::-webkit-scrollbar-track {
    background: transparent;
}

.mxDLXShot {
    scroll-snap-align: start;
    flex: 0 0 min(260px, 76vw);
    aspect-ratio: 1/1;
    border-radius: 18px;
    border: 1px solid rgba(16, 17, 20, .10);
    background: var(--surface);
    overflow: hidden;
    text-decoration: none;
    display: block;
    position: relative;
}

.mxDLXShot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 200ms ease;
}

.mxDLXShot:hover img {
    transform: scale(1.03);
}

/* WHAT'S NEW */
.mxDLXUpdates {
    display: grid;
    gap: 12px;
}

.mxDLXUpdate {
    border: 1px solid rgba(16, 17, 20, .10);
    border-radius: 18px;
    background: linear-gradient(180deg, #fff, var(--surface2));
    padding: 14px;
}

.mxDLXUpdate__top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 8px;
}

.mxDLXUpdate__title {
    font-weight: 950;
    font-size: 14px;
    letter-spacing: -0.01em;
}

.mxDLXUpdate__meta {
    font-size: 12px;
    color: var(--muted);
    white-space: nowrap;
}

.mxDLXUl {
    margin: 0;
    padding-left: 18px;
    color: rgba(16, 17, 20, .88);
    line-height: 1.5;
}

/* Reviews controls */
.mxDLXReviewsControls {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.mxDLXSeg {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    border-radius: 999px;
    border: 1px solid rgba(16, 17, 20, .10);
    background: var(--surface);
}

.mxDLXSeg__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    color: rgba(16, 17, 20, .70);
    text-decoration: none;
    border: 1px solid transparent;
}

.mxDLXSeg__link.is-active {
    background: #fff;
    border: 1px solid rgba(16, 17, 20, .14);
    color: rgba(16, 17, 20, .92);
}

.mxDLXSelect {
    border: 1px solid rgba(16, 17, 20, .10);
    background: #fff;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 13px;
    color: rgba(16, 17, 20, .92);
}

.mxDLXSortForm {
    display: flex;
    gap: 10px;
    align-items: center;
}

.mxDLXRatingGrid {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 14px;
    margin-bottom: 12px;
}

.mxDLXRatingBox, .mxDLXDist {
    border: 1px solid rgba(16, 17, 20, .10);
    border-radius: 18px;
    background: #fff;
    padding: 14px;
}

.mxDLXRatingBox__num {
    font-size: 44px;
    font-weight: 980;
    letter-spacing: -0.02em;
    line-height: 1;
}

.mxDLXRatingBox__sub, .mxDLXRatingBox__count {
    font-size: 12px;
    color: var(--muted);
}

.mxDLXRatingBox__count {
    margin-top: 8px;
}

.mxDLXDist__row {
    display: grid;
    grid-template-columns:14px 1fr;
    gap: 10px;
    align-items: center;
    margin: 8px 0;
    font-size: 12px;
    color: var(--muted);
}

.mxDLXDist__row b {
    height: 8px;
    border-radius: 999px;
    background: rgba(16, 17, 20, .10);
    overflow: hidden;
    display: block;
}

.mxDLXDist__row i {
    display: block;
    height: 100%;
    width: var(--mx-w, 0%);
    border-radius: 999px;
    background: rgba(16, 17, 20, .42);
}

.mxDLXReviewsMeta {
    margin: 10px 0 12px;
    font-size: 12px;
    color: var(--muted);
}

/* Reviews list */
.mxDLXReviewsList {
    display: grid;
    gap: 10px;
}

.mxDLXReview {
    border: 1px solid rgba(16, 17, 20, .10);
    border-radius: 18px;
    background: #fff;
    padding: 14px;
}

.mxDLXReview__top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 8px;
}

.mxDLXReview__title {
    font-size: 14px;
    font-weight: 950;
    letter-spacing: -0.01em;
}

.mxDLXReview__meta {
    font-size: 12px;
    color: var(--muted);
    white-space: nowrap;
}

.mxDLXReview__stars {
    margin: 2px 0 8px;
    font-size: 12px;
    letter-spacing: .12em;
    color: var(--star);
}

.mxDLXReview__text {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(16, 17, 20, .92);
}

.mxDLXReplyActionRow {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 8px;
}

/* Admin replies */
.mxDLXReplies {
    margin-top: 10px;
    display: grid;
    gap: 8px;
}

.mxDLXReply {
    border: 1px solid rgba(16, 17, 20, .10);
    background: var(--surface);
    border-radius: 14px;
    padding: 12px;
}

.mxDLXReply__top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}

.mxDLXReply__who {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.mxDLXReply__badge {
    font-size: 11px;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(33, 37, 41, .10);
    border: 1px solid rgba(33, 37, 41, .12);
    color: rgba(33, 37, 41, .88);
    white-space: nowrap;
}

.mxDLXReply__author {
    font-size: 12px;
    font-weight: 900;
    color: rgba(16, 17, 20, .86);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mxDLXReply__date {
    font-size: 12px;
    color: var(--muted);
    white-space: nowrap;
}

.mxDLXReply__text {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: rgba(16, 17, 20, .90);
}

/* Reactions */
.mxDLXReview__bottom {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.mxDLXReacts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.mxDLXReact {
    border: 1px solid rgba(16, 17, 20, .10);
    background: var(--surface);
    border-radius: 999px;
    padding: 8px 10px;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    font-size: 13px;
    color: rgba(16, 17, 20, .88);
    text-decoration: none;
    transition: transform 140ms ease, border-color 160ms ease, background 160ms ease;
    user-select: none;
}

.mxDLXReact:hover {
    transform: translateY(-1px);
    border-color: rgba(16, 17, 20, .16);
    background: #fff;
}

.mxDLXReact:active {
    transform: translateY(0);
}

.mxDLXReact__emoji {
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
    font-size: 16px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

.mxDLXReact img.emoji {
    width: 18px;
    height: 18px;
    display: block;
}

.mxDLXReact__count {
    font-weight: 900;
}

/* Pagination */
.mxDLXPagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.mxDLXPageLink {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(16, 17, 20, .12);
    background: #fff;
    color: rgba(16, 17, 20, .92);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 900;
    transition: transform 140ms ease, border-color 160ms ease, background 160ms ease;
}

.mxDLXPageLink:hover {
    transform: translateY(-1px);
    border-color: rgba(16, 17, 20, .18);
    background: var(--surface);
}

.mxDLXPageLink.is-active {
    background: var(--accent);
    border-color: transparent;
    color: var(--accentText);
}

.mxDLXPageEllipsis {
    color: var(--muted);
    font-weight: 900;
    padding: 0 4px;
}

/* Inputs */
.mxDLXLabel {
    font-size: 12px;
    color: rgba(16, 17, 20, .78);
    font-weight: 900;
}

.mxDLXInput, .mxDLXTextarea {
    width: 100%;
    border: 1px solid rgba(16, 17, 20, .10);
    border-radius: 12px;
    padding: 11px 12px;
    font-size: 14px;
    background: #fff;
    color: rgba(16, 17, 20, .92);
}

.mxDLXTextarea {
    min-height: 120px;
    resize: vertical;
}

/* Stars input */
.mxDLXStarsInput {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 6px;
}

.mxDLXStarsInput input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.mxDLXStarsInput label {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(16, 17, 20, .10);
    background: var(--surface);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(255, 149, 0, .45);
    font-size: 16px;
    transition: transform 140ms ease, background 160ms ease, border-color 160ms ease;
    user-select: none;
}

.mxDLXStarsInput label:hover {
    transform: translateY(-1px);
    background: #fff;
    border-color: rgba(255, 149, 0, .30);
}

.mxDLXStarsInput input:checked ~ label,
.mxDLXStarsInput label:hover,
.mxDLXStarsInput label:hover ~ label {
    color: rgba(255, 149, 0, 1);
    background: #fff;
    border-color: rgba(255, 149, 0, .30);
}

/* Reply form under review */
.mxDLXReplyFormWrap {
    margin-top: 10px;
    border: 1px solid rgba(16, 17, 20, .10);
    background: linear-gradient(180deg, #fff, var(--surface2));
    border-radius: 16px;
    padding: 12px;
}

.mxDLXReplyFormActions {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    margin-top: 10px;
}

/* Toast */
.mxDLXToast {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%) translateY(12px);
    background: rgba(16, 17, 20, .92);
    color: #fff;
    padding: 10px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 850;
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
    z-index: 1200;
    box-shadow: 0 10px 28px rgba(16, 17, 20, .22);
}

.mxDLXToast.is-on {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Modal base */
.mxDLXModal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease;
}

.mxDLXModal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.mxDLXModal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(16, 17, 20, .46);
    backdrop-filter: blur(4px);
}

/* Lightbox dialog */
.mxDLXLightboxDialog {
    position: relative;
    width: min(980px, 100%);
    background: #0f1115;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .10);
}

.mxDLXLightboxImg {
    width: 100%;
    height: auto;
    display: block;
    max-height: 82vh;
    object-fit: contain;
    background: #0f1115;
}

.mxDLXLightboxBar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, .06);
    color: rgba(255, 255, 255, .86);
    font-size: 12px;
}

.mxDLXLightboxClose {
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .92);
    border-radius: 12px;
    padding: 8px 10px;
    cursor: pointer;
    font-weight: 900;
}

/* Review modal dialog */
.mxDLXReviewDialog {
    position: relative;
    width: min(720px, 100%);
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 60px rgba(16, 17, 20, .22);
    border: 1px solid rgba(16, 17, 20, .10);
}

.mxDLXReviewDialog__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    background: linear-gradient(180deg, var(--surface2), #fff);
    border-bottom: 1px solid rgba(16, 17, 20, .08);
}

.mxDLXReviewDialog__title {
    font-size: 14px;
    font-weight: 950;
    letter-spacing: -0.01em;
}

.mxDLXReviewDialog__close {
    border: 1px solid rgba(16, 17, 20, .12);
    background: #fff;
    color: rgba(16, 17, 20, .92);
    border-radius: 12px;
    padding: 8px 10px;
    cursor: pointer;
    font-weight: 900;
}

.mxDLXReviewDialog__body {
    padding: 14px;
}

.mxDLXComposerGrid {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

.mxDLXField {
    display: grid;
    gap: 6px;
}

.mxDLXField--full {
    grid-column: 1 / -1;
}

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

.mxDLXComposerActions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

/* Responsive */
@media (max-width: 920px) {
    :root {
        --mx-pad: 16px;
    }

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

    .mxDLXStat:nth-child(3)::after {
        display: none;
    }

    .mxDLXRatingGrid {
        grid-template-columns:1fr;
    }

    .mxDLXHero__grid {
        grid-template-columns: var(--mx-avatar-md) minmax(0, 1fr);
    }

    .mxDLXHero__icon {
        width: var(--mx-avatar-md);
        height: var(--mx-avatar-md);
        border-radius: 26px;
    }

    .mxDLXHero__icon img {
        padding: 12px;
    }
}

@media (max-width: 680px) {
    .mxDLXHero__grid {
        grid-template-columns:1fr;
    }

    .mxDLXHero__icon {
        width: var(--mx-avatar-sm);
        height: var(--mx-avatar-sm);
        border-radius: 24px;
    }

    .mxDLXHero__icon img {
        padding: 10px;
    }

    .mxDLXLinkRow {
        grid-template-columns:1fr;
        gap: 10px;
    }

    .mxDLXLinkActions {
        justify-content: flex-start;
    }

    .mxDLXComposerGrid {
        grid-template-columns:1fr;
    }
}

/* TOPBAR: значки слева + кнопка справа */
.mxDLXTopBar {
    padding: 14px 0 !important;
}

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

.mxDLXTopBar__left {
    display: flex;
    align-items: center;
    min-width: 0;
}

.mxDLXTopBar__right {
    display: flex;
    align-items: center;
    margin-left: auto;
}

/* Чипы-значки */
.mxDLXBadges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.mxDLXBadgeChip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 999px;
    border: 1px solid rgba(16, 17, 20, .10);
    background: rgba(244, 246, 248, .95);
    color: rgba(16, 17, 20, .92);
    font-size: 13px;
    font-weight: 950;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(16, 17, 20, .06);
    user-select: none;
    white-space: nowrap;
}

.mxDLXBadgeIcon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
}

/* легкие оттенки, чтобы чипы отличались */
.mxDLXBadgeChip--top {
    background: rgba(255, 149, 0, .10);
    border-color: rgba(255, 149, 0, .22);
}

.mxDLXBadgeChip--people {
    background: rgba(47, 180, 90, .10);
    border-color: rgba(47, 180, 90, .18);
}

.mxDLXBadgeChip--cards {
    background: rgba(120, 70, 255, .10);
    border-color: rgba(120, 70, 255, .18);
}

/* мобилка: чтобы не разваливалось */
@media (max-width: 520px) {
    .mxDLXTopBar__inner {
        align-items: flex-start;
    }

    .mxDLXTopBar__right {
        width: 100%;
        justify-content: flex-end;
    }
}

/* чтобы длинные слова в статах не вылезали в соседнюю колонку */
.mxDLXStat__v,
.mxDLXStat__vBig {
    max-width: 100%;
    overflow-wrap: anywhere; /* ломаем длинные слова */
    word-break: break-word; /* запасной вариант */
    hyphens: auto; /* красивее для RU, если lang="ru" */
}


:root {

    --mx-content: 1200px;
    --mx-pad: 24px;

    --mx-avatar: 260px;
    --mx-avatar-md: 210px;
    --mx-avatar-sm: 176px;

    --line: rgba(16, 17, 20, .10);
    --shadow2: 0 14px 34px rgba(16, 17, 20, .14);
    --shadow: 0 22px 60px rgba(16, 17, 20, .12);
}

.mxDLXWrap {
    max-width: 1480px;
    padding: 0 18px;
}

.mxDLXHero__grid {
    gap: 20px;
}

.mxDLXHero__title {
    font-size: clamp(30px, 2.2vw, 38px);
    line-height: 1.08;
}

.mxDLXHero__desc {
    font-size: 15px;
    line-height: 1.6;
    max-width: 92ch;
}

.mxDLXPill {
    padding: 11px 16px;
    font-size: 14px;
}

.mxDLXLinkRow {
    padding: 14px 14px;
    border-radius: 18px;
}

.mxDLXIconBtn {
    width: 36px;
    height: 36px;
    border-radius: 12px;
}


.mxDLXStat {
    padding: 16px 14px;
}

.mxDLXStat__vBig {
    font-size: 24px;
}

.mxDLXStat__v {
    font-size: 16px;
}


.mxDLXReview__title {
    font-size: 15px;
}

.mxDLXReview__meta {
    font-size: 13px;
}

.mxDLXReview__text {
    font-size: 15px;
}

.mxDLXReview__stars {
    font-size: 13px;
}

.mxDLXReply__author {
    font-size: 13px;
}

.mxDLXReply__date {
    font-size: 13px;
}

.mxDLXReply__text {
    font-size: 14px;
}

.mxDLXReviewsMeta {
    font-size: 13px;
}

.mxDLXReact {
    font-size: 14px;
}


.mxDLXHero__grid {
    align-items: stretch;
}

.mxDLXHero__head {
    min-height: var(--mx-avatar);
    display: flex;
    flex-direction: column;


    justify-content: center;
}


@media (max-width: 680px) {
    .mxDLXHero__head {
        min-height: auto;
        justify-content: flex-start;
    }
}


.mxDLXBadges {
    gap: 10px;
}

.mxDLXBadgeChip {
    --chip-accent: #212529;

    height: 34px;
    padding: 0 12px;
    border-radius: 999px;

    background: #f6f7f9;
    border: 1px solid rgba(16, 17, 20, .08);

    /* мягкая “приподнятость” */
    box-shadow: 0 10px 20px rgba(16, 17, 20, .08),
    0 1px 0 rgba(255, 255, 255, .9) inset;

    font-size: 12px;
    font-weight: 850;
    color: rgba(16, 17, 20, .86);

    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mxDLXBadgeChip::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--chip-accent);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .85) inset;
}

.mxDLXBadgeChip--top {
    --chip-accent: #ff9500;
}

.mxDLXBadgeChip--people {
    --chip-accent: #2fb45a;
}

.mxDLXBadgeChip--cards {
    --chip-accent: #7846ff;
}

.mxDLXBadgeChip:hover {
    transform: translateY(-1px);
}
