/* 林老师上门 · 风月平台内置CSS */
/* 人妻诱惑 · 深色绮丽风格 */

.story-container {
    max-width: 1000px;
    margin: 0 auto;
    background: linear-gradient(145deg, #1a1020 0%, #0e0814 100%);
    border: 1px solid #a55a8a;
    border-radius: 32px;
    padding: 26px 24px;
    color: #ecd9d0;
    font-family: 'Segoe UI', 'Noto Sans CJK SC', 'Microsoft YaHei', serif;
    line-height: 1.75;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

/* 状态栏（风月角色状态） */
.meta-header {
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    border-left: 5px solid #c97ca5;
    border-radius: 40px;
    padding: 10px 20px;
    margin-bottom: 24px;
    font-size: 0.75rem;
    font-weight: 500;
    font-family: monospace;
    color: #f8cdd8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* 正文 */
.story-container p {
    text-indent: 2em;
    margin: 0.8em 0;
    font-size: 0.96rem;
    color: #f0dfd4;
    line-height: 1.75;
}

/* 主角 (林老师) 气泡 */
.bubble-teacher {
    background: linear-gradient(135deg, #2a2030, #1a1428);
    border: 1px solid #b86b96;
    border-radius: 24px 24px 24px 8px;
    padding: 10px 18px;
    margin: 12px 0 12px 24px;
    max-width: 86%;
    display: inline-block;
    color: #fce6f0;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.bubble-teacher::before {
    content: "🧑‍🏫 你";
    display: block;
    font-weight: 700;
    font-size: 0.7rem;
    color: #f3aa8a;
    margin-bottom: 5px;
}

/* 人妻周婉清 / 其他女性气泡 */
.bubble-wife {
    background: linear-gradient(135deg, #3a2530, #251a28);
    border: 1px solid #b887a5;
    border-radius: 24px 24px 8px 24px;
    padding: 10px 18px;
    margin: 12px 24px 12px 0;
    max-width: 86%;
    display: inline-block;
    color: #ffe4f0;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.bubble-wife::before {
    content: attr(data-name) " 💋";
    display: block;
    font-weight: 700;
    font-size: 0.7rem;
    color: #eaaac9;
    margin-bottom: 5px;
}

/* 内心独白 */
.inner-thought {
    background: rgba(30, 20, 35, 0.65);
    border-left: 4px solid #c97ca5;
    padding: 8px 16px;
    margin: 12px 0;
    font-style: italic;
    color: #decfc0;
    font-size: 0.8rem;
    border-radius: 0 16px 16px 0;
}

/* 亲密时刻 / 欲望标记 */
.hot-moment {
    background: rgba(190, 80, 130, 0.2);
    border-left: 4px solid #d97aa8;
    padding: 6px 14px;
    margin: 8px 0;
    color: #ffc8e0;
    font-weight: 600;
    font-size: 0.75rem;
}

/* 折叠面板 (状态/档案/记忆) */
.story-container details {
    background: rgba(10, 6, 16, 0.7);
    backdrop-filter: blur(4px);
    border-radius: 24px;
    margin: 14px 0;
    border: 1px solid #b0688a;
    overflow: hidden;
}
.story-container details[open] {
    background: rgba(20, 12, 22, 0.85);
    border-color: #d88ab0;
}
.story-container summary {
    padding: 10px 18px;
    font-weight: 700;
    font-size: 0.78rem;
    color: #f5c0dc;
    cursor: pointer;
    list-style: none;
    background: rgba(0, 0, 0, 0.4);
}
.story-container summary::-webkit-details-marker {
    display: none;
}
.story-container summary::before {
    content: "▶";
    display: inline-block;
    margin-right: 12px;
    font-size: 0.7rem;
    transition: transform 0.2s;
    color: #d97aa8;
}
.story-container details[open] summary::before {
    transform: rotate(90deg);
}
.story-container summary:hover {
    background: rgba(200, 100, 140, 0.2);
}
.panel-content {
    padding: 12px 18px;
    font-size: 0.72rem;
    line-height: 1.6;
    color: #e2cdbb;
    border-top: 1px solid #b0688a;
}

/* 行动选项 */
.action-options {
    background: #1e1426e0;
    border: 1px solid #c87ba2;
    border-radius: 60px;
    padding: 12px 22px;
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    backdrop-filter: blur(6px);
}
.action-title {
    background: #c97ca5;
    border-radius: 40px;
    padding: 4px 14px;
    font-weight: 800;
    font-size: 0.85rem;
    color: #2a1a20;
}
.action-item {
    background: #2c2028;
    border: 1px solid #ce80a8;
    border-radius: 40px;
    padding: 6px 20px;
    font-size: 0.8rem;
    color: #ffe0ec;
    cursor: pointer;
    transition: all 0.2s;
}
.action-item:hover {
    background: #ce80a8;
    color: #1e1018;
    transform: translateY(-2px);
}

/* 响应式 */
@media (max-width: 680px) {
    .story-container {
        padding: 18px 16px;
    }
    .bubble-teacher, .bubble-wife {
        max-width: 96%;
        margin-left: 8px;
        margin-right: 8px;
    }
    .action-item {
        padding: 4px 14px;
        font-size: 0.7rem;
    }
}

/* 滚动条 */
.story-container::-webkit-scrollbar {
    width: 5px;
}
.story-container::-webkit-scrollbar-track {
    background: #2a1a28;
}
.story-container::-webkit-scrollbar-thumb {
    background: #c97ca5;
    border-radius: 6px;
}

/* 分割线 · 暧昧氛围 */
.story-container hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c97ca5, #e89ac0, #c97ca5, transparent);
    margin: 20px 0;
}