.rmm-meta-accordion {
    margin: 1.5em 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.rmm-accordion-item + .rmm-accordion-item {
    border-top: 1px solid #ddd;
}
.rmm-accordion-button {
    width: 100%;
    text-align: left;
    background: #f1f1f1;
    border: none;
    padding: 1em 1.2em;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    color: #222;
    transition: background 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.rmm-accordion-button:hover,
.rmm-accordion-button[aria-expanded="true"] {
    background: #f5f5f5;
}
.rmm-accordion-icon {
    transition: transform 0.3s ease;
}
.rmm-accordion-button[aria-expanded="true"] .rmm-accordion-icon {
    transform: rotate(180deg);
}
.rmm-accordion-panel {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.2em;
    opacity: 0;
    transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.4s ease;
}
.rmm-accordion-panel.show {
    max-height: 500px;
    padding-bottom: 1em;
    opacity: 1;
}
.rmm-accordion-panel ul {
    margin: 0.5em 0 0 1em;
    padding-left: 1em;
    list-style-type: disc;
}
.rmm-source-links {
    font-size: 0.95em;
    color: #777;
    margin-top: 2em;
    padding-top: 1em;
    border-top: 1px solid #e0e0e0;
}
.rmm-source-links a {
    color: #666!important;
    margin-right: 0.2em;
}
.rmm-source-links a:hover {
    color: #333;
}

body.pcdark-mode .rmm-meta-accordion {
    background: #1e1e1e;
    border-color: #333;
    box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

body.pcdark-mode .rmm-accordion-button {
    background: #2b2b2b;
    color: #eee;
}

body.pcdark-mode .rmm-accordion-panel {
    background: #252525;
    color: #ddd;
}

body.pcdark-mode .rmm-source-links {
    color: #aaa;
    border-top-color: #444;
}

body.pcdark-mode .rmm-source-links a {
    color: #bbb;
}
body.pcdark-mode .rmm-source-links a:hover {
    color: #fff;
}
