html, body {
        overflow: hidden;
    }
    .question-edit-container {
        display: flex;
        position: fixed;
        top: var(--base-top-nav-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: #1e1e1e;
        color: #d4d4d4;
        overflow: hidden;
    }

    .editor-panel {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .editor-toolbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 15px;
        background: #2d2d2d;
        border-bottom: 1px solid #3c3c3c;
    }

    .language-select-wrapper {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .language-select {
        width: 150px;
        background: #3c3c3c;
        border: 1px solid #4c4c4c;
        color: #d4d4d4;
    }

    .language-select .el-input__inner {
        background: #3c3c3c;
        border: 1px solid #4c4c4c;
        color: #d4d4d4;
    }

    .language-select .el-input__inner:hover {
        border-color: #5c5c5c;
    }

    .language-select .el-input__inner:focus {
        border-color: #61afef;
    }

    .language-loading {
        color: #888;
        font-size: 0.85rem;
    }

    .editor-toolbar .btn {
        padding: 8px 20px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 0.9rem;
    }

    .btn-input {
        background: #6a6a6a;
        color: #fff;
    }

    .btn-input:hover {
        background: #888;
    }

    .btn-run {
        background: #4ec9b0;
        color: #1e1e1e;
    }

    .btn-run:hover {
        background: #5ee0c6;
    }

    .btn-submit {
        background: #61afef;
        color: #1e1e1e;
    }

    .btn-submit:hover {
        background: #72c5f5;
    }

    .editor-wrapper {
        flex: 1;
        position: relative;
    }

    #ace-editor {
        width: 100%;
        height: 100%;
        font-size: 14px;
        line-height: 1.5;
    }

    .result-panel {
        height: 250px;
        border-top: 1px solid #3c3c3c;
        background: #1e1e1e;
        display: none;
    }

    .result-panel.show {
        display: flex;
        flex-direction: column;
    }

    .result-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 8px 15px;
        background: #2d2d2d;
        border-bottom: 1px solid #3c3c3c;
    }

    .result-header .status {
        font-size: 0.85rem;
    }

    .result-header .status.success {
        color: #4ec9b0;
    }

    .result-header .status.error {
        color: #f14c4c;
    }

    .result-close {
        background: none;
        border: none;
        color: #888;
        cursor: pointer;
        font-size: 1.2rem;
    }

    .result-content {
        flex: 1;
        overflow-y: auto;
        padding: 15px;
        font-family: 'Consolas', 'Monaco', monospace;
        font-size: 0.9rem;
        white-space: pre-wrap;
        word-break: break-word;
    }

    .input-panel {
        height: 280px;
        border-top: 1px solid #3c3c3c;
        background: #1e1e1e;
        display: none;
    }

    .input-panel.show {
        display: flex;
        flex-direction: column;
    }

    .input-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 8px 15px;
        background: #2d2d2d;
        border-bottom: 1px solid #3c3c3c;
    }

    .input-header .title {
        font-size: 0.85rem;
    }

    .input-toggle {
        background: none;
        border: none;
        color: #888;
        cursor: pointer;
        font-size: 1.2rem;
    }

    .input-content {
        flex: 1;
        padding: 10px;
    }

    .input-content textarea {
        width: 100%;
        height: 100%;
        background: #1e1e1e;
        color: #d4d4d4;
        border: 1px solid #3c3c3c;
        border-radius: 4px;
        padding: 10px;
        font-family: 'Consolas', 'Monaco', monospace;
        font-size: 0.9rem;
        resize: none;
        outline: none;
    }

    .input-content textarea:focus {
        border-color: #4ec9b0;
    }

    .result-content .error {
        color: #f14c4c;
    }

    /* 复制按钮样式 */
    .question-content pre {
        position: relative;
    }

    .copy-btn-container {
        position: absolute;
        top: 8px;
        right: 8px;
        display: flex;
        gap: 6px;
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: 10;
    }

    .question-content pre:hover .copy-btn-container {
        opacity: 1;
    }

    .copy-btn,
    .input-btn {
        padding: 4px 10px;
        font-size: 12px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-weight: 600;
        transition: background-color 0.3s ease;
    }

    .copy-btn {
        background-color: #4ec9b0;
        color: #1e1e1e;
    }

    .copy-btn:hover {
        background-color: #5ee0c6;
    }

    .input-btn {
        background-color: #61afef;
        color: #1e1e1e;
    }

    .input-btn:hover {
        background-color: #72c5f5;
    }

    .copy-btn.copied,
    .input-btn.copied {
        background-color: #27ae60;
        color: #fff;
    }

    /* 两栏布局样式 */
    .input-columns {
        display: flex;
        /* gap: 15px; */
        flex: 1;
        overflow: hidden;
    }

    .input-column-left {
        flex: 2;
        display: flex;
        flex-direction: column;
        padding: 10px;
    }

    .input-column-left textarea {
        flex: 1;
        width: 100%;
        background: #1e1e1e;
        color: #d4d4d4;
        border: 1px solid #3c3c3c;
        border-radius: 4px;
        padding: 10px;
        font-family: 'Consolas', 'Monaco', monospace;
        font-size: 0.9rem;
        resize: none;
        outline: none;
    }

    .input-column-left textarea:focus {
        border-color: #4ec9b0;
    }

    .input-column-right {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }

    .limit-input-group {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .limit-input-group .label {
        font-size: 0.85rem;
        color: #888;
    }

    .limit-input-wrapper {
        display: flex;
        align-items: center;
        background: #1e1e1e;
        border: 1px solid #3c3c3c;
        border-radius: 4px;
        overflow: hidden;
    }

    .limit-input-wrapper:focus-within {
        border-color: #4ec9b0;
    }

    .limit-input-wrapper input {
        flex: 1;
        background: transparent;
        border: none;
        color: #d4d4d4;
        padding: 8px 10px;
        font-family: 'Consolas', 'Monaco', monospace;
        font-size: 0.9rem;
        outline: none;
        min-width: 0;
    }

    .limit-input-wrapper .unit {
        background: #2d2d2d;
        color: #888;
        padding: 8px 12px;
        font-size: 0.85rem;
        border-left: 1px solid #3c3c3c;
        white-space: nowrap;
    }
