.c-p-tp.console-content {
        padding: 20px;
        overflow-x: hidden;
        width: 100%;
        background: #0f1420;
        color: #e8ecf4;
        min-height: 100vh;
    }

    /* HUD 顶部统计卡片 */
    .c-p-tp .hud {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 14px;
        margin-bottom: 18px;
    }

    .c-p-tp .hud-card {
        background: linear-gradient(160deg, #1a2130 0%, #141b28 100%);
        border: 1px solid #263042;
        border-radius: 14px;
        padding: 16px;
        text-align: center;
        position: relative;
        overflow: hidden;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    }

    .c-p-tp .hud-card .hud-label {
        font-size: 13px;
        color: #8b94a8;
        letter-spacing: 1px;
    }

    .c-p-tp .hud-card .hud-value {
        font-size: 2rem;
        font-weight: 700;
        font-family: "JetBrains Mono", Consolas, "Courier New", monospace;
        margin-top: 4px;
        color: #58a6ff;
        line-height: 1.1;
    }

    .c-p-tp .hud-card .hud-unit {
        font-size: 13px;
        color: #8b94a8;
        margin-left: 2px;
        font-weight: 400;
    }

    .c-p-tp .hud-card.accent-green .hud-value {
        color: #3fb950;
    }

    .c-p-tp .hud-card.accent-purple .hud-value {
        color: #bc8cff;
    }

    .c-p-tp .hud-card.accent-red .hud-value {
        color: #f85149;
    }

    .c-p-tp .hud-card .hud-sub {
        font-size: 12px;
        color: #5d6779;
        margin-top: 2px;
    }

    /* 进度条 */
    .c-p-tp .progress-wrap {
        margin-bottom: 16px;
    }

    .c-p-tp .progress-head {
        display: flex;
        justify-content: space-between;
        font-size: 13px;
        color: #8b94a8;
        margin-bottom: 6px;
    }

    .c-p-tp .progress-head b {
        color: #58a6ff;
        font-family: "JetBrains Mono", Consolas, monospace;
    }

    .c-p-tp .progress-bar {
        height: 10px;
        background: #1a2130;
        border-radius: 999px;
        overflow: hidden;
        border: 1px solid #263042;
    }

    .c-p-tp .progress-bar > div {
        height: 100%;
        background: linear-gradient(90deg, #3fb950, #58a6ff);
        border-radius: 999px;
        transition: width 0.15s ease;
    }

    /* 片段选择 */
    .c-p-tp .snippet-panel {
        background: #161d2b;
        border: 1px solid #263042;
        border-radius: 14px;
        padding: 14px 16px;
        margin-bottom: 16px;
    }

    .c-p-tp .snippet-panel .panel-row {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 10px;
    }

    .c-p-tp .snippet-panel .panel-row:last-child {
        margin-bottom: 0;
    }

    .c-p-tp .snippet-panel .panel-label {
        font-size: 13px;
        color: #8b94a8;
        min-width: 64px;
    }

    .c-p-tp .lang-chip {
        padding: 5px 14px;
        border-radius: 999px;
        font-size: 13px;
        border: 1px solid #2a3450;
        color: #aeb8cc;
        cursor: pointer;
        background: transparent;
        transition: all 0.15s;
        text-transform: uppercase;
    }

    .c-p-tp .lang-chip:hover {
        border-color: #58a6ff;
        color: #58a6ff;
    }

    .c-p-tp .lang-chip.active {
        background: #1f6feb;
        border-color: #1f6feb;
        color: #fff;
        box-shadow: 0 2px 8px rgba(31, 111, 235, 0.4);
    }

    .c-p-tp .snippet-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
        gap: 10px;
    }

    .c-p-tp .snippet-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
        border: 1px solid #263042;
        border-radius: 10px;
        padding: 10px 12px;
        cursor: pointer;
        background: #1a2130;
        transition: all 0.15s;
    }

    .c-p-tp .snippet-item:hover {
        border-color: #58a6ff;
        transform: translateY(-1px);
    }

    .c-p-tp .snippet-item.current {
        border-color: #3fb950;
        background: #15251a;
    }

    .c-p-tp .snippet-item .s-title {
        font-size: 13px;
        color: #e8ecf4;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .c-p-tp .snippet-item .s-meta {
        font-size: 11px;
        color: #8b94a8;
        margin-top: 2px;
        white-space: nowrap;
    }

    .c-p-tp .snippet-item .s-lang {
        font-size: 11px;
        color: #3fb950;
        font-family: "JetBrains Mono", Consolas, monospace;
        text-transform: uppercase;
        flex-shrink: 0;
    }

    /* 代码编辑器暗色区 */
    .c-p-tp .editor-wrap {
        background: #0d1117;
        border: 1px solid #222d3f;
        border-radius: 14px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    }

    .c-p-tp .editor-head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 16px;
        background: #161b22;
        border-bottom: 1px solid #222d3f;
        font-size: 13px;
        color: #8b94a8;
    }

    .c-p-tp .editor-head .dot-group {
        display: flex;
        gap: 8px;
    }

    .c-p-tp .editor-head .dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
    }

    .c-p-tp .editor-head .dot.red {
        background: #ff5f56;
    }

    .c-p-tp .editor-head .dot.yellow {
        background: #ffbd2e;
    }

    .c-p-tp .editor-head .dot.green {
        background: #27c93f;
    }

    .c-p-tp .editor-head .file {
        font-family: "JetBrains Mono", Consolas, monospace;
        color: #d4d4d4;
    }

    .c-p-tp pre.code {
        background: #0d1117;
        color: #c9d1d9;
        border-radius: 0;
        padding: 20px;
        font-size: 1.05rem;
        line-height: 1.75;
        font-family: "JetBrains Mono", Consolas, "Courier New", monospace;
        white-space: pre;
        min-height: 220px;
        max-height: 62vh;
        overflow: auto;
        user-select: none;
        -webkit-user-select: none;
        margin: 0;
        outline: none;
        tab-size: 4;
    }

    .c-p-tp pre.code:focus {
        box-shadow: 0 0 0 2px rgba(88, 166, 255, 0.3) inset;
    }

    .c-p-tp pre.code .char {
        border-radius: 2px;
        transition: background 0.05s, color 0.05s;
    }

    .c-p-tp pre.code .char.ok {
        color: #7ee787;
    }

    .c-p-tp pre.code .char.err {
        color: #ff7b72;
        background: rgba(248, 81, 73, 0.18);
    }

    .c-p-tp pre.code .char.current {
        background: #58a6ff;
        color: #0d1117;
        border-radius: 3px;
        animation: blinkCaret 1.1s step-end infinite;
    }

    .c-p-tp pre.code .char.cursor {
        background: rgba(88, 166, 255, 0.25);
        border-left: 2px solid #58a6ff;
        animation: blinkCaret 1.1s step-end infinite;
    }

    @keyframes blinkCaret {
        0%, 100% {
            opacity: 1;
        }
        50% {
            opacity: 0.35;
        }
    }

    .c-p-tp .empty-char {
        display: inline-block;
        white-space: pre;
    }

    .c-p-tp .typing-hint {
        text-align: center;
        color: #8b94a8;
        font-size: 13px;
        padding: 10px;
        margin-top: 10px;
        display: none;
    }

    .c-p-tp .typing-hint.show {
        display: block;
    }

    .c-p-tp .meta {
        color: #8b94a8;
        font-size: 0.9rem;
    }

    /* 结果弹窗内成绩 */
    .c-p-tp .result-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
        margin-top: 8px;
    }

    .c-p-tp .result-grid .rg {
        text-align: center;
        background: #0f1420;
        border: 1px solid #263042;
        border-radius: 10px;
        padding: 14px 6px;
    }

    .c-p-tp .result-grid .rg .v {
        font-size: 1.6rem;
        font-weight: 700;
        color: #58a6ff;
        font-family: "JetBrains Mono", Consolas, monospace;
    }

    .c-p-tp .result-grid .rg .k {
        font-size: 12px;
        color: #8b94a8;
        margin-top: 4px;
    }

    .c-p-tp .result-motivate {
        text-align: center;
        font-size: 15px;
        color: #3fb950;
        margin-top: 16px;
        font-weight: 600;
    }

    .c-p-tp h3.sec-title {
        margin: 22px 0 12px;
        font-size: 16px;
        color: #e8ecf4;
    }

    .c-p-tp .el-table {
        --el-table-border-color: #263042;
        --el-table-header-bg-color: #161d2b;
        --el-table-bg-color: #161d2b;
        --el-table-tr-bg-color: transparent;
        --el-table-row-hover-bg-color: #1a2130;
        --el-table-text-color: #c9d1d9;
        --el-table-header-text-color: #8b94a8;
        border-radius: 10px;
    }

    .c-p-tp .el-pagination {
        display: flex;
        justify-content: center;
        margin-top: 14px;
        --el-pagination-bg-color: #1a2130;
        --el-pagination-button-bg-color: #1a2130;
        --el-pagination-text-color: #c9d1d9;
        --el-pagination-button-color: #c9d1d9;
        --el-pagination-hover-color: #58a6ff;
    }
