/* 容器基础样式 */
.romcom-world {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: #4a4a4a;
    line-height: 1.8;
    background: linear-gradient(135deg, #fff5f7 0%, #ffffff 100%);
    padding: 10px;
    border-radius: 15px;
}

/* 正文美化 */
.romcom-text {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid #ffb6c1;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(255, 182, 193, 0.2);
    font-size: 1.05em;
    position: relative;
    overflow: hidden;
}

.romcom-text::before {
    content: '“';
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: 50px;
    color: #ffb6c1;
    opacity: 0.3;
}

/* 状态栏整体美化 */
.romcom-world details {
    margin-bottom: 10px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #ffe4e8;
    background: #fff;
}

.romcom-world summary {
    background: linear-gradient(90deg, #ff85a2 0%, #ffb6c1 100%);
    color: white;
    padding: 12px 15px;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    transition: all 0.3s;
    outline: none;
    display: flex;
    align-items: center;
}

.romcom-world summary::before {
    content: '💖';
    margin-right: 8px;
    font-size: 14px;
}

.romcom-world summary:hover {
    filter: brightness(1.05);
    padding-left: 20px;
}

/* 状态栏内部内容美化 */
.romcom-content {
    padding: 15px;
    background: #fff;
    font-size: 0.95em;
}

/* 针对手机讯息的特殊样式 */
.romcom-chat-item {
    background: #f3f3f3;
    border-radius: 8px;
    padding: 8px 12px;
    margin-bottom: 8px;
    border-left: 4px solid #ff85a2;
}

/* 表格美化（用于记忆区） */
.romcom-world table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
}

.romcom-world th {
    background-color: #ffe4e8;
    color: #ff5d8f;
    padding: 8px;
}

.romcom-world td {
    border: 1px solid #fce4ec;
    padding: 8px;
    font-size: 0.85em;
}

/* 行动推荐美化 */
.romcom-action-list {
    list-style: none !important;
    padding: 0 !important;
}

.romcom-action-list li {
    background: #fff0f3;
    margin: 5px 0;
    padding: 10px;
    border-radius: 20px;
    border: 1px dashed #ffb6c1;
    color: #d81b60;
    transition: transform 0.2s;
}

.romcom-action-list li:hover {
    transform: scale(1.02);
    background: #ffe4e8;
}
/* 点数卡片容器 */
.points-card {
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
    border: 2px solid #ffeeba;
    border-radius: 12px;
    padding: 15px;
    margin: 10px 0;
    color: #856404;
    box-shadow: inset 0 0 10px rgba(255, 215, 0, 0.1);
}

/* 余额大数字 */
.points-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed #ffeeba;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.points-balance {
    font-size: 24px;
    font-weight: 900;
    color: #d4af37;
    text-shadow: 1px 1px 0px white;
}

.points-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: #ffecb5;
    padding: 2px 8px;
    border-radius: 10px;
}

/* 收益明细 */
.points-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin: 5px 0;
}

.points-reason {
    font-style: italic;
    color: #997404;
}

.points-plus {
    color: #28a745;
    font-weight: bold;
}

/* 底部提示 */
.points-footer {
    font-size: 11px;
    text-align: center;
    margin-top: 10px;
    opacity: 0.8;
    background: rgba(255,255,255,0.5);
    border-radius: 5px;
    padding: 4px;
}