ai {
    display: block;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    color: #e0e0e0;
    background: #09090b;
    border: 1px solid #2a2a35;
    border-radius: 8px;
    overflow: hidden;
    line-height: 1.6;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
    font-size: 14px;
}
ai hd {
    display: block;
    background: linear-gradient(135deg, #8b0000 0%, #ff4500 100%);
    color: #fff;
    padding: 10px 15px;
    font-weight: bold;
    font-size: 15px;
    letter-spacing: 1px;
    position: relative;
    border-bottom: 2px solid #000;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
ai hd::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(0,0,0,0.1) 10px, rgba(0,0,0,0.1) 20px);
    pointer-events: none;
}
ai article {
    display: block;
    padding: 15px;
}
ai details {
    background: #111118;
    border-top: 1px solid #333;
}
ai summary {
    padding: 12px 15px;
    color: #ffb800;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #222;
    transition: background 0.3s;
}
ai summary:hover { background: rgba(255,69,0,0.1); }
ai summary::-webkit-details-marker { display: none; }
ai summary::before {
    content: '▼';
    font-size: 10px;
    margin-right: 8px;
    color: #ff4500;
    transition: transform 0.3s;
}
ai details[open] summary::before {
    transform: rotate(180deg);
}
ai grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 15px;
}
ai c {
    display: block;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid #222;
    border-left: 3px solid #ff4500;
    border-radius: 4px;
    padding: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
}
ai c:hover {
    transform: translateX(2px);
    border-left-color: #ffb800;
    background: rgba(255, 255, 255, 0.05);
}
ai f {
    font-size: 16px;
    color: #ff4500;
    font-weight: bold;
    margin-right: 6px;
    text-shadow: 0 0 8px rgba(255,69,0,0.4);
}
ai badge {
    display: inline-block;
    font-size: 11px;
    background: #2e8b57;
    color: #fff;
    padding: 2px 6px;
    border-radius: 12px;
    vertical-align: middle;
    margin-right: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
ai badge.warn { background: #8b0000; }
ai bar {
    display: block;
    height: 16px;
    background: #000;
    border-radius: 8px;
    margin: 8px 0 4px 0;
    position: relative;
    border: 1px solid #333;
    overflow: hidden;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.8);
}
ai bar bg {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #8b0000, #ff4500);
    position: relative;
}
ai bar bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
}
ai bar.ckl bg { background: linear-gradient(90deg, #004d99, #00bfff); }
ai bar span {
    position: absolute;
    top: 0; left: 0; width: 100%;
    text-align: center;
    font-size: 11px;
    line-height: 16px;
    color: #fff;
    font-family: monospace;
    font-weight: bold;
    text-shadow: 1px 1px 2px #000, -1px -1px 2px #000;
}
ai t {
    display: block;
    color: #ffb800;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 6px;
    border-bottom: 1px dashed #444;
    padding-bottom: 4px;
}
ai d {
    display: block;
    font-size: 13px;
    color: #a0a0b0;
    line-height: 1.6;
}
ai c:last-child d {
    padding: 6px 10px;
    background: rgba(255,69,0,0.05);
    margin-top: 6px;
    border-radius: 4px;
    border: 1px solid rgba(255,69,0,0.2);
    cursor: pointer;
    transition: all 0.2s;
    color: #ccc;
}
ai c:last-child d:hover {
    background: rgba(255,69,0,0.15);
    border-color: #ff4500;
    color: #fff;
    padding-left: 15px;
}