﻿.btn-lg {
    border-radius: 4px !important;
}

.pr-0 {
    padding-right: 0 !important;
}

.pr-1 {
    padding-right: 0.25rem !important;
}

.pr-2 {
    padding-right: 0.5rem !important;
}

.pr-3 {
    padding-right: 1rem !important;
}

.pr-4 {
    padding-right: 2rem !important;
}

.pr-5 {
    padding-right: 4rem !important;
}

.pl-0 {
    padding-left: 0 !important;
}

.pl-1 {
    padding-left: 0.25rem !important;
}

.pl-2 {
    padding-left: 0.5rem !important;
}

.pl-3 {
    padding-left: 1rem !important;
}

.pl-4 {
    padding-left: 2rem !important;
}

.pl-5 {
    padding-left: 4rem !important;
}

.py-45 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.page-wrapper .page-header {
    margin: 1.25rem 0;
}

.icon-xl {
    width: 4rem;
    height: 4rem;
}

.icon-lg {
    width: 3rem;
    height: 3rem;
}

.icon-md {
    width: 2rem;
    height: 2rem;
}

.icon-sm {
    width: 1.5rem;
    height: 1.5rem;
}

.ml-auto {
    margin-left: auto !important;
}

.card-style {
    background-color: #fff;
    border: 1px solid rgba(134, 140, 151, .24);
}

.card-title {
    font-size: 1.26em;
    font-weight: 600;
}

.list-unstyled,
.list-inline {
    font-size: 1.06em;
    font-weight: 400;
    margin: 0.2em 0;
}

.hide {
    display: none;
}

/* 避免刷新后浏览器从顶部平滑滚回导致顶栏闪一下（Tabler 默认 scroll-behavior: smooth） */
html {
    scroll-behavior: auto !important;
}

.navbar {
    min-height: 4.8rem !important;
}

.navbar-brand-image {
    height: 2.1rem;
}

.nav-link-title {
    font-weight: 500;
}

.btn-md {
    padding: 0.425rem 0.55rem;
    font-size: 0.65rem;
    border-radius: 2px;
    min-width: calc(1.725rem + 2px);
    max-height: calc(1.725rem + 2px);
}

.content-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 1rem;
    text-align: center;
}

@media (min-width: 48rem) {
    .content-header {
        padding: 3rem;
    }
}

.content-header .content-header-title {
    margin: 0 0 1rem;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1;
}

.content-header .content-header-subtitle {
    font-size: 1.2rem;
    margin: 0 0 .5rem;
}

.file-dragging {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    text-align: center;
    min-height: 16rem;
    background-color: rgb(61, 153, 245);
}

@media (min-width: 48rem) {
    .file-dragging {
        padding: 0.5rem;
    }
}

.file-dragging .inner-section {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.5rem;
    display: flex;
    background: rgba(0, 0, 0, 0.1);
    border-width: 2px;
    border-style: dashed;
    border-color: rgba(0, 0, 0, 0.15);
    border-image: initial;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.file-dragging .inner-section.inner-section--drag {
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(0, 0, 0, 0.18);
}

.file-dragging .upload-section {
    position: relative;
    top: 10%;
}

.theme-dark .file-dragging .inner-section {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.2);
}

.theme-dark .content-header .content-header-title {
    color: #f1f5f9;
}

@media (max-width: 535px) {
    .choose-type .filename-section {
        flex: 0 0 66.6666667%;
        max-width: 66.6666667%;
    }

    .choose-type .button-section {
        flex: 0 0 33.3333333%;
        max-width: 33.3333333%;
    }

    .choose-type .button-section button svg {
        display: none;
    }
}


.choose-type {
    text-align: center;
    min-height: 16rem;
}

.theme-dark .progress {
    background-color: rgba(176, 181, 190, .24);
}

.theme-dark .choose-type .choose-type-inner {
    background-color: #354052;
}

.theme-dark .choose-type .dst-type-button {
    opacity: 98%;
}

.theme-dark #addMoreSection>.row>a {
    color: white !important;
}

.theme-dark .order-item a {
    color: white;
}

.theme-dark .order-item {
    color: white;
    background-color: RGB(34, 46, 60) !important;
    position: relative;
    display: block;
    padding: .5rem .75rem;
    margin-bottom: 0;
    border: 1px solid rgba(134, 146, 160, .07);
}

.theme-dark .list-group-item {
    color: inherit;
}

.theme-dark .dropdown-header {
    color: inherit;
}

.list-group-item-light {
    color: #232e3c;
}

.list-group-item-light a {
    color: #232e3c;
}

/*.theme-dark .order-item a {*/
/*    color: white !important;*/
/*}*/

/*.theme-dark .order-item span {*/
/*    color: white !important;*/
/*}*/


.choose-type .choose-type-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    word-wrap: break-word;
    background-color: white;
    background-clip: border-box;
    border: 1px solid rgba(134, 140, 151, .24);
    /*border-radius: 3px;*/
    align-items: center;
    justify-content: center;
}

.choose-type .dst-type-button {
    opacity: 85%;
    padding-top: 1.85rem !important;
    padding-bottom: 1.85rem !important;
}

.choose-type .dst-type-button:hover {
    opacity: 100%;
}

@media (max-width: 535px) {
    #addMoreSection {
        flex: 0 0 100%;
        max-width: 100%;
    }

    #addMoreSection>.row {
        justify-content: center;
    }

    #pendingFileCountSection {
        display: none;
    }
}

@media (max-width: 535px) {
    .process-task.one-to-one-task #addMoreSection {
        flex: 0 0 auto;
        max-width: none;
    }

    .process-task.one-to-one-task #addMoreSection>.row {
        justify-content: flex-start;
    }
}

@media (max-width: 420px) {
    .process-task.one-to-one-task #doneFileCountSection img.icon-md {
        display: none;
    }

    .process-task.one-to-one-task #doneFileCountSection .pl-1 {
        padding-left: .25rem !important;
    }
}

@media (max-width: 535px) {

    .process-task .order-item .order-name,
    .order-result {
        flex: 0 0 100%;
        max-width: 100%;
        justify-content: center !important;
        padding: 2rem 2rem !important;
    }
}

.process-task {
    text-align: center;
    background-color: #fff;
    background-clip: border-box;
}

.ab-badges {
    position: absolute;
    top: 0;
    right: 0.5rem;
    padding: 0 9px;
    border-radius: 24px;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    line-height: 24px;
    transform: translate(50%, -50%);
}

@media (max-width: 535px) {
    #MyFiles>div.page-header>div>div:nth-child(1) {
        display: none;
    }

    #MyFiles .order-item div.row>div:nth-child(1) {
        flex: 0 0 100%;
        max-width: 100%;
        padding-left: 0 !important;
        justify-content: center !important;
    }

    #MyFiles .order-item .order-name {
        /*display: none !important;*/
    }

    #MyFiles .order-item .order-time {
        display: none !important;
    }

    #MyFiles .order-item .order-result {
        /*display: none !important;*/
    }
}

.footer-nav {}

.footer-nav li {
    padding: 0.3rem;
}

.footer-nav li.sub-title {
    padding: 0.3rem;
    color: rgba(0, 0, 0, .55);
}

.footer-nav ul {
    margin-top: 0rem;
    margin-bottom: 0rem;
}

.index-nav .index-list-item {
    padding-left: 0;
    padding-right: 0;
}

.index-nav .index-nav-card {
    margin-bottom: 2px;
    border-radius: 0;
    border: none;
    margin-left: 2px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.index-nav .index-nav-card a {
    color: #343231;
}

.index-nav .index-nav-card a:hover {
    text-decoration: none;
    color: #313030;
}

.index-nav .index-nav-card .desc {
    font-size: 90%;
    font-weight: 300;
    color: #999999;
    line-height: 1.75;
}

.index-nav .index-nav-card .card-title {
    font-size: 1.26em;
    font-weight: 600;
}

.theme-dark .icon {
    fill: #fff;
}

.icon-black {
    fill: #000 !important;
}

.theme-dark .dropdown-menu {
    background: #354052;
}

.theme-dark .dropdown-menu .dropdown-item {
    color: #fff;
}

.theme-dark .dropdown-menu .dropdown-item:hover {
    color: #fff;
}

.theme-dark .dropdown-item:hover,
.theme-dark .dropdown-item:focus {
    color: inherit;
    text-decoration: none;
    background: #384356;
}

.theme-dark .footer-nav li.sub-title h4 {
    color: #fff;
}

.theme-dark .footer-nav li.sub-title a {
    color: #868c97;
}

.theme-dark a:hover {
    color: inherit;
    text-decoration: none;
}

/*.theme-dark a {*/
/*    color: #868c97;*/
/*}*/

.latest-article-list li {
    margin: 5px 0;
}

.latest-article-list li {
    margin: 5px 0;
}

.tag {
    font-size: 0.75rem;
    color: #6e7687;
    background-color: #e9ecef;
    border-radius: 3px;
    padding: 0 .5rem;
    line-height: 2em;
    display: -ms-inline-flexbox;
    display: inline-flex;
    cursor: default;
    font-weight: 400;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

a.tag {
    text-decoration: none;
    cursor: pointer;
    transition: .3s color, .3s background;
}

a.tag:hover {
    background-color: rgba(110, 118, 135, 0.2);
    color: inherit;
}

.tag-addon {
    display: inline-block;
    padding: 0 .5rem;
    color: inherit;
    text-decoration: none;
    background: rgba(0, 0, 0, 0.06);
    margin: 0 -.5rem 0 .5rem;
    text-align: center;
    min-width: 1.5rem;
}

.tag-addon:last-child {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

.tag-addon i {
    vertical-align: middle;
    margin: 0 -.25rem;
}

a.tag-addon {
    text-decoration: none;
    cursor: pointer;
    transition: .3s color, .3s background;
}

a.tag-addon:hover {
    background: rgba(0, 0, 0, 0.16);
    color: inherit;
}

.tag-avatar {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 3px 0 0 3px;
    margin: 0 .5rem 0 -.5rem;
}

.tag-blue {
    background-color: #467fcf;
    color: #fff;
}

.tag-indigo {
    background-color: #6574cd;
    color: #fff;
}

.tag-purple {
    background-color: #a55eea;
    color: #fff;
}

.tag-pink {
    background-color: #f66d9b;
    color: #fff;
}

.tag-red {
    background-color: #cd201f;
    color: #fff;
}

.tag-orange {
    background-color: #fd9644;
    color: #fff;
}

.tag-yellow {
    background-color: #f1c40f;
    color: #fff;
}

.tag-green {
    background-color: #5eba00;
    color: #fff;
}

.tag-teal {
    background-color: #2bcbba;
    color: #fff;
}

.tag-cyan {
    background-color: #17a2b8;
    color: #fff;
}

.tag-white {
    background-color: #fff;
    color: #fff;
}

.tag-gray {
    background-color: #868e96;
    color: #fff;
}

.tag-gray-dark {
    background-color: #343a40;
    color: #fff;
}

.tag-azure {
    background-color: #45aaf2;
    color: #fff;
}

.tag-lime {
    background-color: #7bd235;
    color: #fff;
}

.tag-primary {
    background-color: #467fcf;
    color: #fff;
}

.tag-secondary {
    background-color: #868e96;
    color: #fff;
}

.tag-success {
    background-color: #5eba00;
    color: #fff;
}

.tag-info {
    background-color: #45aaf2;
    color: #fff;
}

.tag-warning {
    background-color: #f1c40f;
    color: #fff;
}

.tag-danger {
    background-color: #cd201f;
    color: #fff;
}

.tag-light {
    background-color: #f8f9fa;
    color: #fff;
}

.tag-dark {
    background-color: #343a40;
    color: #fff;
}

.tag-rounded {
    border-radius: 50px;
}

.tag-rounded .tag-avatar {
    border-radius: 50px;
}

.tags {
    margin-bottom: 0.65rem;
    font-size: 0;
}

.tags>.tag {
    margin-bottom: .5rem;
}

.tags>.tag:not(:last-child) {
    margin-right: .5rem;
}

.card-aside {
    -ms-flex-direction: row;
    flex-direction: row;
}

.card-aside-column {
    min-width: 5rem;
    width: 30%;
    -ms-flex: 0 0 30%;
    flex: 0 0 30%;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    background: no-repeat center/cover;
}

.card-value {
    font-size: 2.5rem;
    line-height: 3.4rem;
    height: 3.4rem;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    font-weight: 400;
}

.card-value i {
    vertical-align: middle;
}

@media (min-width: 48rem) {
    .empty {
        padding: 3rem 2rem;
    }
}


.position_option {
    width: 70px;
    border: 1px solid #aeaeb2
}

.position_option>*,
.position_option>*>*,
.position_option__item {
    height: 25px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex: 1 1 0%;
    flex: 1 1 0%;
    padding: 0;
    background: none
}

.position_option> :hover {
    background: none
}

.position_option>*>* {
    cursor: pointer;
    border-bottom: 1px dashed #aeaeb2;
    border-right: 1px dashed #aeaeb2;
}

.position_option>*> :hover {
    background: rgba(0, 0, 0, .2)
}

.position_option>*>* .option:last-child {
    border-right: 1px dashed rgba(0, 0, 0, 0)
}

.position_option>.option:last-child {
    border-bottom: 1px dashed rgba(0, 0, 0, 0)
}

.position_option__position:last-child {
    border-right: 0
}

.position_option__row:last-child>* {
    border-bottom: 0
}

.position_option .option--active {
    background: rgba(255, 0, 0, .2);
    position: relative
}

.position_option .option--active:after {
    display: block;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background: #e5322d;
    content: "";
    border-radius: 50%;
    border: 5px;
    position: absolute;
}

.dropdown-item-icon {
    width: 1rem !important;
    height: 1rem !important;
    margin-right: .5rem;
    color: #656d77;
    opacity: .7;
    text-align: center;
}

.empty-title {
    font-size: 1.15rem;
}

.empty-subtitle {
    font-size: 0.95rem;
    opacity: 75%;
}

.empty-icon svg {
    width: 75%;
}

.form-label {
    font-weight: 600;
    text-align: left;
}

.ellipsis-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media all and (min-width: 992px) {
    .navbar .nav-item-hover-expand .dropdown-menu {
        display: none;
    }

    .navbar .nav-item-hover-expand:hover .dropdown-menu {
        display: block;
    }

    .navbar .nav-item-hover-expand .dropdown-menu {
        margin-top: 0;
    }

    .content .media-wrap.image-wrap {
        max-width: 600px;
    }
}

.choices__list {
    text-align: left;
}

.text-left {
    text-align: left;
}

.mu5735 {
    filter: grayscale(100%);
}

.latest-articles ul li.list-item {
    margin: 12px 0;
}

.fit-content {
    max-width: 100%;
    overflow-wrap: anywhere;
}

#navbar-user-mobile {
    display: none !important;
}

/* ───────────────────────────────────
   Mobile Account Panel — Bottom Sheet
   ─────────────────────────────────── */
.mobile-account-panel {
    position: fixed;
    inset: 0;
    z-index: 1055;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .28s ease, visibility .28s ease;
}

.mobile-account-panel.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-account-panel__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.mobile-account-panel__dialog {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: min(85dvh, calc(100dvh - .75rem));
    min-height: min(30rem, calc(100dvh - 6rem));
    background: #ffffff;
    color: #111827;
    border-radius: 28px 28px 0 0;
    transform: translate3d(0, 100%, 0);
    transition: transform .36s cubic-bezier(.32, .72, 0, 1);
    overflow: hidden;
    box-shadow: 0 -12px 48px rgba(0, 0, 0, .12);
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + .875rem);
}

.mobile-account-panel.show .mobile-account-panel__dialog {
    transform: translate3d(0, 0, 0);
}

/* Header */
.mobile-account-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    gap: 1rem;
}

.mobile-account-panel__profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
    flex: 1;
}

.mobile-account-panel__profile-content {
    min-width: 0;
}

.mobile-account-panel__profile-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.015em;
}

.mobile-account-panel__profile-subtitle {
    margin-top: .125rem;
    font-size: .875rem;
    color: #64748b;
    font-weight: 400;
}

.mobile-account-panel__close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    cursor: pointer;
    flex-shrink: 0;
    transition: all .2s ease;
}

.mobile-account-panel__close-btn:hover,
.mobile-account-panel__close-btn:active {
    background: #e2e8f0;
    color: #334155;
    transform: scale(0.96);
}

/* Body */
.mobile-account-panel__body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    overflow-y: auto;
    padding: 0 1.5rem;
    -webkit-overflow-scrolling: touch;
}

/* ── Nav Grid ── */
.mobile-account-panel__nav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .5rem;
    padding: .5rem 0 0;
}

.mobile-account-panel__nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .375rem;
    padding: .75rem .25rem;
    border-radius: 16px;
    text-decoration: none;
    color: #334155;
    font-size: .8125rem;
    font-weight: 500;
    transition: all .2s ease;
}

.mobile-account-panel__nav-item:hover,
.mobile-account-panel__nav-item:active {
    background: rgba(0, 0, 0, 0.04);
    color: #0f172a;
    text-decoration: none;
    transform: scale(0.98);
}

.mobile-account-panel__nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .25rem;
    background: transparent;
    transition: all .2s ease;
}

.nav-icon-blue { color: #3b82f6; }
.nav-icon-slate { color: #64748b; }
.nav-icon-cyan { color: #6366f1; }
.nav-icon-green { color: #10b981; }

.mobile-account-panel__nav-item:hover .nav-icon-blue { color: #2563eb; }
.mobile-account-panel__nav-item:hover .nav-icon-slate { color: #475569; }
.mobile-account-panel__nav-item:hover .nav-icon-cyan { color: #4f46e5; }
.mobile-account-panel__nav-item:hover .nav-icon-green { color: #059669; }

/* ── Summary Row ── */
.mobile-account-panel__summary-row {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    padding-bottom: 0;
}

.mobile-account-panel__summary-chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem 1rem;
    border-radius: 24px;
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, .04);
    font-size: .8125rem;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    transition: all .2s ease;
}

.mobile-account-panel__summary-chip:hover {
    background: #f1f5f9;
    border-color: rgba(0, 0, 0, .08);
    color: #1e293b;
    text-decoration: none;
}

.mobile-account-panel__summary-chip svg {
    flex-shrink: 0;
    opacity: .75;
}

/* ── Extra Links ── */
.mobile-account-panel__extra-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    border-top: 1px solid rgba(226, 232, 240, 1);
    padding-top: .875rem;
    padding-bottom: 0;
}

.mobile-account-panel__extra-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .875rem;
    font-weight: 500;
    color: #64748b;
    text-decoration: none;
    padding: .625rem .75rem;
    border-radius: 12px;
    transition: all .2s ease;
}

.mobile-account-panel__extra-link:hover {
    background: #f1f5f9;
    color: #334155;
    text-decoration: none;
}

.mobile-account-panel__extra-link--danger {
    color: #ef4444;
}

.mobile-account-panel__extra-link--danger:hover {
    background: #fef2f2;
    color: #dc2626;
}

/* ── Body Lock ── */
body.mobile-account-panel-open {
    overflow: hidden;
    touch-action: none;
}

@supports not (height: 1dvh) {
    .mobile-account-panel__dialog {
        max-height: min(85vh, calc(100vh - .75rem));
        min-height: min(30rem, calc(100vh - 6rem));
    }
}

@media (max-height: 760px) {
    .mobile-account-panel__dialog {
        min-height: min(26rem, calc(100dvh - 3.5rem));
    }

    .mobile-account-panel__header {
        padding: .875rem 1.25rem .75rem;
    }

    .mobile-account-panel__body {
        gap: .625rem;
        padding: 0 1.25rem;
    }

    .mobile-account-panel__nav-grid {
        padding-top: .25rem;
    }

    .mobile-account-panel__nav-item {
        padding: .625rem .125rem;
    }
}

/* ────── Dark Mode ────── */
.theme-dark .mobile-account-panel__dialog {
    background: #1e293b;
    color: #f1f5f9;
    box-shadow: 0 -4px 32px rgba(0, 0, 0, .4);
}

.theme-dark .mobile-account-panel__profile-title {
    color: #f9fafb;
}

.theme-dark .mobile-account-panel__profile-subtitle {
    color: #94a3b8;
}

.theme-dark .mobile-account-panel__close-btn {
    background: rgba(255, 255, 255, .08);
    color: #94a3b8;
}

.theme-dark .mobile-account-panel__close-btn:hover {
    background: rgba(255, 255, 255, .14);
    color: #e2e8f0;
}

.theme-dark .mobile-account-panel__nav-item {
    color: #e2e8f0;
}

.theme-dark .mobile-account-panel__nav-item:hover,
.theme-dark .mobile-account-panel__nav-item:active {
    background: rgba(255, 255, 255, .06);
    color: #f1f5f9;
}

.theme-dark .nav-icon-blue { color: #60a5fa; }
.theme-dark .nav-icon-slate { color: #94a3b8; }
.theme-dark .nav-icon-cyan { color: #818cf8; }
.theme-dark .nav-icon-green { color: #34d399; }

.theme-dark .mobile-account-panel__summary-chip {
    background: #283447;
    border-color: rgba(255, 255, 255, .08);
    color: #94a3b8;
}

.theme-dark .mobile-account-panel__summary-chip:hover {
    background: #334155;
    border-color: rgba(255, 255, 255, .16);
    color: #cbd5e1;
}

.theme-dark .mobile-account-panel__extra-links {
    border-top-color: rgba(255, 255, 255, .08);
}

.theme-dark .mobile-account-panel__extra-link {
    color: #94a3b8;
}

.theme-dark .mobile-account-panel__extra-link:hover {
    background: rgba(255, 255, 255, .06);
    color: #e2e8f0;
}

.theme-dark .mobile-account-panel__extra-link--danger {
    color: #f87171;
}

.theme-dark .mobile-account-panel__extra-link--danger:hover {
    background: rgba(248, 113, 113, .1);
    color: #ef4444;
}

/* ────── Responsive Visibility ────── */
@media (max-width: 991.98px) {
    #navbar-user {
        display: none !important;
    }

    /* 仅登录后显示移动端头像；勿用无条件 display:block，否则会盖过 JS 未登录时的隐藏 */
    body.account-logged-in #navbar-user-mobile {
        display: flex !important;
    }
}

@media (min-width: 992px) {
    #navbar-user-mobile {
        display: none !important;
    }

    .mobile-account-panel {
        display: none !important;
    }
}
