/*
 * 公众号数据中心 · 全站响应式界面
 * 仅调整展示层，不改变任何业务路由、表单字段或交互接口。
 */

:root {
    --app-primary: #635bff;
    --app-primary-strong: #4f46e5;
    --app-primary-soft: #eef0ff;
    --app-accent: #0ea5a4;
    --app-bg: #f5f7fb;
    --app-surface: #ffffff;
    --app-surface-muted: #f8fafc;
    --app-text: #172033;
    --app-text-muted: #68758a;
    --app-border: #e6eaf0;
    --app-shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.04);
    --app-shadow: 0 10px 30px rgba(25, 35, 58, 0.07);
    --app-shadow-lg: 0 22px 55px rgba(25, 35, 58, 0.16);
    --app-radius-sm: 10px;
    --app-radius: 16px;
    --app-radius-lg: 22px;
    --app-topbar-height: 64px;
    --app-sidebar-width: 260px;

    --primary-color: var(--app-primary);
    --bg-light: var(--app-bg);
    --bg-card: var(--app-surface);
    --text-dark: var(--app-text);
    --text-muted: var(--app-text-muted);
    --border-color: var(--app-border);
    --primary-gradient: linear-gradient(135deg, #635bff 0%, #8256d0 100%);
}

html {
    min-width: 320px;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 100% 0, rgba(99, 91, 255, 0.08), transparent 28rem),
        var(--app-bg);
    color: var(--app-text);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.sidebar-open {
    overflow: hidden;
}

a,
button,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid rgba(99, 91, 255, 0.28);
    outline-offset: 2px;
}

img {
    max-width: 100%;
    height: auto;
}

/* 顶部导航 */
.app-topbar {
    z-index: 1035;
    height: var(--app-topbar-height);
    min-height: var(--app-topbar-height);
    padding: 0 !important;
    background: rgba(255, 255, 255, 0.94) !important;
    border-bottom: 1px solid rgba(230, 234, 240, 0.9);
    box-shadow: 0 1px 12px rgba(23, 32, 51, 0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.topbar-inner {
    height: 100%;
    padding: 0 1.25rem;
    gap: 0.75rem;
}

.navbar-brand {
    min-width: 0;
    margin: 0;
    color: var(--app-text) !important;
    background: none !important;
    -webkit-text-fill-color: currentColor !important;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}

.brand-mark {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #fff;
    background: var(--primary-gradient);
    border-radius: 12px;
    box-shadow: 0 7px 16px rgba(99, 91, 255, 0.22);
}

.navbar-brand .brand-mark i,
.sidebar-brand .brand-mark i {
    color: #fff !important;
    background: none !important;
    -webkit-text-fill-color: currentColor !important;
    font-size: 1.08rem;
}

.brand-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.topbar-actions {
    min-width: 0;
    margin-left: auto;
}

.topbar-actions .navbar-nav {
    flex-direction: row;
    align-items: center;
}

.topbar-actions .nav-link {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 0.45rem 0.75rem !important;
    white-space: nowrap;
}

.sidebar-toggle,
.sidebar-close {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    color: var(--app-text);
    background: var(--app-surface-muted);
    border: 1px solid var(--app-border);
    border-radius: 13px;
}

/* 应用骨架 */
.app-shell {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    min-height: calc(100vh - var(--app-topbar-height));
}

.sidebar {
    position: sticky;
    top: var(--app-topbar-height);
    z-index: 1020;
    flex: 0 0 var(--app-sidebar-width);
    width: var(--app-sidebar-width);
    height: calc(100vh - var(--app-topbar-height));
    min-height: 0;
    padding: 0 0.9rem 1.25rem !important;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: rgba(255, 255, 255, 0.94);
    border-right: 1px solid var(--app-border);
    box-shadow: none;
    scrollbar-width: thin;
}

.sidebar-brand {
    position: sticky;
    top: 0;
    z-index: 2;
    min-height: 72px;
    margin: 0 -0.9rem 0.65rem;
    padding: 1rem 1.1rem;
    color: var(--app-text);
    background: rgba(255, 255, 255, 0.97);
    -webkit-text-fill-color: currentColor;
    border-bottom: 1px solid var(--app-border);
}

.sidebar-brand .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 11px;
}

.sidebar-header {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin: 0 0.25rem 0.8rem;
    padding: 0.6rem 0.65rem 0.85rem;
}

.sidebar-user-name {
    overflow: hidden;
    color: var(--app-text);
    font-size: 0.9rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-header small {
    color: var(--app-text-muted);
    font-size: 0.67rem;
}

.sidebar .nav {
    gap: 0.22rem;
}

.sidebar .nav-link {
    min-height: 46px;
    margin: 0 !important;
    padding: 0.72rem 0.85rem !important;
    color: #59667b !important;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 13px;
}

.sidebar .nav-link::before {
    display: none;
}

.sidebar .nav-link i {
    width: 22px;
    color: #8792a5;
    font-size: 0.96rem;
}

.sidebar .nav-link:hover {
    color: var(--app-primary) !important;
    background: var(--app-primary-soft);
    transform: none;
}

.sidebar .nav-link.active {
    color: #fff !important;
    background: var(--primary-gradient);
    box-shadow: 0 9px 22px rgba(99, 91, 255, 0.24);
}

.sidebar-backdrop {
    display: none;
}

.main-content {
    flex: 1 1 0;
    width: auto;
    max-width: calc(100% - var(--app-sidebar-width));
    min-width: 0;
    min-height: calc(100vh - var(--app-topbar-height));
    padding: clamp(1.25rem, 2.3vw, 2.25rem) !important;
    background: transparent;
}

.content-inner {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
}

.public-main {
    min-height: calc(100vh - var(--app-topbar-height));
}

.public-main > .container,
.public-main > .container-fluid {
    padding-top: clamp(1.25rem, 4vw, 3rem);
    padding-bottom: clamp(1.5rem, 4vw, 3rem);
}

.public-main > .auth-container {
    padding-top: clamp(1rem, 4vw, 3rem);
    padding-bottom: clamp(1rem, 4vw, 3rem);
}

.app-footer {
    margin-left: var(--app-sidebar-width);
}

/* 页面标题与工具栏 */
.page-header {
    margin-bottom: 1.35rem;
}

.page-header h2 {
    margin: 0;
    color: var(--app-text);
    font-size: clamp(1.45rem, 2vw, 1.9rem);
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.page-header p {
    margin-top: 0.3rem;
    color: var(--app-text-muted) !important;
}

.page-header > .d-flex,
.card-header.d-flex,
.card-body > .d-flex {
    gap: 0.75rem;
}

/* 卡片 */
.card,
.stat-card,
.auth-card {
    border: 1px solid rgba(230, 234, 240, 0.82) !important;
    border-radius: var(--app-radius) !important;
    box-shadow: var(--app-shadow-sm) !important;
}

.card {
    overflow: hidden;
}

.card:hover,
.stat-card:hover {
    transform: none;
    box-shadow: var(--app-shadow) !important;
}

.card-header {
    min-height: 58px;
    padding: 1rem 1.2rem;
    background: var(--app-surface) !important;
    color: var(--app-text) !important;
    border-bottom: 1px solid var(--app-border);
}

.card-header.gradient-header {
    color: #fff !important;
    background: var(--primary-gradient) !important;
}

.card-body {
    padding: 1.2rem;
}

.card-footer {
    padding: 0.9rem 1.2rem;
    background: var(--app-surface-muted);
}

.stat-card {
    min-height: 154px;
    padding: 1.25rem;
    background: var(--app-surface);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
    gap: 1.25rem;
    margin-right: 0;
    margin-left: 0;
}

.stats-grid > * {
    width: auto !important;
    max-width: none !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.stat-card::before {
    height: 3px;
}

.stat-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 0.85rem;
    border-radius: 13px;
    font-size: 1.18rem;
}

.stat-value {
    overflow-wrap: anywhere;
    font-size: clamp(1.5rem, 2vw, 2rem);
    line-height: 1.08;
}

.stat-label {
    color: var(--app-text-muted);
}

/* 按钮与操作区 */
.btn {
    min-height: 42px;
    padding: 0.58rem 1rem;
    border-radius: 12px;
    box-shadow: none !important;
    line-height: 1.2;
    touch-action: manipulation;
}

.btn:hover {
    transform: none;
}

.btn-sm {
    min-height: 36px;
    padding: 0.42rem 0.75rem;
    border-radius: 10px;
}

.btn-lg {
    min-height: 50px;
}

.btn-primary {
    background: var(--primary-gradient);
}

.btn-outline-primary {
    border: 1px solid rgba(99, 91, 255, 0.55);
    background: #fff;
}

.btn-outline-secondary,
.btn-outline-info,
.btn-outline-success,
.btn-outline-danger,
.btn-outline-warning {
    border-width: 1px;
    background: #fff;
}

.btn-group {
    flex-wrap: wrap;
    gap: 0.35rem;
}

.btn-group > .btn {
    border-radius: 10px !important;
}

/* 表单 */
.form-control,
.form-select,
.input-group-text {
    min-height: 46px;
    border: 1px solid var(--app-border);
    border-radius: 12px;
    background-color: #fff;
}

.form-control,
.form-select {
    padding: 0.68rem 0.85rem;
    font-size: 16px;
}

textarea.form-control {
    min-height: 112px;
}

.input-group > .form-control,
.input-group > .form-select {
    min-width: 0;
}

.form-check-input {
    width: 1.15rem;
    height: 1.15rem;
}

.form-label {
    color: #354055;
}

.form-text {
    color: var(--app-text-muted);
    line-height: 1.45;
}

/* 表格 */
.table-responsive {
    width: 100%;
    border-radius: 0 0 var(--app-radius) var(--app-radius);
    scrollbar-width: thin;
}

.table {
    min-width: 100%;
    margin-bottom: 0;
    color: var(--app-text);
    border-radius: 0;
}

.table thead th {
    padding: 0.9rem 1rem;
    color: #536076;
    background: var(--app-surface-muted);
    border-bottom: 1px solid var(--app-border);
    font-size: 0.72rem;
    letter-spacing: 0.035em;
    white-space: nowrap;
}

.table tbody td {
    padding: 0.9rem 1rem;
    border-color: #edf0f4;
}

.table td,
.table th {
    word-break: break-word;
}

.table tbody tr:last-child td {
    border-bottom: 0;
}

.table-borderless tbody td {
    padding-top: 0.62rem;
    padding-bottom: 0.62rem;
}

/* 弹窗、下拉、提醒 */
.modal-content {
    overflow: hidden;
    border: 0;
    border-radius: var(--app-radius-lg);
    box-shadow: var(--app-shadow-lg);
}

.modal-header,
.modal-footer {
    padding: 1rem 1.2rem;
    border-color: var(--app-border);
}

.modal-body {
    padding: 1.2rem;
}

.dropdown-menu {
    max-width: calc(100vw - 1.5rem);
    padding: 0.5rem;
    border: 1px solid var(--app-border);
    box-shadow: var(--app-shadow-lg);
}

.dropdown-menu[style*="width: 400px"] {
    width: min(400px, calc(100vw - 1.5rem)) !important;
}

.alert {
    border: 1px solid transparent;
    border-radius: 14px;
    line-height: 1.5;
}

.badge {
    max-width: 100%;
    white-space: normal;
}

.pagination {
    flex-wrap: wrap;
    gap: 0.35rem;
}

.page-link {
    min-width: 40px;
    min-height: 40px;
    color: var(--app-primary);
    border: 1px solid var(--app-border);
    border-radius: 10px !important;
}

/* 公众号卡片与分类筛选 */
.main-content .category-filter {
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.55rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--app-border);
    border-radius: 15px;
    box-shadow: var(--app-shadow-sm);
    scroll-snap-type: x proximity;
}

.main-content .category-filter-item {
    min-height: 42px;
    border-radius: 11px;
    scroll-snap-align: start;
}

.bound-mp-card {
    border-color: rgba(230, 234, 240, 0.95) !important;
}

.file-preview,
.qr-code,
img[alt*="二维码"] {
    object-fit: contain;
}

/* 公共页与页脚 */
.footer {
    padding: 1.4rem 0;
    background: #20283a;
}

.footer h5 {
    font-size: 1rem;
}

.auth-container {
    min-height: calc(100vh - var(--app-topbar-height));
}

.empty-state {
    padding: clamp(2.5rem, 8vw, 5rem) 1rem;
}

.empty-state i {
    font-size: clamp(2.8rem, 10vw, 4rem);
}

@media (min-width: 992px) {
    .sidebar {
        padding-top: 1rem !important;
    }

    .sidebar-brand {
        display: none;
    }
}

/* 平板与手机导航 */
@media (max-width: 991.98px) {
    .topbar-inner {
        padding: 0 0.85rem;
    }

    .sidebar-toggle,
    .sidebar-close {
        display: inline-flex;
    }

    .sidebar-toggle {
        flex: 0 0 42px;
    }

    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1050;
        width: min(86vw, 320px);
        height: 100dvh;
        padding-bottom: calc(1rem + env(safe-area-inset-bottom)) !important;
        border-right: 0;
        box-shadow: var(--app-shadow-lg);
        transform: translateX(-105%);
        transition: transform 0.24s ease;
    }

    .sidebar.is-open {
        transform: translateX(0);
    }

    .sidebar-brand {
        min-height: var(--app-topbar-height);
        padding-top: calc(0.75rem + env(safe-area-inset-top));
    }

    .sidebar-close {
        margin-left: auto;
    }

    .sidebar-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1040;
        display: block;
        width: 100%;
        height: 100%;
        padding: 0;
        pointer-events: none;
        background: rgba(18, 25, 38, 0.45);
        border: 0;
        opacity: 0;
        transition: opacity 0.24s ease;
        backdrop-filter: blur(2px);
    }

    body.sidebar-open .sidebar-backdrop {
        pointer-events: auto;
        opacity: 1;
    }

    .main-content {
        width: 100%;
        max-width: 100%;
    }

    .app-footer {
        margin-left: 0;
    }

    .navbar-collapse:not(.show) {
        display: none !important;
    }

    .app-topbar .navbar-collapse.show,
    .app-topbar .navbar-collapse.collapsing {
        position: absolute;
        top: calc(100% + 0.45rem);
        right: 0.75rem;
        left: 0.75rem;
        padding: 0.65rem;
        background: #fff;
        border: 1px solid var(--app-border);
        border-radius: 15px;
        box-shadow: var(--app-shadow-lg);
    }

    .app-topbar .navbar-collapse .navbar-nav {
        gap: 0.25rem;
    }
}

/* 手机端内容重排 */
@media (max-width: 767.98px) {
    .brand-title {
        max-width: 42vw;
        font-size: 0.96rem;
    }

    .topbar-actions .nav-link {
        max-width: 46vw;
        overflow: hidden;
        padding: 0.35rem 0.45rem !important;
        text-overflow: ellipsis;
    }

    .topbar-actions .nav-link > .badge {
        display: none;
    }

    .topbar-actions .dropdown-menu {
        position: absolute;
        right: 0;
        left: auto;
    }

    .main-content {
        padding: 0.9rem 0.75rem 1.5rem !important;
    }

    .page-header {
        margin-bottom: 1rem;
    }

    .page-header > .d-flex {
        flex-direction: column;
        align-items: stretch !important;
    }

    .page-header > .d-flex > * {
        width: 100%;
    }

    .page-header h2 {
        font-size: 1.35rem;
    }

    .page-header .btn,
    .page-header > .d-flex > a.btn {
        width: 100%;
    }

    .page-header form {
        width: 100%;
        justify-content: space-between;
    }

    .page-header > .d-flex > .d-flex {
        flex-wrap: wrap;
    }

    .page-header .dropdown {
        flex: 1 1 auto;
    }

    .page-header .dropdown > .btn {
        width: 100%;
    }

    .row.g-4,
    .row.g-3 {
        --bs-gutter-x: 0.85rem;
        --bs-gutter-y: 0.85rem;
    }

    .card,
    .stat-card {
        border-radius: 15px !important;
    }

    .card-header {
        min-height: 54px;
        padding: 0.85rem 1rem;
    }

    .card-header.d-flex {
        flex-wrap: wrap;
        align-items: center !important;
    }

    .card-header.d-flex > .btn,
    .card-header.d-flex > a.btn {
        flex: 1 1 auto;
    }

    .card-body {
        padding: 1rem;
    }

    .card-footer {
        padding: 0.85rem 1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.7rem;
        --bs-gutter-x: 0.7rem;
        --bs-gutter-y: 0.7rem;
    }

    .stats-grid > * {
        width: auto !important;
        max-width: none !important;
    }

    .stats-grid > *:first-child:nth-last-child(odd) {
        grid-column: 1 / -1;
        width: auto !important;
        max-width: none !important;
    }

    .row.text-center > .col-md-3 {
        flex: 0 0 50%;
        width: 50%;
        max-width: 50%;
    }

    .row.text-center > .col-md-3 > .border-start {
        border-left: 0 !important;
    }

    .stat-card {
        min-height: 126px;
        padding: 1rem;
    }

    .stat-icon {
        width: 38px;
        height: 38px;
        margin-bottom: 0.65rem;
        font-size: 1rem;
    }

    .stat-value {
        font-size: 1.3rem;
    }

    .stat-label {
        font-size: 0.78rem;
    }

    .btn:not(.btn-close):not(.sidebar-close):not(.sidebar-toggle) {
        min-height: 44px;
    }

    .btn-sm:not(.btn-close) {
        min-height: 38px;
    }

    .btn-group {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .d-flex.gap-2:not(.topbar-actions):not(.navbar-nav) {
        flex-wrap: wrap;
    }

    .d-flex.gap-2 > .btn,
    .d-flex.gap-2 > a.btn {
        flex: 1 1 auto;
    }

    .main-content .d-flex.justify-content-between {
        flex-wrap: wrap;
        gap: 0.65rem;
    }

    .main-content .category-filter {
        margin-right: -0.15rem;
        margin-left: -0.15rem;
        padding: 0.45rem;
    }

    /* 表格卡片化 */
    .table-responsive:has(> .mobile-card-table) {
        overflow: visible;
        border-radius: 0;
    }

    .mobile-card-table,
    .mobile-card-table tbody {
        display: block;
        width: 100%;
        min-width: 0;
        background: transparent;
    }

    .mobile-card-table thead {
        display: none;
    }

    .mobile-card-table tbody {
        padding: 0.75rem;
    }

    .mobile-card-table tbody tr {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.15rem 0.8rem;
        margin-bottom: 0.75rem;
        padding: 0.9rem;
        background: #fff;
        border: 1px solid var(--app-border);
        border-radius: 14px;
        box-shadow: var(--app-shadow-sm);
    }

    .mobile-card-table tbody tr:last-child {
        margin-bottom: 0;
    }

    .mobile-card-table tbody td {
        display: flex;
        min-width: 0;
        padding: 0.45rem 0 !important;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        overflow-wrap: anywhere;
        border: 0 !important;
        background: transparent !important;
    }

    .mobile-card-table tbody td::before {
        display: block;
        margin-bottom: 0.16rem;
        color: var(--app-text-muted);
        font-size: 0.66rem;
        font-weight: 700;
        line-height: 1.2;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        content: attr(data-label);
    }

    .mobile-card-table tbody td[data-label="操作"],
    .mobile-card-table tbody td.mobile-table-full {
        grid-column: 1 / -1;
    }

    .mobile-card-table tbody td[data-label="操作"] {
        margin-top: 0.25rem;
        padding-top: 0.65rem !important;
        border-top: 1px solid var(--app-border) !important;
    }

    .mobile-card-table tbody td[data-label="操作"]::before,
    .mobile-card-table tbody td.mobile-table-full::before {
        display: none;
    }

    .mobile-card-table tbody td[data-label="操作"] .btn,
    .mobile-card-table tbody td[data-label="操作"] .btn-group {
        width: 100%;
    }

    .table-borderless td:first-child {
        width: 38% !important;
        min-width: 96px;
    }

    .modal {
        padding: 0 !important;
    }

    .modal-dialog {
        display: flex;
        align-items: flex-end;
        min-height: 100%;
        margin: 0;
    }

    .modal-content {
        width: 100%;
        max-height: 94dvh;
        border-radius: 22px 22px 0 0;
    }

    .modal-header,
    .modal-footer {
        flex: 0 0 auto;
        padding: 0.9rem 1rem;
    }

    .modal-body {
        padding: 1rem;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .modal-footer {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.6rem;
    }

    .modal-footer > * {
        width: 100%;
        margin: 0 !important;
    }

    .modal-footer > :only-child,
    .modal-footer > :last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    .dropdown-menu[style] {
        max-width: calc(100vw - 1.5rem) !important;
    }

    .pagination {
        justify-content: flex-start !important;
        flex-wrap: nowrap;
        padding: 0.25rem;
        overflow-x: auto;
    }

    .alert {
        padding: 0.85rem 1rem;
        font-size: 0.9rem;
    }

    .footer {
        padding: 1.1rem 0;
        text-align: center;
    }

    .footer .text-md-end {
        margin-top: 0.65rem;
    }

    .public-main > .container,
    .public-main > .container-fluid {
        padding-right: 0.85rem;
        padding-left: 0.85rem;
    }

    .auth-container {
        min-height: calc(100dvh - var(--app-topbar-height)) !important;
        padding: 0.75rem !important;
    }

    .auth-card {
        border-radius: 18px !important;
    }

    .auth-header {
        padding: 1.5rem 1rem !important;
    }

    .auth-body {
        padding: 1.1rem !important;
    }
}

@media (max-width: 420px) {
    .brand-title {
        max-width: 35vw;
    }

    .topbar-actions .nav-link {
        max-width: 40vw;
        font-size: 0.84rem;
    }

    .main-content {
        padding-right: 0.6rem !important;
        padding-left: 0.6rem !important;
    }

    .mobile-card-table tbody {
        padding: 0.6rem;
    }

    .mobile-card-table tbody tr {
        padding: 0.8rem;
    }
}

@media (hover: none) {
    .card:hover,
    .stat-card:hover,
    .btn:hover {
        transform: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
