/* 淫荡的银行女员工们 - 风月内置CSS */
/* 钱色潜规则 · 暗金/金库风格 */

.story-container {
    max-width: 1000px;
    margin: 0 auto;
    background: linear-gradient(145deg, #1a140e 0%, #0e0a07 100%);
    border: 1px solid #c28a4e;
    border-radius: 32px;
    padding: 28px 26px;
    color: #ecd9c6;
    font-family: 'Segoe UI', 'Noto Sans CJK SC', 'Microsoft YaHei', monospace;
    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.65);
    backdrop-filter: blur(6px);
    border-left: 5px solid #d98f48;
    border-radius: 40px;
    padding: 10px 20px;
    margin-bottom: 24px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: monospace;
    color: #f8cfaa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

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

/* 银行角色通用气泡 */
.bubble-bank {
    background: linear-gradient(135deg, #2a201a, #1c140e);
    border: 1px solid #c07a48;
    border-radius: 24px;
    padding: 10px 18px;
    margin: 12px 0;
    max-width: 88%;
    display: inline-block;
    color: #ffefdb;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.bubble-bank::before {
    content: attr(data-name) " 💰";
    display: block;
    font-weight: 700;
    font-size: 0.7rem;
    color: #e8a568;
    margin-bottom: 5px;
}

/* 行长特别色（金色）可单独用，也可以用通用，但保留风格 */
.bubble-bank[data-name*="行长"]::before {
    color: #f5bc70;
}

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

/* 激情时刻标记 */
.hot-moment {
    background: rgba(200, 100, 50, 0.2);
    border-left: 4px solid #e89c5a;
    padding: 6px 14px;
    margin: 8px 0;
    color: #f5bc84;
    font-weight: 600;
    font-size: 0.75rem;
}

/* 折叠面板（账本质感） */
.story-container details {
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    border-radius: 24px;
    margin: 14px 0;
    border: 1px solid #c07a48;
    overflow: hidden;
}
.story-container details[open] {
    background: rgba(20, 12, 8, 0.85);
    border-color: #e8a260;
}
.story-container summary {
    padding: 10px 18px;
    font-weight: 700;
    font-size: 0.8rem;
    color: #f7cf9c;
    cursor: pointer;
    list-style: none;
    background: rgba(0, 0, 0, 0.45);
}
.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: #d48a48;
}
.story-container details[open] summary::before {
    transform: rotate(90deg);
}
.story-container summary:hover {
    background: rgba(200, 120, 60, 0.25);
    color: #ffe0bc;
}
.panel-content {
    padding: 12px 18px;
    font-size: 0.73rem;
    line-height: 1.6;
    color: #cbb292;
    border-top: 1px solid #c07a48;
}

/* 行动选项区 */
.action-options {
    background: #1f1610e6;
    border: 1px solid #cc8a50;
    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: #c2884e;
    border-radius: 40px;
    padding: 4px 14px;
    font-weight: 800;
    font-size: 0.85rem;
    color: #2f1e10;
}
.action-item {
    background: #2e231e;
    border: 1px solid #ca8c54;
    border-radius: 40px;
    padding: 6px 20px;
    font-size: 0.8rem;
    color: #fae8d4;
    cursor: pointer;
    transition: all 0.2s;
}
.action-item:hover {
    background: #ca8c54;
    color: #1c110a;
    border-color: #f7ca98;
    transform: translateY(-2px);
}

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

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

/* 分割线（金库锁链感） */
.story-container hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ca884e, #e8aa6a, #ca884e, transparent);
    margin: 20px 0;
}