/* Alcheth 高级格式样式 */

/* 全局格式化容器样式 */
.message-text {
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
}

.message-text img, 
.message-text video, 
.message-text iframe {
    max-width: 100%;
    height: auto;
}

/* 表格样式 */
.table-container {
    width: 100%;
    overflow-x: auto;
    margin: 15px 0;
}

.simple-table, .bordered-table, .fancy-table {
    width: 100%;
}

.simple-table {
    border-collapse: collapse;
    background: rgba(30, 21, 72, 0.3);
}

.simple-table td {
    padding: 8px 12px;
    border: 1px solid rgba(194, 139, 55, 0.3);
}

.bordered-table {
    border-collapse: collapse;
    background: rgba(30, 21, 72, 0.3);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.bordered-table th {
    padding: 10px;
    background: rgba(194, 139, 55, 0.2);
    color: #c28b37;
    font-weight: bold;
    text-align: left;
    border: 1px solid rgba(194, 139, 55, 0.5);
}

.bordered-table td {
    padding: 8px 10px;
    border: 1px solid rgba(194, 139, 55, 0.3);
}

.fancy-table {
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    background: rgba(30, 21, 72, 0.4);
}

.fancy-table th {
    padding: 12px 15px;
    background: linear-gradient(45deg, rgba(194, 139, 55, 0.4), rgba(139, 99, 36, 0.5));
    color: #f0e6d2;
    font-weight: bold;
    text-align: left;
    border-bottom: 2px solid rgba(194, 139, 55, 0.6);
}

.fancy-table td {
    padding: 10px 15px;
    border-bottom: 1px solid rgba(194, 139, 55, 0.2);
}

.fancy-table tr:last-child td {
    border-bottom: none;
}

.fancy-table tr:nth-child(even) {
    background: rgba(194, 139, 55, 0.1);
}

.fancy-table tr:hover {
    background: rgba(194, 139, 55, 0.2);
}

/* 对话和消息样式 */
.dialogue {
    margin: 10px 0;
    padding: 8px 12px;
    background: rgba(30, 21, 72, 0.3);
    border-left: 3px solid #c28b37;
    border-radius: 4px;
    word-break: break-word;
}

.character-name {
    font-weight: bold;
    color: #c28b37;
}

.dialogue-content {
    color: #f0e6d2;
}

.system-message {
    margin: 8px 0;
    padding: 6px 10px;
    color: rgba(240, 230, 210, 0.8);
    font-style: italic;
    background: rgba(19, 13, 45, 0.4);
    border-radius: 4px;
    word-break: break-word;
    overflow-wrap: break-word;
}

.special-command {
    display: inline-block;
    padding: 3px 6px;
    background: rgba(194, 139, 55, 0.2);
    color: #c28b37;
    border-radius: 3px;
    font-weight: bold;
    word-break: break-word;
}

.l3-command {
    margin: 10px 0;
    padding: 8px 12px;
    background: rgba(120, 81, 169, 0.2);
    border-left: 3px solid #9c61d5;
    color: #bb99e5;
    border-radius: 4px;
    word-break: break-word;
}

/* 颜色预览样式 */
.color-preview {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 5px;
    border-radius: 3px;
    border: 1px solid rgba(194, 139, 55, 0.3);
    vertical-align: middle;
}

.color-code {
    display: inline-block;
    padding: 2px 5px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    font-family: monospace;
    font-size: 0.9em;
}

.color-name {
    font-weight: bold;
    text-shadow: 0 0 5px currentColor;
}

/* 代码块样式 - 修复溢出问题 */
.code-block-wrapper {
    position: relative;
    margin: 15px 0;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    border-left: 3px solid #c28b37;
}

.code-block {
    margin: 0;
    padding: 12px 15px 12px 15px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    width: 100%;
    box-sizing: border-box;
    background: transparent;
    border-left: none;
}

.code-block code {
    display: block;
    white-space: pre;
    word-wrap: normal;
    padding-top: 25px;
    font-size: 0.95em;
    line-height: 1.5;
}

.code-language-tag {
    position: absolute;
    top: 0;
    right: 0;
    padding: 3px 8px;
    font-size: 0.75rem;
    background: rgba(0, 0, 0, 0.5);
    color: #c28b37;
    border-radius: 0 8px 0 8px;
    font-family: 'Segoe UI', sans-serif;
    z-index: 2;
}

.lua-code {
    border-left-color: #5180b3;
}

.lua-code .code-language-tag {
    color: #5180b3;
}

/* log类型代码块的特殊样式 */
.log-code {
    background: rgba(30, 21, 72, 0.7) !important;
    border-left-color: #c28b37 !important;
    font-family: 'Consolas', 'Monaco', monospace !important;
}

.log-code code {
    color: #f0e6d2 !important;
}

.log-code .code-language-tag {
    background: rgba(194, 139, 55, 0.3) !important;
}

/* 代码块内的系统消息标签样式 */
.code-block .code-init-tag {
    color: #4169e1 !important;
    font-weight: bold !important;
    text-shadow: 0 0 5px rgba(65, 105, 225, 0.5) !important;
    background: rgba(65, 105, 225, 0.1) !important;
    padding: 0 3px !important;
    border-radius: 3px !important;
    margin-right: 5px !important;
    display: inline-block !important;
}

.code-block .code-warning-tag {
    color: #ff4500 !important;
    font-weight: bold !important;
    text-shadow: 0 0 5px rgba(255, 69, 0, 0.5) !important;
    background: rgba(255, 69, 0, 0.1) !important;
    padding: 0 3px !important;
    border-radius: 3px !important;
    margin-right: 5px !important;
    display: inline-block !important;
}

.code-block .code-notice-tag {
    color: #1e90ff !important;
    font-weight: bold !important;
    text-shadow: 0 0 5px rgba(30, 144, 255, 0.5) !important;
    background: rgba(30, 144, 255, 0.1) !important;
    padding: 0 3px !important;
    border-radius: 3px !important;
    margin-right: 5px !important;
    display: inline-block !important;
}

.code-block .code-error-tag {
    color: #ff3333 !important;
    font-weight: bold !important;
    text-shadow: 0 0 5px rgba(255, 51, 51, 0.5) !important;
    background: rgba(255, 51, 51, 0.1) !important;
    padding: 0 3px !important;
    border-radius: 3px !important;
    margin-right: 5px !important;
    display: inline-block !important;
}

.code-block .code-success-tag {
    color: #4caf50 !important;
    font-weight: bold !important;
    text-shadow: 0 0 5px rgba(76, 175, 80, 0.5) !important;
    background: rgba(76, 175, 80, 0.1) !important;
    padding: 0 3px !important;
    border-radius: 3px !important;
    margin-right: 5px !important;
    display: inline-block !important;
}

/* Lua代码块特别样式 */
.lua-code .code-init-tag,
.lua-code .code-warning-tag,
.lua-code .code-notice-tag,
.lua-code .code-error-tag,
.lua-code .code-success-tag {
    font-family: 'Consolas', 'Monaco', monospace !important;
}

/* 确保代码块内的系统标签优先级高于其它样式 */
.code-block span[class^="code-"][class$="-tag"] {
    font-family: 'Consolas', 'Monaco', monospace !important;
    display: inline-block !important;
}

/* 数学公式样式 */
.math-formula {
    margin: 10px 0;
    padding: 8px 12px;
    background: rgba(30, 21, 72, 0.3);
    border-radius: 5px;
    border-left: 3px solid #81c3dd;
    font-family: 'Times New Roman', serif;
    font-style: italic;
    text-align: center;
    overflow-x: auto;
    white-space: nowrap;
}

/* 炼金公式样式 */
.alchemy-formula {
    display: inline-block;
    padding: 3px 6px;
    background: rgba(194, 139, 55, 0.15);
    border: 1px solid rgba(194, 139, 55, 0.3);
    border-radius: 4px;
    color: #c28b37;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* 系统消息增强样式 */
.alcheth-init, .alcheth-warning, .alcheth-notice, .alcheth-error, .alcheth-success {
    padding: 10px 15px;
    margin: 12px 0;
    border-radius: 6px;
    position: relative;
    animation: message-glow 2s infinite alternate;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    overflow-wrap: break-word;
    word-break: break-word;
    width: 100%;
    box-sizing: border-box;
}

/* 系统标签样式 */
.system-tag {
    font-weight: bold;
    margin-right: 8px;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    background: rgba(0, 0, 0, 0.2);
}

/* INIT样式 - 蓝色主题 */
.alcheth-init {
    background: rgba(65, 105, 225, 0.15);
    border-left: 3px solid #4169e1;
    color: #87cefa;
}

.alcheth-init .system-tag {
    color: #4169e1;
}

.alcheth-init i {
    color: #4169e1;
    margin-right: 8px;
}

/* WARNING样式 - 红色主题 */
.alcheth-warning {
    background: rgba(255, 69, 0, 0.15);
    border-left: 3px solid #ff4500;
    color: #ff8c69;
}

.alcheth-warning .system-tag {
    color: #ff4500;
}

.alcheth-warning i {
    color: #ff4500;
    margin-right: 8px;
}

/* NOTICE样式 - 青色主题 */
.alcheth-notice {
    background: rgba(30, 144, 255, 0.15);
    border-left: 3px solid #1e90ff;
    color: #87cefa;
}

.alcheth-notice .system-tag {
    color: #1e90ff;
}

.alcheth-notice i {
    color: #1e90ff;
    margin-right: 8px;
}

/* ERROR样式 - 深红色主题 */
.alcheth-error {
    background: rgba(183, 28, 28, 0.15);
    border-left: 3px solid #b71c1c;
    color: #ef9a9a;
}

.alcheth-error .system-tag {
    color: #b71c1c;
}

.alcheth-error i {
    color: #b71c1c;
    margin-right: 8px;
}

/* SUCCESS样式 - 绿色主题 */
.alcheth-success {
    background: rgba(76, 175, 80, 0.15);
    border-left: 3px solid #4caf50;
    color: #a5d6a7;
}

.alcheth-success .system-tag {
    color: #4caf50;
}

.alcheth-success i {
    color: #4caf50;
    margin-right: 8px;
}

/* 系统消息轻微发光动画 */
@keyframes message-glow {
    from {
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }
    to {
        box-shadow: 0 2px 15px rgba(194, 139, 55, 0.3);
    }
}

/* 旧版警告和通知样式 - 保留向后兼容 */
.alcheth-warning, .alcheth-notice {
    padding: 8px 12px;
    margin: 10px 0;
    border-radius: 4px;
    word-break: break-word;
    overflow-wrap: break-word;
    width: 100%;
    box-sizing: border-box;
}

/* 模块标题样式 */
.module-title {
    display: flex;
    align-items: center;
    margin: 20px 0 15px 0;
    font-size: 1.2rem;
    color: #c28b37;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.module-title::before,
.module-title::after {
    content: '◆';
    margin: 0 10px;
    flex-shrink: 0;
}

/* 材料样式 */
.material-item {
    display: inline-block;
    margin: 5px;
    padding: 4px 10px;
    background: rgba(194, 139, 55, 0.15);
    border: 1px solid rgba(194, 139, 55, 0.3);
    border-radius: 15px;
    color: #c28b37;
    word-break: break-word;
}

/* 改进的引用样式 */
blockquote {
    margin: 10px 0;
    padding: 10px 15px;
    border-left: 3px solid #c28b37;
    background: rgba(30, 21, 72, 0.3);
    color: #f0e6d2;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* 改进代码高亮样式 */
.hljs-keyword, .hljs-selector-tag, .hljs-built_in, .hljs-name {
    color: #c792ea;
}

.hljs-string, .hljs-attr, .hljs-selector-id, .hljs-selector-class {
    color: #c3e88d;
}

.hljs-comment, .hljs-quote {
    color: #676e95;
    font-style: italic;
}

.hljs-number, .hljs-literal {
    color: #f78c6c;
}

.hljs-symbol, .hljs-variable, .hljs-template-variable {
    color: #ff5370;
}

/* 防止嵌套元素样式冲突 */
.alchemy-formula .system-message,
.system-message .alchemy-formula,
.dialogue .system-message,
.system-message .dialogue,
.alchemy-formula .dialogue,
.dialogue .alchemy-formula {
    display: inline;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
}

/* 防止嵌套标签样式冲突 */
.alchemy-formula div,
.system-message span,
.dialogue div,
.dialogue span {
    display: inline;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
}

/* 确保所有HTML标签在公式中被正确显示 */
.alchemy-formula,
.system-message,
.dialogue {
    white-space: normal;
}

/* 特殊字符显示优化 */
.alchemy-formula .greek-symbol,
.system-message .greek-symbol {
    font-family: 'Symbol', 'Times New Roman', serif;
}

/* 识别特殊符号 */
.delta-symbol, 
.gamma-symbol, 
.lambda-symbol, 
.pi-symbol {
    font-family: 'Symbol', 'Times New Roman', serif;
    font-style: normal;
    font-weight: normal;
}

.delta-symbol { color: #5180b3; }
.gamma-symbol { color: #c3e88d; }
.lambda-symbol { color: #c792ea; }
.pi-symbol { color: #f78c6c; }

/* 响应式媒体查询 */
@media screen and (max-width: 767px) {
    .code-block code {
        font-size: 0.85em;
    }
    
    .fancy-table th, .fancy-table td {
        padding: 8px 10px;
    }
}

/* 模块切换消息样式 */
.message.module-switch-message {
    background: rgba(30, 21, 72, 0.3);
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 3px solid #8b6324;
    animation: module-switch-glow 2s ease-in-out 1;
}

@keyframes module-switch-glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(194, 139, 55, 0.3);
    }
    50% {
        box-shadow: 0 0 15px rgba(194, 139, 55, 0.6);
    }
}

.module-switch-user {
    font-weight: bold;
    color: #81c3dd;
}

.module-switch-cmd {
    color: #f0e6d2;
}

.module-switch-arrow {
    display: inline-block;
    margin: 0 8px;
    color: #c28b37;
    font-weight: bold;
    animation: arrow-pulse 1.5s infinite;
}

@keyframes arrow-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

.module-switch-result {
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 4px;
}

/* 不同模块的颜色样式 */
.module-炼金工坊 {
    color: #ffcc00;
    background: rgba(255, 204, 0, 0.1);
}

.module-材料室 {
    color: #4caf50;
    background: rgba(76, 175, 80, 0.1);
}

.module-档案室 {
    color: #2196f3;
    background: rgba(33, 150, 243, 0.1);
}

.module-疗养仓 {
    color: #e91e63;
    background: rgba(233, 30, 99, 0.1);
}

.module-炼金茶会 {
    color: #9c27b0;
    background: rgba(156, 39, 176, 0.1);
}

.module-main {
    color: #c28b37;
    background: rgba(194, 139, 55, 0.1);
}

.message-time-special {
    text-align: right;
    font-size: 0.8rem;
    color: rgba(240, 230, 210, 0.5);
    margin-bottom: 5px;
}

.message-content-special {
    line-height: 1.5;
}

/* 系统消息居中样式 */
.message.system-message {
    justify-content: center;
    margin: 15px 0;
}

.system-message-content {
    text-align: center;
    background: rgba(30, 21, 72, 0.5);
    padding: 10px 20px;
    border-radius: 20px;
    border: 1px solid rgba(194, 139, 55, 0.3);
    display: inline-block;
    max-width: 90%;
    animation: system-message-fade 0.5s ease-in-out;
}

@keyframes system-message-fade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.system-message-icon {
    color: #c28b37;
    margin-right: 8px;
}

.system-message-text {
    color: #f0e6d2;
}

/* 增强的加载动画样式 */
@keyframes liquid-bubble {
    0%, 100% {
        height: 45px;
        background: linear-gradient(90deg, #8b6324, #c28b37);
    }
    25% {
        background: linear-gradient(90deg, #8b6324, #9a7330, #c28b37);
    }
    50% {
        height: 55px;
        background: linear-gradient(90deg, #9a7330, #c28b37, #8b6324);
    }
    75% {
        background: linear-gradient(90deg, #c28b37, #8b6324, #9a7330);
    }
}

.liquid {
    position: absolute;
    width: 100%;
    height: 50px;
    background: linear-gradient(90deg, #8b6324, #c28b37);
    bottom: 0;
    animation: liquid-bubble 4s ease-in-out infinite;
}

/* 气泡动画增强 */
@keyframes bubble-rise {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.7;
    }
    50% {
        opacity: 0.9;
    }
    100% {
        transform: translateY(-65px) scale(1.8);
        opacity: 0;
    }
}

/* 新增闪光效果 */
@keyframes cauldron-glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(194, 139, 55, 0.4);
    }
    50% {
        box-shadow: 0 0 20px rgba(194, 139, 55, 0.7), 0 0 30px rgba(194, 139, 55, 0.3);
    }
}

.cauldron-body {
    position: absolute;
    width: 100px;
    height: 80px;
    background: #1e1548;
    border: 3px solid #c28b37;
    border-radius: 50% 50% 10% 10% / 80% 80% 20% 20%;
    top: 0;
    left: 10px;
    overflow: hidden;
    animation: cauldron-glow 3s ease-in-out infinite;
}

/* 使气泡更随机 */
.bubble-1 {
    width: 10px;
    height: 10px;
    left: 20px;
    animation: bubble-rise 2.7s ease-in-out infinite;
    animation-delay: 0.2s;
}

.bubble-2 {
    width: 15px;
    height: 15px;
    left: 40px;
    animation: bubble-rise 3.1s ease-in-out infinite;
    animation-delay: 0.5s;
}

.bubble-3 {
    width: 8px;
    height: 8px;
    left: 65px;
    animation: bubble-rise 2.5s ease-in-out infinite;
    animation-delay: 0.7s;
}

.bubble-4 {
    width: 12px;
    height: 12px;
    left: 80px;
    animation: bubble-rise 2.9s ease-in-out infinite;
    animation-delay: 0.1s;
}

.bubble-5 {
    width: 6px;
    height: 6px;
    left: 50px;
    animation: bubble-rise 2.3s ease-in-out infinite;
    animation-delay: 0.9s;
}

/* 添加额外的气泡 */
.bubble-6 {
    position: absolute;
    width: 7px;
    height: 7px;
    left: 30px;
    bottom: 15px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: bubble-rise 2.6s ease-in-out infinite;
    animation-delay: 1.1s;
}

.bubble-7 {
    position: absolute;
    width: 9px;
    height: 9px;
    left: 60px;
    bottom: 12px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: bubble-rise 3.2s ease-in-out infinite;
    animation-delay: 0.3s;
}

/* 加载文本动画增强 */
@keyframes loading-text-glow {
    0%, 100% {
        opacity: 0.7;
        text-shadow: 0 0 5px rgba(194, 139, 55, 0.5);
    }
    50% {
        opacity: 1;
        text-shadow: 0 0 15px rgba(194, 139, 55, 0.8);
    }
}

.loading-text {
    color: #c28b37;
    font-size: 1.2rem;
    text-align: center;
    margin-top: 20px;
    animation: loading-text-glow 2s ease-in-out infinite;
}

/* 修改过渡效果使其更平滑 */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 11, 46, 0.8);
    backdrop-filter: blur(5px);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

.loading-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* 炼金加载进度条样式 */
.alcheth-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #140b2e 0%, #1e1548 100%);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.alcheth-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-container {
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.circle-loader {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
}

.glyph-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: glow 2s infinite alternate;
}

.alcheth-glyph {
    font-size: 60px;
    color: #c28b37;
    text-shadow: 0 0 15px rgba(194, 139, 55, 0.7);
    animation: rotate 6s linear infinite;
}

.progress-ring-circle {
    transition: stroke-dashoffset 0.35s;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    stroke-dasharray: 565.48;
    stroke-dashoffset: 565.48;
}

.progress-text {
    color: #f0e6d2;
    margin-bottom: 20px;
}

.progress-percent {
    font-size: 24px;
    font-weight: bold;
    color: #c28b37;
    margin-bottom: 10px;
    display: block;
}

.runes-text {
    font-family: 'YHW', sans-serif;
    font-size: 18px;
    opacity: 0.8;
}

.loading-bar-container {
    height: 4px;
    background: rgba(194, 139, 55, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin: 10px auto;
}

.loading-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #8b6324, #c28b37);
    box-shadow: 0 0 10px rgba(194, 139, 55, 0.5);
    transition: width 0.3s ease;
    position: relative;
    border-radius: 2px;
}

.loading-bar::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 1.5s infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 5px rgba(194, 139, 55, 0.5));
    }
    to {
        filter: drop-shadow(0 0 15px rgba(194, 139, 55, 0.8));
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* 炼金公式与系统消息结合样式 */
.alcheth-init .alchemy-formula,
.alcheth-warning .alchemy-formula,
.alcheth-notice .alchemy-formula,
.alcheth-error .alchemy-formula,
.alcheth-success .alchemy-formula {
    display: inline-block;
    background: rgba(0, 0, 0, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
}

/* 代码块内的系统标签样式 */
.system-tag-INIT, .system-tag-WARNING, .system-tag-NOTICE, 
.system-tag-ERROR, .system-tag-SUCCESS {
    font-weight: bold;
    padding: 1px 5px;
    border-radius: 3px;
    margin-right: 5px;
}

.system-tag-INIT {
    color: #4169e1;
    background: rgba(65, 105, 225, 0.2);
}

.system-tag-WARNING {
    color: #ff4500;
    background: rgba(255, 69, 0, 0.2);
}

.system-tag-NOTICE {
    color: #1e90ff;
    background: rgba(30, 144, 255, 0.2);
}

.system-tag-ERROR {
    color: #b71c1c;
    background: rgba(183, 28, 28, 0.2);
}

.system-tag-SUCCESS {
    color: #4caf50;
    background: rgba(76, 175, 80, 0.2);
}

/* 增加响应式设计 */
@media (max-width: 480px) {
    .circle-loader {
        width: 150px;
        height: 150px;
    }
    
    .alcheth-glyph {
        font-size: 40px;
    }
    
    .progress-ring {
        width: 150px;
        height: 150px;
    }
    
    .progress-ring-circle {
        r: 65;
        cx: 75;
        cy: 75;
        stroke-dasharray: 408.4;
        stroke-dashoffset: 408.4;
    }
    
    .alcheth-init, .alcheth-warning, .alcheth-notice, .alcheth-error, .alcheth-success {
        padding: 8px 12px;
        margin: 8px 0;
    }
    
    .system-tag {
        padding: 1px 4px;
        font-size: 0.85em;
    }
}