/* Eternaworld · Experience layer · 2026-08-26
   UI motion, responsive navigation, theme, microinteractions and rendering optimisations.
   No business logic or secrets belong in this file. */

:root {
    --ew-ease: cubic-bezier(.22, 1, .36, 1);
    --ew-ease-soft: cubic-bezier(.2, .8, .2, 1);
    --ew-fast: 160ms;
    --ew-normal: 280ms;
    --ew-slow: 620ms;
    --ew-focus: 0 0 0 4px rgba(157, 0, 255, .18);
    --ew-glass: rgba(12, 16, 25, .78);
    --ew-glass-line: rgba(255,255,255,.09);
    --ew-card-hover-shadow: 0 24px 60px rgba(0,0,0,.24);
    color-scheme: dark;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 20px;
    background: var(--bg, #080b12);
}

html.ew-page-leaving body {
    opacity: .78;
    transform: translateY(2px);
}

body {
    transition: opacity var(--ew-fast) ease, transform var(--ew-fast) ease, background-color var(--ew-normal) ease, color var(--ew-normal) ease;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* ---------------------------------------------------------
   Loading screen: activated immediately by boot.js.
--------------------------------------------------------- */
html.ew-booting {
    overflow: hidden;
}

html.ew-booting::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 2147483646;
    background:
        radial-gradient(circle at 50% 38%, rgba(157,0,255,.16), transparent 27rem),
        #070a10;
    opacity: 1;
    transition: opacity 320ms ease, visibility 320ms ease;
}

html.ew-booting::after {
    content: "ETERNΛWORLD";
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 2147483647;
    width: max-content;
    max-width: 80vw;
    transform: translate(-50%, -50%);
    color: #f8f9ff;
    font: 900 clamp(.9rem, 2vw, 1.05rem)/1 system-ui, sans-serif;
    letter-spacing: .24em;
    text-indent: .24em;
    text-shadow: 0 0 28px rgba(157,0,255,.32);
    animation: ew-loader-pulse 920ms ease-in-out infinite alternate;
    transition: opacity 260ms ease, visibility 260ms ease;
}

html.ew-ready::before,
html.ew-ready::after {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@keyframes ew-loader-pulse {
    from { opacity: .46; transform: translate(-50%, -50%) scale(.98); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1.02); }
}

/* ---------------------------------------------------------
   Theme support. Dark remains the visual default.
--------------------------------------------------------- */
html[data-theme="light"] {
    color-scheme: light;
    --bg: #f5f7fb;
    --bg-soft: #eef2f8;
    --panel: #ffffff;
    --panel-2: #f9fbff;
    --panel-3: #f1f4f9;
    --line: #d9e0ea;
    --line-soft: rgba(15, 23, 42, .08);
    --text: #131722;
    --muted: #667085;
    --accent-soft: rgba(125, 60, 255, .08);
    --ew-glass: rgba(255,255,255,.86);
    --ew-glass-line: rgba(15,23,42,.10);
    --ew-card-hover-shadow: 0 24px 60px rgba(23, 33, 55, .12);
}

html[data-theme="light"] body:not(.login-page) {
    background:
        radial-gradient(circle at 72% 0%, rgba(157,0,255,.07), transparent 34rem),
        radial-gradient(circle at 0% 100%, rgba(69,223,166,.06), transparent 30rem),
        var(--bg) !important;
    color: var(--text) !important;
}

html[data-theme="light"] :is(.content-card,.progress-card,.streak-card,.store-card,.push-card,.ranking-table-card,.habit-form-card,.card,.goal,.badge-card,.profile-card,.auth-card,.login-card,.admin-section,.streak-box,.public-badges) {
    color: var(--text) !important;
    border-color: var(--line) !important;
}

html[data-theme="light"] :is(.content-card,.progress-card,.streak-card,.store-card,.push-card,.ranking-table-card,.habit-form-card,.card,.goal,.badge-card,.auth-card,.admin-section) {
    background: rgba(255,255,255,.90) !important;
}

html[data-theme="light"] :is(p,.muted,.profile-bio,.profile-handle,.member-since,.badge-earned,.share-status) {
    color: var(--muted);
}


html[data-theme="light"] body.login-page {
    color: #131722 !important;
    background:
        radial-gradient(circle at 16% 12%, rgba(124,60,255,.10), transparent 30rem),
        radial-gradient(circle at 88% 84%, rgba(0,180,155,.08), transparent 26rem),
        #f4f6fb !important;
}

html[data-theme="light"] body.login-page .login-card {
    color: #131722 !important;
    background: rgba(255,255,255,.94) !important;
    border-color: #d9e0ea !important;
    box-shadow: 0 28px 70px rgba(23,33,55,.14) !important;
}

html[data-theme="light"] body.login-page :is(.login-header h1,.field,.register-link) { color:#202532 !important; }
html[data-theme="light"] body.login-page :is(.login-header > p:last-child,.register-link,.recovery-box p) { color:#667085 !important; }
html[data-theme="light"] body.login-page :is(.field > input,.password-field > input) {
    color:#131722 !important; background:#f7f9fc !important; border-color:#d8dee9 !important;
}
html[data-theme="light"] body.login-page :is(.field > input,.password-field > input)::placeholder { color:#98a2b3 !important; }

/* ---------------------------------------------------------
   Focus, hover and press microinteractions.
--------------------------------------------------------- */
:is(a, button, input, textarea, select, [role="button"]):focus-visible {
    outline: 2px solid #b48aff !important;
    outline-offset: 3px !important;
}

:is(button,.primary-button,.secondary-button,.primary-link,.back-link,.account-action-button,.sidebar-action-button,.habit-save-button,.habit-cancel-button,.create-profile,.share-button,.store-nav a,.badges-nav a,.gym-nav a) {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    transform: translateZ(0);
    transition:
        transform var(--ew-fast) var(--ew-ease),
        box-shadow var(--ew-fast) ease,
        border-color var(--ew-fast) ease,
        background-color var(--ew-fast) ease,
        color var(--ew-fast) ease,
        filter var(--ew-fast) ease,
        opacity var(--ew-fast) ease !important;
}

@media (hover:hover) and (pointer:fine) {
    :is(button,.primary-button,.secondary-button,.primary-link,.back-link,.account-action-button,.sidebar-action-button,.habit-save-button,.habit-cancel-button,.create-profile,.share-button):not(:disabled):hover {
        transform: translateY(-2px) scale(1.01);
        filter: brightness(1.06);
        box-shadow: 0 12px 30px rgba(0,0,0,.18);
    }

    :is(.content-card,.progress-card,.streak-card,.store-card,.push-card,.habit-card,.ranking-table-card,.badge-card,.owned-card,.goal,.card):hover {
        transform: translateY(-3px);
        border-color: rgba(198,109,255,.34) !important;
        box-shadow: var(--ew-card-hover-shadow);
    }
}

:is(button,.primary-button,.secondary-button,.primary-link,.back-link,.account-action-button,.sidebar-action-button,.habit-save-button,.habit-cancel-button,.create-profile,.share-button):not(:disabled):active {
    transform: translateY(0) scale(.985) !important;
    transition-duration: 70ms !important;
}

.ew-ripple {
    position: absolute;
    z-index: -1;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    pointer-events: none;
    background: rgba(255,255,255,.30);
    transform: translate(-50%, -50%) scale(0);
    animation: ew-ripple 520ms ease-out forwards;
}

@keyframes ew-ripple {
    to { opacity: 0; transform: translate(-50%, -50%) scale(16); }
}

/* Inputs */
:is(input,textarea,select) {
    transition: border-color var(--ew-fast) ease, box-shadow var(--ew-fast) ease, background-color var(--ew-fast) ease !important;
}

:is(input,textarea,select):focus {
    box-shadow: var(--ew-focus);
}

/* ---------------------------------------------------------
   Hero entrance + scroll reveal.
--------------------------------------------------------- */
.ew-hero {
    position: relative;
    isolation: isolate;
}

.ew-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: min(42vw, 440px);
    aspect-ratio: 1;
    right: -8%;
    top: -42%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(157,0,255,.14), transparent 68%);
    filter: blur(8px);
    pointer-events: none;
    animation: ew-hero-orbit 8s ease-in-out infinite alternate;
}

.ew-hero > * {
    animation: ew-hero-in 720ms var(--ew-ease) both;
}

.ew-hero > *:nth-child(2) { animation-delay: 70ms; }
.ew-hero > *:nth-child(3) { animation-delay: 120ms; }
.ew-hero > *:nth-child(4) { animation-delay: 170ms; }

@keyframes ew-hero-in {
    from { opacity: 0; transform: translateY(16px) scale(.99); }
    to { opacity: 1; transform: none; }
}

@keyframes ew-hero-orbit {
    from { transform: translate3d(0,0,0) scale(.92); opacity:.65; }
    to { transform: translate3d(-20px,18px,0) scale(1.08); opacity:1; }
}

.ew-reveal {
    opacity: 0;
    transform: translateY(18px) scale(.992);
    transition:
        opacity 560ms var(--ew-ease),
        transform 560ms var(--ew-ease);
    will-change: opacity, transform;
}

.ew-reveal.ew-visible {
    opacity: 1;
    transform: none;
    will-change: auto;
}

/* Avoid expensive rendering of large below-the-fold blocks until needed. */
:is(.content-card,.store-card,.push-card,.ranking-table-card,.admin-section,.goal,.badge-card,.owned-card) {
    content-visibility: auto;
    contain-intrinsic-size: 1px 340px;
    transition: transform var(--ew-fast) var(--ew-ease), box-shadow var(--ew-fast) ease, border-color var(--ew-fast) ease;
}

/* ---------------------------------------------------------
   Theme control.
--------------------------------------------------------- */
.ew-theme-toggle {
    position: fixed;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
    z-index: 10020;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--ew-glass-line);
    border-radius: 14px;
    color: var(--text, #fff);
    background: var(--ew-glass);
    box-shadow: 0 14px 34px rgba(0,0,0,.18);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.ew-theme-toggle svg { width: 20px; height: 20px; }

/* ---------------------------------------------------------
   Bottom mobile navigation removed.
   responsive.css remains the single source of truth for mobile layout.
--------------------------------------------------------- */
.ew-mobile-nav {
    display: none !important;
}

body.ew-has-mobile-nav {
    padding-bottom: 0 !important;
}

@media (max-width: 760px) {
    .ew-theme-toggle {
        right: max(14px, env(safe-area-inset-right));
        bottom: max(14px, env(safe-area-inset-bottom));
        width: 40px;
        height: 40px;
    }
}

/* ---------------------------------------------------------
   Repeated CTA block for public acquisition surfaces.
--------------------------------------------------------- */
.ew-cta-repeat {
    width: min(100%, 690px);
    margin: 22px auto 0;
    padding: 20px;
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 18px;
    align-items: center;
    border: 1px solid rgba(198,109,255,.22);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(157,0,255,.10), rgba(57,223,166,.045));
}

.ew-cta-repeat strong { display:block; font-size:.98rem; }
.ew-cta-repeat small { display:block; margin-top:4px; color:var(--muted,#9ba6b7); line-height:1.45; }
.ew-cta-repeat a {
    display:inline-flex;
    min-height:44px;
    align-items:center;
    justify-content:center;
    padding:0 16px;
    border-radius:12px;
    color:#fff;
    background:linear-gradient(90deg,#8f00ff,#d724e8);
    text-decoration:none;
    font-size:.88rem;
    font-weight:900;
    white-space:nowrap;
}

/* ---------------------------------------------------------
   Responsive polish.
--------------------------------------------------------- */
img {
    image-rendering: auto;
}

@media (max-width: 760px) {
    :is(.auth-card,.login-card,.profile-card,.content-card,.progress-card,.streak-card,.store-card,.push-card,.ranking-table-card,.habit-form-card,.admin-section) {
        border-radius: clamp(16px, 5vw, 22px) !important;
    }

    :is(h1,.page-title,.profile-name) {
        text-wrap: balance;
    }

    .ew-cta-repeat {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .ew-cta-repeat a { width: 100%; }
}

@media (max-width: 420px) {
    :is(button,.primary-button,.secondary-button,.primary-link,.account-action-button,.sidebar-action-button,.habit-save-button,.habit-cancel-button) {
        min-height: 46px;
    }
}

/* ---------------------------------------------------------
   Accessibility: motion is optional, never mandatory.
--------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto !important; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
    .ew-reveal { opacity:1 !important; transform:none !important; }
}


.login-card .ew-cta-repeat {
    grid-template-columns: 1fr;
    margin-top: 18px;
    padding: 15px;
}
.login-card .ew-cta-repeat a { width:100%; }

/* Mobile dashboard layout is intentionally NOT defined here.
   assets/css/responsive.css owns the mobile sidebar/dashboard layout. */

/* ---------------------------------------------------------
   Contrast hardening.
   White/light surfaces must render dark copy.
   Dark/glass surfaces must render light copy.
--------------------------------------------------------- */
html[data-theme="light"] .main-panel,
html[data-theme="light"] .main-panel :is(h1,h2,h3,h4,h5,h6,strong,label,legend,summary,dt,dd,th,td) {
    color: var(--text) !important;
}

html[data-theme="light"] .main-panel :is(p,small,li,.muted,.welcome-copy,.profile-bio,.profile-handle,.member-since,.badge-earned,.share-status,.eyebrow + p,.help-copy,.field-help,.empty-state p,.hint-text,.helper-text,.card-kicker,.card-copy,.metric-copy) {
    color: var(--muted) !important;
}

/* Keep dark sidebar readable even when the global theme is light. */
html[data-theme="light"] .sidebar {
    color: #f5f7fb !important;
    background: linear-gradient(180deg, rgba(11,13,25,.985), rgba(7,9,18,.975)) !important;
    border-right-color: rgba(255,255,255,.10) !important;
}

html[data-theme="light"] .sidebar :is(.brand,.brand-name,.user-strip strong,.sidebar-streak-card strong,.usage-card strong,.checkin-card h3,.sidebar .primary-link,.sidebar .secondary-button,.sidebar-action-button,.sidebar-action-group a,.sidebar-action-group button,.plus-sidebar-badge) {
    color: #f5f7fb !important;
}

html[data-theme="light"] .sidebar :is(.tagline,.user-strip a,.sidebar-streak-card small,.sidebar-streak-card p,.usage-card span,.usage-card small,.checkin-card p,.checkin-card small,.checkin-card .muted) {
    color: #98a3b6 !important;
}

html[data-theme="light"] .sidebar :is(.sidebar-streak-card,.usage-card,.checkin-card,.sidebar-action-button,.sidebar-action-group a,.sidebar-action-group button) {
    background: rgba(255,255,255,.032) !important;
    border-color: rgba(255,255,255,.10) !important;
}

/* Dark premium/glass strips inside the content area keep light copy. */
html[data-theme="light"] :is(.plus-command-bar,.plus-command-action,.plus-metric,.eterna-chat,.eterna-summary,.goal-ai-card,.premium-panel,[data-premium-panel],.plus-sidebar-badge) {
    color: #f5f7fb !important;
}

html[data-theme="light"] :is(.plus-command-bar,.plus-command-action,.plus-metric) :is(strong,b,span,a) {
    color: inherit !important;
}

html[data-theme="light"] :is(.plus-command-bar,.plus-metric,.eterna-chat,.eterna-summary,.goal-ai-card,.premium-panel,[data-premium-panel]) :is(small,p,.muted) {
    color: #a9b3c3 !important;
}

/* Light-surface pills/badges should not use washed-out light text. */
html[data-theme="light"] :is(.plus-title-pill,.account-plan-badge,.goals-pass-badge,.eternamins-pill,.premium-badge,.eterna-plus-badge,[data-premium-badge]) {
    color: #57259f !important;
    border-color: rgba(157,0,255,.24) !important;
    background: linear-gradient(135deg, rgba(157,0,255,.09), rgba(55,231,223,.06)), rgba(255,255,255,.90) !important;
}

/* Generic light cards: ensure text stays dark enough. */
html[data-theme="light"] :is(.content-card,.progress-card,.streak-card,.store-card,.push-card,.ranking-table-card,.habit-form-card,.card,.goal,.badge-card,.profile-card,.auth-card,.login-card,.admin-section,.streak-box,.public-badges,.account-feature-card,.goals-pass-card,.goals-countdown-unit,.habit-card,.eterna-card,.owned-card) :is(h1,h2,h3,h4,h5,h6,strong,label,legend,summary,dt,dd,th,td,a:not(.primary-link):not(.secondary-button):not(.plus-command-action):not(.account-action-button):not(.premium-cta):not(.habit-save-button)) {
    color: var(--text) !important;
}

html[data-theme="light"] :is(.content-card,.progress-card,.streak-card,.store-card,.push-card,.ranking-table-card,.habit-form-card,.card,.goal,.badge-card,.profile-card,.auth-card,.login-card,.admin-section,.streak-box,.public-badges,.account-feature-card,.goals-pass-card,.goals-countdown-unit,.habit-card,.eterna-card,.owned-card) :is(p,small,li,.muted,.meta,.hint,.helper,.support-copy,.description,.subcopy) {
    color: var(--muted) !important;
}

/* =========================================================
   ANDROID / MOBILE DASHBOARD HARDENING
   Keep this at the end so it wins over desktop light-sidebar rules.
========================================================= */
@media (max-width: 760px) {
    .ew-mobile-nav {
        display: none !important;
    }

    body.ew-has-mobile-nav {
        padding-bottom: 0 !important;
    }

    /* responsive.css controls layout: force normal vertical sidebar flow. */
    .app-shell > .sidebar {
        display: block !important;
        position: relative !important;
        inset: auto !important;
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
        padding:
            max(16px, env(safe-area-inset-top))
            max(16px, env(safe-area-inset-right))
            18px
            max(16px, env(safe-area-inset-left)) !important;
        border-right: 0 !important;
        border-bottom: 1px solid var(--line, #293140) !important;
        background: var(--sidebar-bg) !important;
    }

    .sidebar .brand {
        display: flex !important;
        width: fit-content !important;
        margin: 0 0 8px !important;
    }

    .sidebar .eternaworld-logo,
    .sidebar .brand-with-logo > img {
        width: 64px !important;
        height: 64px !important;
        object-fit: contain;
    }

    .sidebar .tagline {
        display: block !important;
        margin: 5px 0 14px !important;
    }

    .sidebar .plus-sidebar-badge {
        margin: 0 0 14px !important;
    }

    .sidebar .user-strip {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        gap: 12px !important;
        margin: 0 0 16px !important;
    }

    .sidebar .user-strip > strong {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        font-size: 1rem !important;
        line-height: 1.35 !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
    }

    .sidebar .sidebar-action-group {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        align-items: stretch !important;
        width: 100% !important;
        gap: 8px !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .sidebar .sidebar-action-button {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        min-width: 0 !important;
        min-height: 46px !important;
        padding: 10px 8px !important;
        text-align: center !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
    }

    .sidebar .sidebar-goals-button {
        grid-column: 1 / -1 !important;
    }

    .sidebar .sidebar-streak-card {
        display: flex !important;
        width: 100% !important;
        margin: 0 0 12px !important;
        padding: 14px !important;
    }

    .sidebar .sidebar-streak-card small,
    .sidebar .sidebar-streak-card p {
        display: block !important;
    }

    .sidebar .usage-card {
        display: grid !important;
        width: 100% !important;
        margin: 0 0 12px !important;
    }

    .sidebar .optional-checkin {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .sidebar .optional-checkin > summary {
        width: 100% !important;
    }

    .ew-theme-toggle {
        right: max(14px, env(safe-area-inset-right)) !important;
        bottom: max(14px, env(safe-area-inset-bottom)) !important;
    }

    /* Light theme: mobile sidebar is genuinely light, with dark copy. */
    html[data-theme="light"] .app-shell > .sidebar,
    html[data-theme="light"] body.eterna-plus-mode .app-shell > .sidebar {
        color: var(--text, #151922) !important;
        background: rgba(255,255,255,.96) !important;
        border-bottom-color: var(--line, #d9dfe8) !important;
        box-shadow: 0 8px 28px rgba(23,33,55,.06) !important;
    }

    html[data-theme="light"] .sidebar :is(
        .brand,.brand-name,.user-strip strong,.sidebar-streak-card strong,
        .usage-card strong,.checkin-card h2,.checkin-card h3
    ) {
        color: var(--text, #151922) !important;
    }

    html[data-theme="light"] .sidebar :is(
        .tagline,.user-strip a,.sidebar-streak-card small,.sidebar-streak-card p,
        .usage-card span,.usage-card small,.checkin-card p,.checkin-card small,
        .checkin-card .muted,.checkin-card label
    ) {
        color: var(--muted, #667085) !important;
    }

    html[data-theme="light"] .sidebar :is(
        .sidebar-streak-card,.usage-card,.checkin-card,.sidebar-action-button,
        .sidebar-action-group a,.sidebar-action-group button,.optional-checkin > summary
    ) {
        background: #ffffff !important;
        border-color: var(--line, #d9dfe8) !important;
    }

    html[data-theme="light"] .sidebar .sidebar-action-button {
        color: #283142 !important;
        box-shadow: 0 3px 12px rgba(15,23,42,.035) !important;
    }

    html[data-theme="light"] .sidebar .sidebar-goals-button {
        color: #57259f !important;
        background: linear-gradient(90deg, rgba(139,0,232,.075), rgba(34,211,238,.04)) !important;
        border-color: rgba(139,0,232,.18) !important;
    }

    html[data-theme="light"] .sidebar .plus-sidebar-badge {
        color: #57259f !important;
        background: linear-gradient(110deg, rgba(157,0,255,.08), rgba(34,211,238,.05)), rgba(255,255,255,.92) !important;
        border-color: rgba(157,0,255,.22) !important;
    }

    html[data-theme="light"] .sidebar .plus-sidebar-badge span {
        color: #137d6a !important;
    }

    html[data-theme="light"] .ew-theme-toggle {
        color: #151922 !important;
        background: rgba(255,255,255,.96) !important;
        border-color: #d9dfe8 !important;
    }
}

@media (max-width: 480px) {
    .sidebar .sidebar-action-group {
        grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    }

    .sidebar .sidebar-action-button {
        font-size: .82rem !important;
    }

    .sidebar .eternaworld-logo,
    .sidebar .brand-with-logo > img {
        width: 58px !important;
        height: 58px !important;
    }
}

@media (max-width: 350px) {
    .sidebar .sidebar-action-group {
        grid-template-columns: 1fr !important;
    }
}

