/* 容器整体样式：明亮的浅蓝绿背景与阴影 */
.company-game-container {
    background-color: #f0fdfa; /* 极浅的薄荷绿背景 */
    padding: 14px;
    border-radius: 16px;
    border: 2px solid #0d9488; /* 翡翠绿边框 */
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.15);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* 顶部状态栏特殊样式 */
.company-game-container .top-status {
    border-left: 5px solid #0d9488;
    background-color: #e6fbf7 !important;
    margin-bottom: 12px;
}

/* 统一的折叠框样式 */
.company-game-container details.status-box {
    background-color: #ffffff;
    border: 1px solid #ccfbf1;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.company-game-container details.status-box:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.1);
}

/* 折叠框标题样式：明亮渐变 */
.company-game-container details.status-box summary {
    background: linear-gradient(135deg, #0d9488, #0ea5e9); /* 绿到蓝的活力渐变 */
    color: #ffffff;
    padding: 10px 14px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    outline: none;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.company-game-container details.status-box summary:hover {
    background: linear-gradient(135deg, #0f766e, #0284c7);
}

/* 自定义折叠箭头（利用伪元素） */
.company-game-container details.status-box summary::after {
    content: "▼";
    font-size: 10px;
    transition: transform 0.2s ease;
}

.company-game-container details[open].status-box summary::after {
    transform: rotate(180deg);
}

/* 折叠框内部内容样式 */
.company-game-container details.status-box p {
    padding: 12px 14px;
    margin: 0;
    font-size: 13px;
    color: #334155;
    line-height: 1.6;
    background-color: #ffffff;
}

/* 正文区样式：明亮温暖的奶油白卡片，配活力橙左边框 */
.company-game-container .story-content {
    background-color: #fffbeb; /* 浅奶油黄，护眼且明亮 */
    border-left: 6px solid #f97316; /* 亮橙色边框，突出正文 */
    border-radius: 4px 12px 12px 4px;
    padding: 18px;
    margin: 15px 0;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

/* 正文文字样式 */
.company-game-container .story-content text {
    font-size: 15px;
    line-height: 1.8;
    color: #1e293b;
    letter-spacing: 0.5px;
    display: block;
}

/* 强调文字（如沈清晚的台词或怒气值） */
.company-game-container b, 
.company-game-container strong {
    color: #ea580c; /* 暖橙色强调 */
}
/* ================= 多巴胺明亮手机终端 ================= */
.phone-container {
    background: #fffdf0; /* 温暖明亮的奶油黄底色 */
    border: 3px solid #ff4757; /* 极显眼的珊瑚红外边框 */
    border-radius: 20px;
    padding: 6px;
    box-shadow: 0 10px 30px rgba(255, 71, 87, 0.25);
    font-family: system-ui, -apple-system, sans-serif;
    max-width: 100%;
    margin: 15px auto;
}

/* 顶部主标题：多巴胺渐变 */
.phone-header {
    background: linear-gradient(135deg, #ff4757, #ff9f43);
    color: #ffffff !important;
    padding: 14px;
    border-radius: 15px;
    font-weight: 900;
    font-size: 15px;
    cursor: pointer;
    outline: none;
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.4);
    text-align: center;
}

/* 隐藏默认折叠箭头 */
.phone-container > summary::-webkit-details-marker {
    display: none;
}

/* 手机内屏 */
.phone-body {
    background: #ffffff;
    border-radius: 14px;
    padding: 12px;
    margin-top: 8px;
    border: 2px dashed #ff9f43;
}

/* 状态条 */
.phone-status {
    font-size: 12px;
    color: #ff6b81;
    background: #ffe0e6;
    padding: 4px 12px;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 10px;
    font-weight: bold;
}

/* 亮黄色通知栏 */
.phone-notification {
    background: #fff2cc;
    border: 2px solid #ffd966;
    color: #d67d00;
    padding: 10px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 12px;
    font-weight: bold;
}

/* ================= APP 折叠卡片 ================= */
.phone-app {
    margin-bottom: 10px;
    border: 2px solid #f1f2f6;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.app-title {
    padding: 12px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    outline: none;
}

/* APP不同颜色主题 */
.chat-app { background: #2ed573; color: #ffffff !important; text-shadow: 1px 1px 2px rgba(0,0,0,0.1); }
.call-app { background: #1e90ff; color: #ffffff !important; text-shadow: 1px 1px 2px rgba(0,0,0,0.1); }
.sns-app { background: #ffa502; color: #ffffff !important; text-shadow: 1px 1px 2px rgba(0,0,0,0.1); }

/* APP 内容区（去除所有默认间距） */
.app-content {
    padding: 8px;
    background: #fffdf9;
}

/* ================= 💎 核心：精美消息轨道布局 💎 ================= */
.msg-row {
    display: flex;
    align-items: center;
    padding: 10px;
    background: #ffffff;
    border-radius: 8px;
    margin-bottom: 6px;
    border: 1px solid #f1f2f6;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.msg-row:last-child {
    margin-bottom: 0;
}

/* 左侧图标 */
.msg-icon {
    font-size: 22px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #f1f2f6;
    border-radius: 50%;
}

/* 右侧双行文本区域 */
.msg-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 第一行：加粗标题 */
.msg-title {
    font-weight: bold;
    font-size: 13px;
    color: #2f3542;
    margin-bottom: 2px;
}

/* 第二行：灰色描述 */
.msg-desc {
    font-size: 12px;
    color: #747d8c;
    line-height: 1.4;
}

/* 朋友圈特殊评论标签 */
.reply-tag {
    display: inline-block;
    background: #f1f2f6;
    color: #57606f;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 11px;
    margin-top: 2px;
}
/* 记忆区整体容器 */
.memory-box {
    background: #ffffff;
    border: 2px solid #f1c40f;
    border-radius: 12px;
    margin: 10px 0;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(241, 196, 15, 0.2);
    font-family: "Microsoft YaHei", sans-serif;
}

/* 标题栏：皇家金渐变 */
.memory-box summary {
    padding: 12px 15px;
    background: linear-gradient(90deg, #f1c40f 0%, #ffdb58 100%);
    color: #442d00;
    font-weight: 800;
    font-size: 1.05em;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
}

/* 内容区 */
.memory-content {
    padding: 15px;
    background: #fffdf9;
}

/* 单元格布局 */
.memory-section {
    position: relative;
    margin-bottom: 15px;
    padding-left: 15px;
    border-left: 3px solid #f1c40f;
}

/* 标签样式 */
.memory-badge {
    display: inline-block;
    padding: 2px 8px;
    background: #f1c40f;
    color: #fff;
    font-size: 0.75em;
    border-radius: 4px;
    margin-bottom: 5px;
    font-weight: bold;
}

.memory-badge.current {
    background: #e67e22; /* 即时状态用橙色区分 */
}

/* 文字内容排版 */
.memory-text {
    color: #34495e;
    font-size: 0.95em;
    line-height: 1.6;
    text-align: justify;
}

/* 底部状态条 */
.memory-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
    font-size: 0.8em;
    color: #7f8c8d;
    font-style: italic;
}