/* 江映雪角色扮演UI设计 */
ai {
    display: block;
    background: linear-gradient(160deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 16px;
    padding: 20px;
    color: #e0e0e0;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
}

/* 装饰性光效 */
ai::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, #6a5acd, #ff79c6);
}

hd {
    display: block;
    font-size: 0.85em;
    color: #888;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
}

article {
    line-height: 1.6;
    font-size: 15px;
    margin-bottom: 20px;
}

details {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 10px;
}

summary {
    cursor: pointer;
    font-weight: bold;
    color: #ff79c6;
    margin-bottom: 5px;
}

d {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
    font-size: 0.9em;
}

progress {
    width: 60%;
    height: 8px;
    border-radius: 4px;
    accent-color: #ff79c6;
}

.actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 15px;
}

button {
    background: rgba(106, 90, 205, 0.2);
    border: 1px solid #6a5acd;
    color: #fff;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #6a5acd;
}