
/* ========== details/summary 卡片样式 ========== */

.panel-item {
    background-color: var(--gj-paper);
    border: 1px solid var(--gj-card-border);
    border-radius: 20px;
    margin-bottom: 1.5rem;
    transition: all 0.2s;
    overflow: hidden;
}
.panel-item[open] {
    box-shadow: 0 8px 20px var(--gj-shadow);
}

summary {
    padding: 0.8rem 1.8rem;
    font-weight: 600;
    font-size: 1rem;
    color: var(--gj-jade);
    background: var(--gj-stone);
    cursor: pointer;
    list-style: none;  
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid transparent;
    transition: all 0.2s;
}

summary::-webkit-details-marker {
    display: none;
}

summary:before {
    content: "▶";
    font-size: 0.8rem;
    display: inline-block;
    margin-right: 8px;
    transition: transform 0.2s;
    color: var(--gj-gold);
    font-family: 'Segoe UI', 'Roboto', 'Noto Serif SC', '思源宋体', 'Georgia', 'Times New Roman', serif;
}

.panel-item[open] summary:before {
    transform: rotate(90deg);
}

.panel-item summary:hover {
    background-color: var(--gj-glow);
}

.panel-item .table {
    margin-bottom: 0;
}
.panel-item .table td,
.panel-item .table th {
    padding: 0.8rem 1.2rem;
    border-bottom: 1px solid var(--gj-card-border);
    color: var(--gj-ink);
    background-color: transparent;
}
.panel-item .table th {
    font-weight: 600;
    color: var(--gj-jade);
}
.panel-item .table tr:last-child td {
    border-bottom: none;
} 
