/**
 * DropX Forum — PWA mobile presentation layer
 * Table-like desktop grids become full-width cards on the installed mobile app.
 * All controls retain their original forms, names, data attributes and actions.
 */

html body .dx-forum-shell .dx-forum-label-short {
    display: none;
}

html.dx-pwa-standalone body .dx-forum-shell {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 8px 28px;
    box-sizing: border-box;
}

@media (max-width: 700px) {
    /* Full-width shell: no desktop table max-width or nested side gutters. */
    html.dx-pwa-standalone body .dx-forum-shell,
    html.dx-pwa-standalone body .dx-forum-shell > *,
    html.dx-pwa-standalone body .dx-forum-index-layout,
    html.dx-pwa-standalone body .dx-forum-index-main,
    html.dx-pwa-standalone body .dx-forum-index-groups,
    html.dx-pwa-standalone body .dx-forum-section-layout,
    html.dx-pwa-standalone body .dx-forum-section-main,
    html.dx-pwa-standalone body .dx-forum-topic-page-layout,
    html.dx-pwa-standalone body .dx-forum-topic-main,
    html.dx-pwa-standalone body .dx-forum-discussion {
        width: 100%;
        max-width: none;
        min-width: 0;
        box-sizing: border-box;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-community-banner {
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 8px 10px;
        min-height: 0;
        padding: 11px 12px;
        margin-bottom: 10px;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-community-logo {
        width: 42px;
        height: 42px;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-community-copy h1 {
        font-size: 17px;
        line-height: 1.15;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-community-copy p {
        font-size: 10px;
        line-height: 1.35;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-masthead-actions {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        gap: 7px;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-masthead-actions > * {
        min-width: 0;
        width: 100%;
    }

    /* Forum index: remove the table rhythm; each section becomes a compact card. */
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-index-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-index-table-head {
        display: none;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-index-table {
        display: grid;
        gap: 7px;
        width: 100%;
        padding: 7px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        overflow: visible;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-index-row-wrap,
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-index-table.has-section-actions .dx-forum-index-row-wrap,
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-index-table:not(.has-section-actions) .dx-forum-index-row-wrap {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px 6px;
        min-height: 0;
        width: 100%;
        padding: 10px;
        border: 1px solid rgba(190, 164, 94, .18);
        border-radius: 10px;
        background: linear-gradient(145deg, rgba(20, 27, 34, .98), rgba(11, 16, 21, .98));
        box-sizing: border-box;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-index-row {
        display: contents;
        min-width: 0;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-index-row .dx-forum-index-section {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        gap: 9px;
        min-width: 0;
        padding: 0 0 8px;
        border-bottom: 1px solid rgba(190, 164, 94, .13);
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-index-section > span:last-child {
        display: grid;
        gap: 3px;
        min-width: 0;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-index-section strong {
        overflow-wrap: anywhere;
        font-size: 12px;
        line-height: 1.3;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-index-section small {
        display: -webkit-box;
        overflow: hidden;
        color: #8995a0;
        font-size: 9px;
        line-height: 1.35;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-index-number {
        display: grid;
        justify-items: center;
        gap: 3px;
        min-width: 0;
        padding: 7px 3px;
        border: 1px solid rgba(160, 174, 188, .10);
        border-radius: 7px;
        background: rgba(255, 255, 255, .025);
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-index-number strong {
        display: flex;
        align-items: center;
        gap: 4px;
        font-size: 13px;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-index-number strong svg {
        width: 12px;
        height: 12px;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-index-number small {
        font-size: 8px;
        text-align: center;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-index-users,
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-index-last {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        min-width: 0;
        padding: 5px 2px 0;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-index-users::before {
        content: "Aktív tagok";
        color: #84909b;
        font-size: 8px;
        font-weight: 800;
        letter-spacing: .04em;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-index-last {
        border-top: 1px solid rgba(160, 174, 188, .10);
        padding-top: 7px;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-index-last-topic {
        overflow: hidden;
        font-size: 9px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-index-last time,
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-index-last small {
        flex: 0 0 auto;
        font-size: 8px;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-index-category-title {
        align-items: center;
        gap: 8px;
        padding: 9px 10px;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-index-category-tools {
        gap: 5px;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-index-category-meta {
        font-size: 8px;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-category-edit > summary,
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-section-create > summary {
        min-height: 30px;
        padding: 6px 8px;
        font-size: 9px;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-stats {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-stats-card {
        min-width: 0;
        padding: 9px;
    }

    /* Section view: full-width topic cards and compact multi-column stats. */
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-section-layout {
        display: block;
        margin-top: 8px;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-section-hero {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 9px;
        padding: 12px;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-section-hero-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        gap: 7px;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-section-hero-actions > * {
        min-width: 0;
        width: 100%;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-topic-table-head {
        display: none;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-topic-card {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: auto auto;
        gap: 7px 9px;
        width: 100%;
        min-height: 0;
        padding: 12px 11px;
        box-sizing: border-box;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-topic-card-main {
        grid-column: 1;
        grid-row: 1;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-topic-card-main > strong {
        white-space: normal;
        overflow-wrap: anywhere;
        font-size: 12px;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-topic-card-metrics {
        grid-column: 1 / -1;
        grid-row: 2;
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 8px 15px;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-topic-card-last {
        display: none;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-section-stats {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-top: 10px;
    }

    /* Topic detail: controls first, discussion second, all at screen width. */
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-topic-page-layout {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-topic-sidebar {
        order: 0;
        display: block;
        width: 100%;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-topic-main {
        order: 1;
        width: 100%;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-topic-sidebar .dx-forum-topic-head {
        position: relative;
        top: auto;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        width: 100%;
        max-height: none;
        margin: 0;
        padding: 11px;
        overflow: visible;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-topic-heading {
        flex-basis: auto;
        gap: 9px;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-topic-heading-icon {
        flex-basis: 38px;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-topic-head h2 {
        font-size: 17px;
        line-height: 1.2;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-topic-intro {
        font-size: 10px;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-topic-starter {
        margin: 0;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-topic-actions {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: stretch;
        justify-content: stretch;
        gap: 7px;
        width: 100%;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-topic-actions > form,
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-topic-actions > details {
        display: block;
        width: 100%;
        min-width: 0;
        margin: 0;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-topic-actions .dx-forum-btn,
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-topic-actions summary {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        width: 100%;
        min-width: 0;
        min-height: 58px;
        padding: 7px 4px;
        box-sizing: border-box;
        white-space: normal;
        text-align: center;
        font-size: 9px;
        line-height: 1.15;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-topic-actions svg {
        width: 17px;
        height: 17px;
        flex: 0 0 auto;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-label-full {
        display: none;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-label-short {
        display: inline;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-topic-actions textarea {
        width: 100%;
        box-sizing: border-box;
    }

    /* Post action strip: true icon buttons in a 3-column grid, not a table row. */
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-post {
        display: block;
        width: 100%;
        min-width: 0;
        margin: 0;
        overflow: visible;
        border-radius: 11px;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-post-author {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 9px;
        padding: 9px 11px;
        border: 0;
        border-bottom: 1px solid rgba(190, 164, 94, .14);
        text-align: left;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-post-avatar {
        flex: 0 0 38px;
        width: 38px;
        height: 38px;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-post-role,
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-post-points,
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-post-user-stats {
        display: none;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-post-content {
        padding: 10px 11px 11px;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-post-actions {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: stretch;
        gap: 6px;
        width: 100%;
        margin: 10px 0 7px;
        padding: 7px;
        box-sizing: border-box;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-post-actions > form,
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-post-actions > details {
        display: block;
        width: 100%;
        min-width: 0;
        margin: 0;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-post-action,
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-post-actions summary.dx-forum-post-action,
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-post-actions button.dx-forum-post-action {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        width: 100%;
        min-width: 0;
        min-height: 52px;
        height: auto;
        padding: 6px 3px;
        box-sizing: border-box;
        white-space: normal;
        text-align: center;
        font-size: 9px;
        line-height: 1.1;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-action-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 18px;
        width: 18px;
        height: 18px;
        font-size: 0;
        line-height: 0;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-action-icon svg {
        display: block;
        width: 18px;
        height: 18px;
        stroke: currentColor;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-post-actions details > form {
        position: fixed;
        top: 50%;
        left: 18px;
        right: 18px;
        width: auto;
        max-width: none;
        max-height: 76dvh;
        overflow: auto;
        margin: 0;
        z-index: 1000;
        transform: translateY(-50%);
        box-sizing: border-box;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-post-pagination {
        flex-direction: row;
        align-items: center;
        gap: 7px;
        padding: 8px 10px;
        font-size: 9px;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-post-pagination > div {
        width: auto;
        gap: 8px;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-composer {
        padding: 10px;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-composer-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-composer-left {
        padding: 0 0 12px;
        border-right: 0;
        border-bottom: 1px solid rgba(174, 190, 202, .13);
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-composer-right {
        width: 100%;
        min-width: 0;
    }

    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-composer .dx-forum-emoji-panel {
        width: 100%;
        min-width: 0;
        min-height: 150px;
        max-height: 230px;
    }
}

@media (max-width: 360px) {
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-topic-actions,
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-post-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* DROPX PWA FORUM POLISH — app-like topic cards, action rail and moderation panel */
@media (max-width: 700px) {
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-pinned-head {
        min-height: 0;
        padding: 10px 12px;
    }
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-pinned-head > div {
        gap: 8px;
    }
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-pinned-head > div > span {
        display: flex;
        align-items: center;
        min-width: 0;
    }
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-pinned-head > div small,
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-pinned-count,
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-topic-board-head p,
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-topic-board-head > span {
        display: none !important;
    }

    /* A pinned/regular topic is a clean app card: icons + counts, no table labels. */
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-topic-card {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
        padding: 11px 10px;
        border-radius: 11px;
    }
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-topic-card-metrics {
        grid-column: 1 / -1;
        grid-row: 2;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 13px;
        margin: 0;
    }
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-topic-card-metrics > span {
        display: inline-flex;
        flex-direction: row;
        align-items: center;
        gap: 4px;
        padding: 0;
        border: 0;
        background: transparent;
    }
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-topic-card-metrics b {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        color: #b8c2cb;
        font-size: 10px;
        line-height: 1;
    }
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-topic-card-metrics b svg {
        width: 14px;
        height: 14px;
        color: #e2b84e;
    }
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-topic-card-metrics small {
        display: none !important;
    }

    /* Topic-level actions: one compact icon rail, no oversized full-width buttons. */
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-topic-actions {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 6px;
        width: 100%;
    }
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-topic-actions > form,
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-topic-actions > details {
        display: block;
        min-width: 0;
        width: 100%;
    }
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-topic-actions .dx-forum-btn,
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-topic-actions summary {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        width: 100%;
        min-width: 0;
        min-height: 56px;
        padding: 6px 2px;
        border-radius: 9px;
        box-sizing: border-box;
        white-space: normal;
        text-align: center;
        font-size: 8px;
        line-height: 1.1;
    }
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-topic-actions svg {
        width: 20px;
        height: 20px;
        flex: 0 0 20px;
    }
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-topic-actions textarea {
        grid-column: 1 / -1;
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    /* Post controls: four primary actions stay together on one row. */
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-post-actions {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        align-items: stretch;
        gap: 6px;
        width: 100%;
        padding: 6px;
        overflow: visible;
    }
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-post-actions > form,
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-post-actions > details {
        display: block;
        width: 100%;
        min-width: 0;
        margin: 0;
    }
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-post-actions .dx-forum-post-action,
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-post-actions summary.dx-forum-post-action,
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-post-actions button.dx-forum-post-action {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        width: 100%;
        min-width: 0;
        min-height: 56px;
        padding: 6px 2px;
        border-radius: 9px;
        box-sizing: border-box;
        font-size: 9px;
        line-height: 1.1;
        white-space: nowrap;
    }
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-post-actions .dx-forum-action-icon,
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-post-actions .dx-forum-action-icon svg {
        width: 22px;
        height: 22px;
        flex: 0 0 22px;
    }

    /* The moderation editor expands below the action rail instead of floating off-screen. */
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-post-actions details[open] {
        grid-column: 1 / -1;
        position: relative;
        z-index: 35;
    }
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-post-actions details > form {
        position: static !important;
        inset: auto;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
        width: 100%;
        max-width: none;
        max-height: none;
        margin: 8px 0 0;
        padding: 12px;
        overflow: visible;
        transform: none;
        border: 1px solid rgba(226, 174, 55, .28);
        border-radius: 11px;
        background: linear-gradient(145deg, #171e25, #0e141a);
        box-sizing: border-box;
    }
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-post-moderate > form > label {
        grid-column: 1 / -1;
        display: grid;
        gap: 7px;
        color: #e8c66e;
        font-size: 11px;
        font-weight: 800;
    }
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-post-actions details > form textarea {
        width: 100%;
        min-width: 0;
        min-height: 82px;
        box-sizing: border-box;
        border: 1px solid rgba(190, 164, 94, .25);
        border-radius: 8px;
        background: #090e13;
        color: #f2f4f6;
        font: inherit;
        font-size: 12px;
        line-height: 1.45;
        padding: 10px;
    }
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-post-actions details > form .dx-forum-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
        min-height: 42px;
        padding: 8px 6px;
        white-space: normal;
        text-align: center;
        font-size: 10px;
    }
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-post-actions details > form .dx-forum-btn svg {
        width: 15px;
        height: 15px;
    }
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-post-moderate[open] > summary {
        border-color: rgba(226, 174, 55, .55);
        color: #f2ca68;
        background: rgba(226, 174, 55, .10);
    }
}

@media (max-width: 360px) {
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-topic-actions {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 4px;
    }
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-topic-actions .dx-forum-btn,
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-topic-actions summary {
        min-height: 52px;
        font-size: 7px;
    }
    html.dx-pwa-standalone body .dx-forum-shell .dx-forum-post-actions {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 4px;
    }
}
