.page-console #content {
    background:
        radial-gradient(900px 380px at 18% -60px, rgba(194, 65, 12, 0.08), transparent 55%),
        radial-gradient(800px 320px at 92% 0, rgba(15, 118, 110, 0.08), transparent 50%),
        #f3eee6;
}

.page-console #content > .container-fluid {
    padding-top: 8px;
    padding-bottom: 40px;
}

.console-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 18px;
}

.console-stat {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid #eadfce;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(58, 38, 16, 0.06);
}

.console-stat-copy {
    min-width: 0;
}

.console-stat-label {
    display: block;
    margin-bottom: 6px;
    color: #a18b72;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.console-stat-num {
    display: block;
    color: #1a1208;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
    word-break: break-all;
}

.console-stat-num.is-sm {
    font-size: 16px;
    letter-spacing: -0.01em;
    padding-top: 4px;
}

.page-console .badge-subtle {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.page-console .badge-success-subtle {
    background: #ecfdf5;
    color: #047857;
}

.page-console .badge-danger-subtle {
    background: #fff7ed;
    color: #c2410c;
}

.page-console .badge-secondary-subtle {
    background: #f4efe6;
    color: #7a6a58;
}

.console-stat-ico {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #fff7ed;
    color: #c2410c;
    font-size: 15px;
}

.console-stat.is-money .console-stat-ico {
    background: #ecfdf5;
    color: #047857;
}

.console-stat.is-month .console-stat-ico {
    background: #ecfeff;
    color: #0f766e;
}

.console-stat.is-month-money .console-stat-ico {
    background: #fff1f2;
    color: #be123c;
}

a.console-stat {
    text-decoration: none;
    color: inherit;
}

.console-stat.is-action {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    align-items: center;
    cursor: pointer;
    padding: 14px 16px 14px 18px;
    background:
        radial-gradient(140px 90px at 92% -10%, rgba(255, 237, 213, 0.42), transparent 58%),
        linear-gradient(145deg, #fb923c 0%, #ea580c 38%, #c2410c 72%, #9a3412 100%);
    border: 1px solid rgba(255, 237, 213, 0.35);
    box-shadow:
        0 14px 28px rgba(194, 65, 12, 0.28),
        0 0 0 1px rgba(194, 65, 12, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.32);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.console-stat.is-action::before,
.console-stat.is-action::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.console-stat.is-action::before {
    top: -36px;
    right: -28px;
    width: 108px;
    height: 108px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 0 0 14px rgba(255, 255, 255, 0.06);
}

.console-stat.is-action::after {
    top: 0;
    left: -40%;
    width: 36%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
    transform: skewX(-18deg);
    transition: left 0.45s ease;
}

.console-stat.is-action .console-stat-copy {
    position: relative;
    z-index: 1;
}

.console-stat.is-action .console-stat-label {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.82);
    letter-spacing: 0.08em;
}

.console-stat.is-action .console-stat-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 32px;
    padding: 0 14px 0 14px;
    border-radius: 999px;
    background: #fff;
    color: #c2410c;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 8px 16px rgba(88, 28, 5, 0.18);
}

.console-stat.is-action .console-stat-cta i {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.console-stat.is-action .console-stat-ico {
    position: relative;
    z-index: 1;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 20px;
    box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.1);
}

.console-stat.is-action:hover {
    color: inherit;
    text-decoration: none;
    transform: translateY(-2px);
    background:
        radial-gradient(140px 90px at 92% -10%, rgba(255, 247, 237, 0.5), transparent 58%),
        linear-gradient(145deg, #fdba74 0%, #f97316 36%, #ea580c 70%, #c2410c 100%);
    box-shadow:
        0 20px 36px rgba(194, 65, 12, 0.38),
        0 0 0 1px rgba(255, 237, 213, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.console-stat.is-action:hover::after {
    left: 120%;
}

.console-stat.is-action:hover .console-stat-cta i {
    transform: translateX(3px);
}

.console-stat.is-action.is-off {
    cursor: default;
    filter: grayscale(0.35);
    opacity: 0.78;
}

.console-stat.is-action.is-off:hover {
    transform: none;
}

.console-stat-link {
    display: inline-block;
    margin-top: 6px;
    color: #c2410c;
    font-size: 12px;
    font-weight: 700;
}

.console-stat-link:hover {
    color: #9a3412;
    text-decoration: none;
}

.console-panel {
    background: #fff;
    border: 1px solid #eadfce;
    border-radius: 20px;
    box-shadow: 0 28px 64px rgba(58, 38, 16, 0.1);
    overflow: hidden;
    margin-bottom: 24px;
}

.console-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px 22px;
    background: linear-gradient(180deg, #faf6f0 0%, #fff 100%);
    border-bottom: 1px solid #f0e6d6;
}

.console-panel-head h6 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: #1a1208;
}

.console-panel-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.console-btn,
.console-btn-primary,
.console-btn-ghost {
    border: 0;
    border-radius: 9px;
    padding: 7px 14px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: none;
    line-height: 1.2;
}

.console-btn {
    background: #fff7ed;
    color: #c2410c;
}

.console-btn:hover,
.console-btn:focus {
    background: #ffedd5;
    color: #9a3412;
    box-shadow: none;
}

.console-btn-primary {
    background: linear-gradient(135deg, #c2410c 0%, #9a3412 100%);
    color: #fff;
    box-shadow: 0 6px 14px rgba(194, 65, 12, 0.22);
}

.console-btn-primary:hover,
.console-btn-primary:focus {
    color: #fff;
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
}

.console-btn-ghost {
    background: #f4efe6;
    color: #5c5348;
}

.console-btn-ghost:hover,
.console-btn-ghost:focus {
    background: #ece4d6;
    color: #3f3428;
    box-shadow: none;
}

.console-panel-body {
    padding: 8px 14px 16px;
}

.page-console .dataTables_wrapper {
    padding: 0 8px;
}

.page-console .dataTables_length,
.page-console .dataTables_filter,
.console-toolbar {
    margin: 10px 0 12px;
    color: #7a6a58;
    font-size: 13px;
    font-weight: 600;
}

.console-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 18px;
    padding: 0 8px;
}

.console-toolbar-item {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.page-console .dataTables_length select,
.page-console .dataTables_filter input,
.console-toolbar select,
.console-toolbar input,
.page-console .form-control {
    border: 1px solid #ece4d6;
    border-radius: 10px;
    background: #fbf8f3;
    color: #1a1208;
    height: 34px;
    padding: 4px 10px;
    margin: 0;
}

.page-console .dataTables_length select,
.page-console .dataTables_filter input {
    margin: 0 6px;
}

.page-console .dataTables_length select:focus,
.page-console .dataTables_filter input:focus,
.console-toolbar select:focus,
.console-toolbar input:focus,
.page-console .form-control:focus {
    border-color: #f0b27a;
    box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.12);
    outline: 0;
}

.page-console textarea.form-control {
    height: auto;
    min-height: 80px;
}

.console-toolbar-right {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-left: auto;
}

@media (max-width: 767px) {
    .console-toolbar-right {
        margin-left: 0;
        width: 100%;
    }

    .console-toolbar-right select,
    .console-toolbar-right input {
        flex: 1 1 120px;
        min-width: 0;
    }
}

.page-console table.console-table {
    margin: 0 !important;
    border: 0;
    color: #3f3428;
}

.page-console table.console-table thead th {
    border: 0;
    border-bottom: 1px solid #f0e6d6;
    background: transparent;
    color: #a18b72;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    white-space: nowrap;
    padding: 12px 10px;
    vertical-align: middle;
}

.page-console table.console-table tbody td {
    border: 0;
    border-bottom: 1px solid #f6efe4;
    padding: 14px 10px;
    vertical-align: middle;
    font-size: 13px;
}

.page-console table.console-table tbody tr:hover {
    background: #fbf8f3;
}

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

.page-console table.console-table a {
    color: #c2410c;
    font-weight: 800;
}

.page-console table.console-table a:hover {
    color: #9a3412;
}

.console-no {
    color: #b09a82;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.console-name {
    display: block;
    font-weight: 800;
    color: #1a1208;
    line-height: 1.4;
}

.console-desc {
    color: #7a6a58;
    font-size: 12px;
}

.console-num,
.console-amount {
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.console-amount {
    color: #c2410c;
}

.console-sn {
    color: #5c5348;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12px;
    word-break: break-all;
}

.console-time {
    color: #7a6a58;
    font-size: 12px;
    white-space: nowrap;
}

.console-status,
.console-flag {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.console-status.is-ok,
.console-flag.is-ok {
    background: #ecfdf5;
    color: #047857;
}

.console-status.is-wait,
.console-flag.is-wait {
    background: #fff7ed;
    color: #c2410c;
}

.console-status.is-off,
.console-flag.is-off {
    background: #f4efe6;
    color: #7a6a58;
}

.console-status.is-warn,
.console-flag.is-warn {
    background: #fff1f2;
    color: #be123c;
}

.console-flag.is-info {
    background: #ecfeff;
    color: #0f766e;
}

.page-console .dataTables_info,
.console-page-info {
    color: #a18b72;
    font-size: 12px;
    font-weight: 600;
    padding-top: 14px;
}

.page-console .dataTables_paginate,
.console-page-btn {
    padding-top: 10px;
}

.page-console .page-link {
    border: 1px solid #ece4d6;
    color: #7a6a58;
    font-size: 12px;
    font-weight: 700;
    margin-left: 4px;
    border-radius: 8px !important;
}

.page-console .page-item.active .page-link {
    background: #c2410c;
    border-color: #c2410c;
    color: #fff;
}

.page-console .page-item.disabled .page-link {
    color: #cbbba8;
    background: #fbf8f3;
}

.console-table-wrap {
    position: relative;
    min-height: 120px;
}

.console-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.55);
    z-index: 2;
    display: none;
    align-items: center;
    justify-content: center;
}

.console-overlay.d-flex {
    display: flex !important;
}

.console-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
    margin-bottom: 18px;
}

.console-grid > .console-panel {
    margin-bottom: 0;
    min-width: 0;
}

.console-grid > .console-panel:only-child {
    grid-column: 1 / -1;
}

.page-usercenter .usercenter-split {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    margin-left: -9px;
    margin-right: -9px;
    margin-bottom: 18px;
    max-width: 1080px;
}

.page-usercenter .usercenter-split > .col-6 {
    flex: 1 1 50%;
    max-width: 50%;
    width: 50%;
    padding-left: 9px;
    padding-right: 9px;
}

.page-usercenter .usercenter-split .console-panel {
    height: 100%;
    margin-bottom: 0;
}

.console-panel-head small,
.console-note {
    color: #a18b72;
    font-size: 12px;
    font-weight: 600;
}

.console-field {
    margin-bottom: 16px;
}

.console-field label {
    display: block;
    margin-bottom: 8px;
    color: #7a6a58;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.console-copy {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.console-copy input {
    flex: 1;
    min-width: 0;
    border: 1px solid #ece4d6;
    border-radius: 10px;
    background: #fbf8f3;
    color: #1a1208;
    height: 42px;
    padding: 8px 12px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 13px;
}

.console-copy input:focus {
    border-color: #f0b27a;
    box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.12);
    outline: 0;
}

.console-copy .console-btn-primary {
    padding: 0 16px;
    height: 42px;
}

.console-rule {
    margin-bottom: 14px;
    padding: 14px 16px;
    border: 1px solid #f0e6d6;
    border-radius: 14px;
    background: #fbf8f3;
}

.console-rule:last-child {
    margin-bottom: 0;
}

.console-rule-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #1a1208;
    font-size: 13px;
    font-weight: 800;
}

.console-rule-title i {
    color: #c2410c;
}

.console-rule p,
.console-rule-list {
    margin: 0;
    color: #7a6a58;
    font-size: 12px;
    line-height: 1.8;
}

.console-rule a,
.console-muted a {
    color: #c2410c;
    font-weight: 700;
}

.console-kv {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 4px;
    border-bottom: 1px solid #f6efe4;
}

.console-kv:last-child {
    border-bottom: 0;
}

.console-kv-label {
    color: #a18b72;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.console-kv-value {
    min-width: 0;
    color: #1a1208;
    font-size: 13px;
    font-weight: 700;
    text-align: right;
    word-break: break-all;
}

.console-kv-value a {
    color: #c2410c;
    font-weight: 700;
}

.console-kv-value .console-edit {
    margin-left: 6px;
    color: #c2410c;
}

.console-info-table {
    margin: 0;
    border: 0;
}

.console-info-table td {
    border-color: #f0e6d6;
    padding: 10px 12px;
    font-size: 13px;
}

.console-info-table td:first-child {
    width: 160px;
    color: #a18b72;
    font-weight: 700;
    background: #fbf8f3;
}

.console-tabs {
    margin-bottom: 8px;
    border-bottom: 1px solid #f0e6d6;
}

.console-tabs .nav-link {
    border: 0;
    color: #7a6a58;
    font-size: 13px;
    font-weight: 800;
    padding: 10px 16px;
}

.console-tabs .nav-link.active {
    background: transparent;
    color: #c2410c;
    box-shadow: inset 0 -2px 0 #c2410c;
}

.console-form {
    max-width: 640px;
    margin: 0 auto;
    padding: 12px 8px 8px;
}

.console-form .col-form-label,
.page-console .col-form-label {
    color: #7a6a58;
    font-size: 13px;
    font-weight: 700;
}

.console-submit {
    display: block;
    width: 100%;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #c2410c 0%, #9a3412 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(194, 65, 12, 0.22);
}

.console-submit:hover,
.console-submit:focus {
    color: #fff;
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
}

.console-muted {
    color: #7a6a58;
    font-size: 12px;
    line-height: 1.7;
}

.console-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    background: linear-gradient(180deg, #faf6f0 0%, #fff 100%);
    border-bottom: 1px solid #f0e6d6;
}

.console-hero-copy h6 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 800;
    color: #1a1208;
}

.console-hero-copy p {
    margin: 0;
    color: #7a6a58;
    font-size: 13px;
    line-height: 1.7;
}

.console-hero-copy a {
    color: #c2410c;
    font-weight: 700;
}

.page-console .btn-success.fix,
.page-console table .btn-success.btn-sm {
    border: 0;
    border-radius: 9px;
    padding: 5px 12px;
    background: linear-gradient(135deg, #c2410c 0%, #9a3412 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 6px 14px rgba(194, 65, 12, 0.22);
}

.page-logs table.console-table tbody td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.page-usercenter .console-kv-value .console-sn {
    display: inline;
    font-size: 12px;
}

@media (max-width: 767px) {
    .page-usercenter .usercenter-split {
        max-width: none;
    }

    .page-usercenter .usercenter-split > .col-6 {
        flex: 1 1 50%;
        max-width: 50%;
        width: 50%;
    }

    .page-usercenter .console-panel-head,
    .page-usercenter .console-panel-body {
        padding-left: 10px;
        padding-right: 10px;
    }
}

.console-panel-body .console-hint {
    margin-bottom: 0;
}

.page-console .modal-content {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(194, 65, 12, 0.12);
    box-shadow: 0 16px 40px rgba(58, 38, 16, 0.14);
}

.page-console .modal-header {
    background: linear-gradient(180deg, #faf6f0 0%, #fff 100%);
    border-bottom: 1px solid #f0e6d6;
    padding: 14px 20px;
}

.page-console .modal-title {
    font-size: 16px;
    font-weight: 800;
    color: #1a1208;
}

.page-console .modal-body {
    padding: 16px 20px 8px;
}

.page-console .modal-footer {
    border-top: 1px solid #f0e6d6;
    padding: 12px 20px 16px;
}

.page-console .modal .title,
.page-console .modal label {
    color: #7a6a58;
    font-size: 13px;
    font-weight: 700;
}

.page-console .modal .btn-primary {
    border: 0;
    border-radius: 9px;
    background: linear-gradient(135deg, #c2410c 0%, #9a3412 100%);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 6px 14px rgba(194, 65, 12, 0.22);
}

.page-console .modal .btn-secondary {
    border: 0;
    border-radius: 9px;
    background: #f4efe6;
    color: #5c5348;
    font-weight: 700;
}

.page-console .modal .btn-success {
    border: 0;
    border-radius: 9px;
    background: #ecfdf5;
    color: #047857;
    font-weight: 700;
}

.page-console .modal .alert {
    border: 0;
    border-radius: 12px;
    background: #ecfdf5;
    color: #047857;
}

.page-console .modal .form-control {
    height: auto;
    min-height: 38px;
}

.console-hint {
    margin: 0 0 14px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fff7ed;
    color: #9a3412;
    font-size: 12px;
    line-height: 1.7;
}

.console-hint code {
    color: #c2410c;
    background: transparent;
}

.work-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 16px;
    margin: 14px 0 8px;
}

.work-meta-item {
    min-width: 0;
    color: #7a6a58;
    font-size: 12px;
    font-weight: 600;
}

.work-meta-item b {
    display: block;
    margin-top: 4px;
    color: #1a1208;
    font-size: 13px;
    font-weight: 800;
    word-break: break-all;
}

.work-title {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #1a1208;
}

.work-content {
    border: 1px solid #f0e6d6;
    border-radius: 12px;
    padding: 14px;
    background: #fbf8f3;
    color: #3f3428;
    font-size: 13px;
    line-height: 1.7;
}

.work-thread-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 18px 0 10px;
    font-size: 14px;
    font-weight: 800;
    color: #1a1208;
}

.work-thread-title::before {
    content: "";
    width: 4px;
    height: 14px;
    border-radius: 99px;
    background: #c2410c;
}

.work-thread {
    border: 1px solid #eadfce;
    border-radius: 14px;
    padding: 12px;
    margin-bottom: 12px;
    background: #fff;
}

.work-thread-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.work-thread-user {
    display: flex;
    align-items: center;
    min-width: 0;
    color: #1a1208;
    font-weight: 700;
}

.work-thread-user img {
    width: 28px;
    height: 28px;
    margin-right: 8px;
}

.work-thread-body {
    border-radius: 10px;
    padding: 10px 12px;
    background: #fbf8f3;
    color: #3f3428;
    font-size: 13px;
    line-height: 1.7;
}

.datetimepicker-years,
.datetimepicker-days,
.datetimepicker-hours,
.datetimepicker-minutes,
.datetimepicker-months {
    box-shadow: 0 0.125rem 0.5rem 0 #3a3b451a !important;
}

.datetimepicker-days {
    padding-left: 13px;
}

.datetimepicker table tr td span.active:active,
.datetimepicker table tr td span.active:hover:active,
.datetimepicker table tr td span.active.disabled:active,
.datetimepicker table tr td span.active.disabled:hover:active,
.datetimepicker table tr td span.active.active,
.datetimepicker table tr td span.active:hover.active,
.datetimepicker table tr td span.active.disabled.active,
.datetimepicker table tr td span.active.disabled:hover.active,
.datetimepicker table tr td.active,
.datetimepicker table tr td.active:hover,
.datetimepicker table tr td.active.disabled,
.datetimepicker table tr td.active.disabled:hover {
    background-color: #c2410c !important;
    background-image: none !important;
}

@media screen and (max-width: 800px) {
    .tabnone {
        display: none;
    }
}

@media screen and (min-width: 800px) {
    .tabnone {
        display: table-cell;
    }
}

@media (max-width: 991px) {
    .console-stats,
    .work-meta,
    .console-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .console-stats,
    .work-meta,
    .console-grid {
        grid-template-columns: 1fr;
    }

    .console-stat-num {
        font-size: 22px;
    }

    .console-panel-head,
    .console-panel-body {
        padding-left: 12px;
        padding-right: 12px;
    }
}

.page-console.theme-dark #content {
    background:
        radial-gradient(900px 380px at 18% -60px, rgba(234, 88, 12, 0.12), transparent 55%),
        radial-gradient(800px 320px at 92% 0, rgba(13, 148, 136, 0.1), transparent 50%),
        #1b1e28;
}

.page-console.theme-dark .console-stat,
.page-console.theme-dark .console-panel,
.page-console.theme-dark .work-thread {
    background: #2b2e39;
    border-color: #3d4150;
    box-shadow: 0 28px 64px rgba(0, 0, 0, 0.28);
}

.page-console.theme-dark .console-stat.is-action {
    background:
        radial-gradient(140px 90px at 92% -10%, rgba(255, 237, 213, 0.28), transparent 58%),
        linear-gradient(145deg, #ea580c 0%, #c2410c 48%, #7c2d12 100%);
    border-color: rgba(253, 186, 116, 0.28);
    box-shadow:
        0 16px 32px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.page-console.theme-dark .console-stat.is-action .console-stat-label {
    color: rgba(255, 255, 255, 0.78);
}

.page-console.theme-dark .console-stat.is-action .console-stat-cta {
    background: #fff7ed;
    color: #c2410c;
}

.page-console.theme-dark .console-stat.is-action .console-stat-ico {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.page-console.theme-dark .console-stat.is-action:hover {
    background:
        radial-gradient(140px 90px at 92% -10%, rgba(255, 247, 237, 0.36), transparent 58%),
        linear-gradient(145deg, #f97316 0%, #ea580c 52%, #9a3412 100%);
}

.page-console.theme-dark .console-stat-link {
    color: #fdba74;
}

.page-console.theme-dark .console-panel-head {
    background: linear-gradient(180deg, #323644 0%, #2b2e39 100%);
    border-bottom-color: #3d4150;
}

.page-console.theme-dark .console-panel-head h6,
.page-console.theme-dark .console-stat-num,
.page-console.theme-dark .console-name,
.page-console.theme-dark .work-title,
.page-console.theme-dark .work-thread-title,
.page-console.theme-dark .work-thread-user,
.page-console.theme-dark .work-meta-item b {
    color: #f4efe6;
}

.page-console.theme-dark .console-stat-label,
.page-console.theme-dark .console-desc,
.page-console.theme-dark .console-time,
.page-console.theme-dark .console-no,
.page-console.theme-dark .dataTables_length,
.page-console.theme-dark .dataTables_filter,
.page-console.theme-dark .dataTables_info,
.page-console.theme-dark .console-toolbar,
.page-console.theme-dark .console-page-info,
.page-console.theme-dark table.console-table thead th,
.page-console.theme-dark .work-meta-item {
    color: #9aa3b5;
}

.page-console.theme-dark table.console-table {
    color: #d7deea;
}

.page-console.theme-dark table.console-table thead th,
.page-console.theme-dark table.console-table tbody td {
    border-color: #3d4150;
}

.page-console.theme-dark table.console-table tbody tr:hover {
    background: #323644;
}

.page-console.theme-dark table.console-table a {
    color: #fb923c;
}

.page-console.theme-dark .console-sn {
    color: #c5cde0;
}

.page-console.theme-dark .console-amount {
    color: #fb923c;
}

.page-console.theme-dark .console-stat-ico {
    background: rgba(234, 88, 12, 0.16);
    color: #fdba74;
}

.page-console.theme-dark .console-stat.is-money .console-stat-ico,
.page-console.theme-dark .console-status.is-ok,
.page-console.theme-dark .console-flag.is-ok {
    background: rgba(4, 120, 87, 0.22);
    color: #6ee7b7;
}

.page-console.theme-dark .console-stat.is-month .console-stat-ico,
.page-console.theme-dark .console-flag.is-info {
    background: rgba(13, 148, 136, 0.2);
    color: #5eead4;
}

.page-console.theme-dark .console-stat.is-month-money .console-stat-ico,
.page-console.theme-dark .console-flag.is-warn,
.page-console.theme-dark .console-status.is-warn {
    background: rgba(190, 18, 60, 0.2);
    color: #fda4af;
}

.page-console.theme-dark .console-status.is-wait,
.page-console.theme-dark .console-flag.is-wait {
    background: rgba(234, 88, 12, 0.16);
    color: #fdba74;
}

.page-console.theme-dark .console-status.is-off,
.page-console.theme-dark .console-flag.is-off,
.page-console.theme-dark .badge-secondary-subtle {
    background: #323644;
    color: #9aa3b5;
}

.page-console.theme-dark .badge-success-subtle {
    background: rgba(4, 120, 87, 0.22);
    color: #6ee7b7;
}

.page-console.theme-dark .badge-danger-subtle {
    background: rgba(234, 88, 12, 0.16);
    color: #fdba74;
}

.page-console.theme-dark .console-btn {
    background: rgba(234, 88, 12, 0.16);
    color: #fdba74;
}

.page-console.theme-dark .console-btn-ghost,
.page-console.theme-dark .modal .btn-secondary {
    background: #323644;
    color: #c5cde0;
}

.page-console.theme-dark .dataTables_length select,
.page-console.theme-dark .dataTables_filter input,
.page-console.theme-dark .console-toolbar select,
.page-console.theme-dark .console-toolbar input,
.page-console.theme-dark .form-control {
    background: #323644;
    border-color: #4a4d5a;
    color: #f4efe6;
}

.page-console.theme-dark .page-link {
    background: #323644;
    border-color: #4a4d5a;
    color: #c5cde0;
}

.page-console.theme-dark .page-item.active .page-link {
    background: #ea580c;
    border-color: #ea580c;
}

.page-console.theme-dark .modal-content {
    background: #2b2e39;
    border-color: #3d4150;
}

.page-console.theme-dark .modal-header,
.page-console.theme-dark .modal-footer {
    background: #323644;
    border-color: #3d4150;
}

.page-console.theme-dark .modal-title {
    color: #f4efe6;
}

.page-console.theme-dark .modal .title,
.page-console.theme-dark .modal label {
    color: #9aa3b5;
}

.page-console.theme-dark .console-overlay {
    background: rgba(27, 30, 40, 0.55);
}

.page-console.theme-dark .work-content,
.page-console.theme-dark .work-thread-body {
    background: #323644;
    border-color: #3d4150;
    color: #d7deea;
}

.page-console.theme-dark .console-hint {
    background: rgba(234, 88, 12, 0.16);
    color: #fdba74;
}

.page-console.theme-dark .console-panel-head small,
.page-console.theme-dark .console-note,
.page-console.theme-dark .console-field label,
.page-console.theme-dark .console-rule p,
.page-console.theme-dark .console-rule-list {
    color: #9aa3b5;
}

.page-console.theme-dark .console-copy input {
    background: #323644;
    border-color: #4a4d5a;
    color: #f4efe6;
}

.page-console.theme-dark .console-rule {
    background: #323644;
    border-color: #3d4150;
}

.page-console.theme-dark .console-rule-title {
    color: #f4efe6;
}

.page-console.theme-dark .console-kv {
    border-bottom-color: #3d4150;
}

.page-console.theme-dark .console-kv-label,
.page-console.theme-dark .console-muted,
.page-console.theme-dark .console-hero-copy p,
.page-console.theme-dark .console-tabs .nav-link,
.page-console.theme-dark .console-form .col-form-label,
.page-console.theme-dark .col-form-label {
    color: #9aa3b5;
}

.page-console.theme-dark .console-kv-value,
.page-console.theme-dark .console-hero-copy h6 {
    color: #f4efe6;
}

.page-console.theme-dark .console-kv-value a,
.page-console.theme-dark .console-kv-value .console-edit,
.page-console.theme-dark .console-hero-copy a,
.page-console.theme-dark .console-tabs .nav-link.active {
    color: #fb923c;
}

.page-console.theme-dark .console-hero,
.page-console.theme-dark .console-tabs {
    background: linear-gradient(180deg, #323644 0%, #2b2e39 100%);
    border-color: #3d4150;
}

.page-console.theme-dark .console-info-table td {
    border-color: #3d4150;
    color: #d7deea;
}

.page-console.theme-dark .console-info-table td:first-child {
    background: #323644;
    color: #9aa3b5;
}

.page-console.theme-dark .modal .alert {
    background: rgba(4, 120, 87, 0.22);
    color: #6ee7b7;
}

.page-console.theme-dark .modal .btn-success {
    background: rgba(4, 120, 87, 0.22);
    color: #6ee7b7;
}

.spinner-border-sm {
    vertical-align: -0.125em;
    margin-right: 0.5rem !important;
}

.page-key .key-radios {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 8px;
}

.page-key #check_text,
.page-key #sk {
    width: 100%;
}

.page-key #radiotext {
    font-size: 13px;
    line-height: 1.7;
    color: #5c5348;
}

.page-apilist .btn-outline-primary {
    color: #c2410c !important;
    border-color: #c2410c !important;
    background-color: transparent !important;
}

.page-apilist .btn-outline-primary:hover,
.page-apilist .btn-outline-primary.active,
.page-apilist .btn-outline-primary:not(:disabled):not(.disabled).active {
    color: #fff !important;
    background-color: #c2410c !important;
    border-color: #c2410c !important;
}

.page-apilist .text-primary,
.page-apilist .card-header a,
.page-apilist .page-link {
    color: #c2410c !important;
}

.page-apilist .card {
    border-color: #eadfce;
}

.page-apilist .card-header {
    background: linear-gradient(180deg, #faf6f0 0%, #fff 100%);
    border-bottom-color: #f0e6d6;
}

.page-apilist .app:hover {
    box-shadow: 0px 2px 24px 10px rgba(194, 65, 12, 0.18) !important;
}

.page-apilist .page-item.active .page-link {
    color: #fff !important;
    background-color: #c2410c !important;
    border-color: #c2410c !important;
}

.page-apilist .appicon > svg {
    color: #c2410c !important;
}

.page-apilist .badge-primary-subtle {
    color: #c2410c !important;
    background-color: rgba(194, 65, 12, 0.12) !important;
}

.page-home .home-charts,
.page-home .home-rank {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    gap: 18px;
    margin-bottom: 18px;
    align-items: stretch;
}

.page-home:not(.has-posts) .home-charts {
    grid-template-columns: 1.5fr 1fr;
}

.page-home .home-charts .console-panel,
.page-home .home-rank .console-panel,
.page-home .home-side .console-panel {
    margin-bottom: 18px;
}

.page-home .home-side .console-panel:last-child {
    margin-bottom: 0;
}

.page-home .chart-area,
.page-home .chart-bar {
    position: relative;
    height: 280px;
}

.page-home .chart-pie {
    position: relative;
    height: 220px;
}

.page-home .home-links-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.page-home .home-link-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #5c5348;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.page-home .home-link-item:hover {
    color: #c2410c;
    text-decoration: none;
}

.page-home .home-todos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.page-home .home-todo {
    display: block;
    padding: 12px 10px;
    border-radius: 12px;
    background: #fbf8f3;
    border: 1px solid #f0e6d6;
    color: inherit;
    text-decoration: none;
}

.page-home .home-todo:hover {
    color: inherit;
    text-decoration: none;
    border-color: #f0b27a;
}

.page-home .home-todo span {
    display: block;
    margin-bottom: 6px;
    color: #a18b72;
    font-size: 12px;
    font-weight: 700;
}

.page-home .home-todo b {
    color: #c2410c;
    font-size: 20px;
    font-weight: 800;
}

.page-home .home-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.page-home .home-nav .console-btn {
    width: 100%;
    text-align: center;
}

.page-home .home-bgm {
    padding: 0;
    overflow: hidden;
}

.page-home #bgmbody,
.page-home .aplayer-body,
.page-home .aplayer-pic,
.page-home .aplayer-info {
    height: 105px !important;
}

.page-home .aplayer-lrc {
    height: 40px !important;
}

.page-home #progress h4 {
    margin: 0 0 6px;
    overflow: hidden;
    color: #7a6a58;
    font-size: 12px;
    font-weight: 700;
}

.page-home #progress h4 a {
    color: #5c5348;
    font-weight: 800;
}

.page-home #progress h4 a:hover {
    color: #c2410c;
    text-decoration: none;
}

.page-home #progress .progress {
    height: 8px;
    margin-bottom: 12px;
    background: #f4efe6;
    border-radius: 999px;
    overflow: hidden;
}

.page-home #progress .progress-bar {
    background: linear-gradient(135deg, #c2410c 0%, #9a3412 100%);
}

.page-home .home-empty {
    max-width: 720px;
    margin: 24px auto;
}

.page-home .home-empty-title {
    margin: 24px 0 12px;
    color: #1a1208;
    font-weight: 800;
}

.page-home .home-empty-art {
    height: 180px;
    margin-top: 24px;
    background: url(../img/home.svg) center / contain no-repeat;
}

@media (max-width: 1199px) {
    .page-home .home-charts,
    .page-home .home-rank,
    .page-home:not(.has-posts) .home-charts {
        grid-template-columns: 1fr 1fr;
    }

    .page-home .home-side {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .page-home .home-charts,
    .page-home .home-rank,
    .page-home:not(.has-posts) .home-charts {
        grid-template-columns: 1fr;
    }

    .page-key .console-copy {
        flex-wrap: wrap;
    }

    .page-key .console-copy input[type="text"] {
        flex: 1 1 100%;
    }
}

.page-console.theme-dark .home-todo {
    background: #2b2e39;
    border-color: #3d4150;
    color: #d7deea;
}

.page-console.theme-dark .home-empty-title {
    color: #f4efe6;
}

.page-console.theme-dark .home-todo span,
.page-console.theme-dark .home-link-item,
.page-console.theme-dark #progress h4,
.page-console.theme-dark #progress h4 a,
.page-console.theme-dark #radiotext {
    color: #9aa3b5;
}

.page-console.theme-dark .home-todo {
    border-color: #3d4150;
}

.page-console.theme-dark #progress .progress {
    background: #323644;
}

.page-console.theme-dark.page-apilist .card,
.page-console.theme-dark.page-apilist .card-header {
    background: #2b2e39;
    border-color: #3d4150;
}

.page-console.theme-dark.page-apilist .text-primary,
.page-console.theme-dark.page-apilist .card-header a,
.page-console.theme-dark.page-apilist .btn-outline-primary,
.page-console.theme-dark.page-apilist .page-link {
    color: #fb923c !important;
}

.page-console.theme-dark.page-apilist .btn-outline-primary {
    border-color: #fb923c;
}

.page-console.theme-dark.page-apilist .btn-outline-primary.active,
.page-console.theme-dark.page-apilist .btn-outline-primary:hover {
    color: #fff !important;
    background-color: #c2410c;
    border-color: #c2410c;
}
