/* PC 马甲回复：评论工具栏按钮 */
.yxyh-pc-spr-btn {
    overflow: hidden;
}

.yxyh-pc-spr-btn img {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
}

.yxyh-pc-spr-btn i {
    font-size: 17px;
}

.yxyh-pc-spr-btn.is-active {
    color: #E34040;
    background: rgba(227, 64, 64, .08);
}

/* 马甲列表弹窗 */
.yxyh-pc-spr-panel {
    padding: 2px 0;
    max-height: 52vh;
    overflow-y: auto;
}

.yxyh-pc-spr-row {
    width: 100%;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 4px;
    text-align: left;
    cursor: pointer;
    transition: background .15s ease;
}

.yxyh-pc-spr-row:hover {
    background: #fafafa;
}

.yxyh-pc-spr-row.is-default {
    background: #fafafa;
    margin-bottom: 8px;
}

.yxyh-pc-spr-row.is-selected {
    background: #fff5f5;
}

.yxyh-pc-spr-row img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    background: #f3f4f6;
    flex-shrink: 0;
}

.yxyh-pc-spr-row i {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 19px;
    flex-shrink: 0;
}

.yxyh-pc-spr-row span {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.yxyh-pc-spr-row b {
    color: #111827;
    font-size: 14px;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.yxyh-pc-spr-row em {
    color: #9ca3af;
    font-size: 12px;
    font-style: normal;
}

.yxyh-pc-spr-tabs {
    background: #fafafa;
    border-radius: 4px;
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 12px;
    margin-top: 4px;
    padding: 10px;
}

.yxyh-pc-spr-tab-menu {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 46vh;
    overflow-y: auto;
}

.yxyh-pc-spr-tab {
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    color: #4b5563;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 10px;
    text-align: left;
    cursor: pointer;
}

.yxyh-pc-spr-tab span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.yxyh-pc-spr-tab em {
    font-style: normal;
    color: #9ca3af;
}

.yxyh-pc-spr-tab.is-active {
    border-color: #E34040;
    color: #E34040;
}

.yxyh-pc-spr-tab-content {
    min-width: 0;
    max-height: 46vh;
    overflow-y: auto;
}

.yxyh-pc-spr-tab-panel {
    display: none;
}

.yxyh-pc-spr-tab-panel.is-active {
    display: block;
}
