/* ==================== 黑岩射手 · 夹缝档案 回复样式 ==================== */
/* 深色科技风 + 蓝焰主题，与首页视觉统一 */

/* ==================== 基础重置 ==================== */
think, cot { display: none !important; }

/* ==================== 上方状态栏 ==================== */
.status-bar-top {
    max-width: 780px; width: 100%; margin: 0 auto 24px;
    background: linear-gradient(160deg, #0a1018 0%, #0e1622 100%);
    border: 1px solid #1a2a3d; border-radius: 4px; padding: 0;
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    font-family: 'Segoe UI','Roboto','PingFang SC','Microsoft YaHei',system-ui,sans-serif;
    color: #c8d8e8; position: relative; overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5), 0 0 0 1px rgba(78,205,196,0.05);
}
.status-bar-top::before {
    content: ''; position: absolute; top: 0; left: 20px; right: 20px; height: 1px;
    background: linear-gradient(90deg, transparent, #87CEEB, #4ecdc4, #87CEEB, transparent);
    z-index: 3; pointer-events: none; opacity: 0.7;
}
.status-bar-top::after {
    content: ''; position: absolute; top: 12px; right: 16px;
    width: 6px; height: 6px; background: #87CEEB; border-radius: 50%;
    z-index: 10; pointer-events: none;
    box-shadow: 0 0 8px #87CEEB, 0 0 16px rgba(78,205,196,0.5);
    animation: rin-status-breath 2s ease-in-out infinite;
}
@keyframes rin-status-breath {
    0%,100% { opacity: 0.5; box-shadow: 0 0 8px #87CEEB, 0 0 16px rgba(78,205,196,0.5); }
    50% { opacity: 1; box-shadow: 0 0 14px #87CEEB, 0 0 28px rgba(78,205,196,0.7); }
}
.status-row { display: contents; }
.status-item {
    display: flex; align-items: center; gap: 10px; padding: 14px 20px;
    background: rgba(8,14,22,0.7); border-bottom: 1px solid #1a2838;
    border-right: 1px solid #1a2838; font-size: 0.84rem; font-weight: 500;
    color: #b0c7db; letter-spacing: 0.4px; transition: background 0.25s;
}
.status-item:nth-child(2) { border-right: none; }
.status-item:nth-child(3) { border-bottom: none; }
.status-item:nth-child(4) { border-bottom: none; border-right: none; }
.status-item:hover { background: rgba(12,20,32,0.85); }
.icon { font-size: 1rem; filter: drop-shadow(0 0 4px rgba(78,205,196,0.4)); }
.status-bar-top .highlight {
    font-weight: 700; color: #87CEEB;
    background: rgba(78,205,196,0.08); padding: 2px 10px; border-radius: 2px;
    margin-left: 6px; letter-spacing: 0.5px;
    border: 1px solid rgba(78,205,196,0.25);
    text-shadow: 0 0 6px rgba(135,206,235,0.3);
}

/* ==================== 正文区域 ==================== */
.narrative-body {
    display: block; max-width: 780px; width: 100%; margin: 0 auto 24px;
    font-family: 'Segoe UI','Roboto','PingFang SC','Microsoft YaHei',system-ui,sans-serif;
    color: #d8e8f8;
    background: #0e1520;
    padding: 28px 30px; border: 1px solid #1a2838; border-radius: 4px;
    position: relative;
    box-shadow: 0 4px 24px rgba(0,0,0,0.5), inset 0 1px 0 rgba(135,206,235,0.02);
    background-image: repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(78,205,196,0.012) 40px, rgba(78,205,196,0.012) 41px);
}
.narrative-body::before {
    content: ''; position: absolute; top: 0; left: 0; width: 24px; height: 24px;
    border-top: 1px solid rgba(135,206,235,0.5); border-left: 1px solid rgba(135,206,235,0.5);
    pointer-events: none;
}
.narrative-body::after {
    content: ''; position: absolute; bottom: 0; left: 30px; right: 30px; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(78,205,196,0.3), transparent);
    pointer-events: none;
}
.narrative-body p {
    margin-bottom: 1.2em; font-size: 1rem; line-height: 1.8; letter-spacing: 0.3px;
    position: relative; color: #d8e8f8; padding-left: 14px;
}
.narrative-body p::before {
    content: '◆'; position: absolute; left: 0; top: 0.15em; font-size: 0.4rem;
    color: rgba(78,205,196,0.5); pointer-events: none;
}

/* 黑衣麻陶对话 - 冰蓝 */
.narrative-body font[color="#4ecdc4"] {
    font-weight: 700; font-size: 1.02rem; color: #4ecdc4 !important;
    text-shadow: 0 0 6px rgba(78,205,196,0.3); letter-spacing: 0.4px;
}
/* 黑岩射手对话 - 蓝焰白 */
.narrative-body font[color="#87CEEB"] {
    font-weight: 700; font-size: 1.02rem; color: #87CEEB !important;
    text-shadow: 0 0 8px rgba(135,206,235,0.35); letter-spacing: 0.4px;
}
/* 麻陶内心OS - 暖灰 */
.narrative-body i font[color="#a0a0a0"] {
    color: #b0a090 !important; font-style: italic; font-weight: 400; font-size: 0.9rem;
    opacity: 0.95; text-shadow: 0 0 4px rgba(180,170,150,0.2); letter-spacing: 0.3px;
}
/* 黑岩内心OS - 冰蓝灰 */
.narrative-body i font[color="#5f9ea0"] {
    color: #5f9ea0 !important; font-style: italic; font-weight: 400; font-size: 0.9rem;
    opacity: 0.9; text-shadow: 0 0 4px rgba(95,158,160,0.25); letter-spacing: 0.3px;
}

/* ==================== 下方状态栏容器 ==================== */
.status-bar-bottom {
    max-width: 780px; width: 100%; margin: 0 auto;
    display: flex; flex-direction: column; gap: 12px;
    font-family: 'Segoe UI','Roboto','PingFang SC','Microsoft YaHei',system-ui,sans-serif;
}

/* ==================== 通用卡片 ==================== */
.status-card {
    background: #0c141e;
    border: 1px solid #1a2838; border-radius: 4px; overflow: visible;
    box-shadow: 0 4px 18px rgba(0,0,0,0.5), inset 0 1px 0 rgba(135,206,235,0.02);
    transition: border-color 0.3s, box-shadow 0.3s; position: relative;
}
.status-card::before {
    content: ''; position: absolute; top: 14px; right: 14px;
    width: 5px; height: 5px; background: #87CEEB; border-radius: 50%;
    z-index: 10; pointer-events: none;
    box-shadow: 0 0 4px #87CEEB, 0 0 8px rgba(78,205,196,0.4);
    animation: rin-dot-pulse 2.5s ease-in-out infinite;
}
@keyframes rin-dot-pulse { 0%,100%{opacity:0.5;} 50%{opacity:1;} }
.status-card[open] {
    border-color: rgba(78,205,196,0.4);
    box-shadow: 0 0 18px rgba(78,205,196,0.08), 0 6px 24px rgba(0,0,0,0.6);
}

/* ==================== 卡片标题栏 ==================== */
.status-card summary {
    list-style: none; cursor: pointer; display: flex; align-items: center;
    padding: 14px 45px 14px 22px; font-weight: 600; font-size: 0.85rem;
    color: #8db3d0; background: #0a1018; border-bottom: 1px solid #1a2838;
    border-radius: 4px 4px 0 0; letter-spacing: 1px; text-transform: uppercase;
    transition: all 0.25s; position: relative; overflow: hidden;
}
.status-card summary::after {
    content: ''; position: absolute; bottom: 0; left: -100%; width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, #87CEEB, #4ecdc4, #87CEEB, transparent);
    animation: rin-summary-sweep 4s linear infinite;
}
@keyframes rin-summary-sweep { 0%{left:-100%;} 100%{left:100%;} }
.status-card summary::-webkit-details-marker { display: none; }
.status-card summary::before {
    content: '▸'; display: inline-block; margin-right: 12px; font-size: 0.8rem;
    transition: transform 0.25s; color: #4ecdc4;
    text-shadow: 0 0 6px rgba(78,205,196,0.4);
}
.status-card[open] summary::before { transform: rotate(90deg); }
.status-card summary:hover { background: #0e1622; color: #c8dff0; }
.status-card:first-of-type summary { background: #0c141e; color: #b0d8e8; }
.status-card[open] summary { border-bottom-color: rgba(78,205,196,0.3); color: #c0d8e8; }

/* ==================== 卡片内容区 ==================== */
.profile-content {
    padding: 18px 22px; font-size: 0.84rem; color: #c8dff0;
    background: #080c14; border-radius: 0 0 4px 4px;
}
.profile-content p {
    margin-bottom: 7px; display: flex; flex-wrap: wrap; align-items: baseline;
    gap: 8px; color: #c8dff0; font-size: 0.84rem;
}

/* ==================== 数据标签 ==================== */
.label {
    font-weight: 600; color: #b0d8e8;
    background: rgba(78,205,196,0.08); padding: 2px 10px; border-radius: 2px;
    font-size: 0.7rem; letter-spacing: 0.6px;
    border: 1px solid rgba(78,205,196,0.2); text-transform: uppercase;
    text-shadow: 0 0 3px rgba(78,205,196,0.15);
}

/* ==================== 数值高亮 ==================== */
.value {
    font-weight: 700; color: #87CEEB;
    background: rgba(135,206,235,0.08); padding: 2px 10px; border-radius: 2px;
    border: 1px solid rgba(135,206,235,0.2);
    text-shadow: 0 0 6px rgba(135,206,235,0.35);
}

.profile-content .highlight {
    font-weight: 600; color: #87CEEB; background: transparent; padding: 0; border: none;
    text-shadow: 0 0 5px rgba(135,206,235,0.25); letter-spacing: 0.3px;
}

/* ==================== 分割线 ==================== */
.divider {
    height: 1px; background: linear-gradient(90deg, transparent, rgba(78,205,196,0.2), transparent);
    margin: 12px 0;
}
hr {
    border: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(78,205,196,0.15), transparent);
    margin: 12px 0;
}

/* ==================== 列表 ==================== */
.clothing-list {
    list-style: none; margin-top: 4px; padding-left: 6px;
}
.clothing-list li {
    font-size: 0.8rem; padding: 4px 0 4px 16px; position: relative;
    border-bottom: 1px solid rgba(26,40,56,0.5); color: #b0cde0;
}
.clothing-list li::before {
    content: '◆'; color: #4ecdc4; position: absolute; left: 0; font-size: 0.4rem;
    top: 7px; text-shadow: 0 0 4px rgba(78,205,196,0.4);
}

.body-state-list {
    list-style: none; margin-top: 4px; padding-left: 6px;
    background: rgba(78,205,196,0.02); border-radius: 2px;
    padding: 8px 6px 8px 10px; border-left: 1px solid rgba(78,205,196,0.2);
}
.body-state-list li {
    font-size: 0.8rem; padding: 4px 0 4px 16px; position: relative;
    border-bottom: 1px solid rgba(26,40,56,0.5); color: #b0c8c0;
}
.body-state-list li::before {
    content: '●'; color: #87CEEB; position: absolute; left: 0; font-size: 0.35rem;
    top: 7px; text-shadow: 0 0 4px rgba(135,206,235,0.5);
}

/* ==================== 进度条 ==================== */
.progress-container {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
    margin: 0 0 8px 0; padding: 0;
}
.progress-label {
    font-weight: 600; color: #b0d8e8;
    background: rgba(78,205,196,0.08); padding: 2px 10px; border-radius: 2px;
    font-size: 0.7rem; letter-spacing: 0.6px;
    border: 1px solid rgba(78,205,196,0.2); text-transform: uppercase; white-space: nowrap;
}
.progress-bar {
    flex: 1; min-width: 100px; height: 8px; background: rgba(0,0,0,0.5);
    border: 1px solid #1a2a3d; border-radius: 2px; overflow: hidden;
    position: relative; box-shadow: inset 0 1px 3px rgba(0,0,0,0.7);
}
.progress-fill {
    height: 100%; background: linear-gradient(90deg, #2a6070, #4ecdc4, #87CEEB);
    border-radius: 2px; position: relative; transition: width 0.5s ease;
    box-shadow: 0 0 8px rgba(78,205,196,0.4), inset 0 1px 0 rgba(255,255,255,0.15);
}
.progress-fill::after {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    animation: bar-shine 2.5s ease-in-out infinite;
}
@keyframes bar-shine { 0%{left:-100%;} 100%{left:100%;} }
.progress-fill[style*="#4B0082"] {
    background: linear-gradient(90deg, #2a1050, #5b2d8e, #9370DB) !important;
    box-shadow: 0 0 8px rgba(147,112,219,0.4), inset 0 1px 0 rgba(255,255,255,0.15) !important;
}
.progress-fill[style*="#DC143C"] {
    background: linear-gradient(90deg, #5a1020, #b02030, #DC143C) !important;
    box-shadow: 0 0 8px rgba(220,20,60,0.4), inset 0 1px 0 rgba(255,255,255,0.15) !important;
}
.progress-fill[style*="#4ecdc4"] {
    background: linear-gradient(90deg, #1a4a50, #2e8a90, #4ecdc4) !important;
    box-shadow: 0 0 8px rgba(78,205,196,0.4), inset 0 1px 0 rgba(255,255,255,0.15) !important;
}

/* 把记忆区表格的样式替换成下面这个 */

/* ==================== 记忆区面板 ==================== */
.memory-panel {
    background: #0c141e !important;
    border: 1px solid #1a2838 !important;
    border-radius: 4px !important;
    box-shadow: 0 4px 18px rgba(0,0,0,0.5), inset 0 1px 0 rgba(135,206,235,0.02) !important;
}
.memory-panel::before {
    content: ''; position: absolute; top: 14px; right: 14px;
    width: 5px; height: 5px; background: #87CEEB; border-radius: 50%;
    z-index: 10; pointer-events: none;
    box-shadow: 0 0 4px #87CEEB, 0 0 8px rgba(78,205,196,0.4);
    animation: rin-dot-pulse 2.5s ease-in-out infinite;
}
.memory-panel > summary,
.memory-panel > .memory-summary {
    list-style: none; cursor: pointer; display: flex; align-items: center;
    padding: 14px 45px 14px 22px; font-weight: 600; font-size: 0.85rem;
    color: #8db3d0 !important; background: #0a1018 !important;
    border-bottom: 1px solid #1a2838 !important;
    border-radius: 4px 4px 0 0 !important;
    letter-spacing: 1px; text-transform: uppercase;
    transition: all 0.25s; position: relative; overflow: hidden;
}
.memory-panel > summary::after,
.memory-panel > .memory-summary::after {
    content: ''; position: absolute; bottom: 0; left: -100%; width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, #87CEEB, #4ecdc4, #87CEEB, transparent);
    animation: rin-summary-sweep 4s linear infinite;
}
.memory-panel > summary::-webkit-details-marker,
.memory-panel > .memory-summary::-webkit-details-marker { display: none; }
.memory-panel > summary::before,
.memory-panel > .memory-summary::before {
    content: '▸'; display: inline-block; margin-right: 12px; font-size: 0.8rem;
    transition: transform 0.25s; color: #4ecdc4;
    text-shadow: 0 0 6px rgba(78,205,196,0.4);
}
.memory-panel[open] > summary::before,
.memory-panel[open] > .memory-summary::before { transform: rotate(90deg); }
.memory-panel > summary:hover,
.memory-panel > .memory-summary:hover { background: #0e1622 !important; color: #c8dff0 !important; }
.memory-panel[open] > summary,
.memory-panel[open] > .memory-summary {
    border-bottom-color: rgba(78,205,196,0.3) !important; color: #c0d8e8 !important;
}

.memory-card { background: #080c14 !important; border-radius: 0 0 4px 4px !important; }
.memory-info {
    padding: 8px 22px !important; margin: 4px 0 !important;
    color: #d8e8f8 !important; font-size: 0.8rem !important;
    line-height: 1.7 !important; letter-spacing: 0.3px !important;
    text-shadow: 0 0 4px rgba(220,240,255,0.3) !important;
}
.memory-section { padding: 10px 22px; }
.memory-title {
    font-weight: 700; color: #87CEEB;
    text-shadow: 0 0 6px rgba(135,206,235,0.3);
    font-size: 0.78rem; letter-spacing: 0.8px; margin-bottom: 8px; text-transform: uppercase;
}
.memory-section:first-of-type .memory-title {
    color: #ffd700; text-shadow: 0 0 10px rgba(255,215,0,0.5);
}

/* 表格深色背景 + 白色文字 */
.memory-table {
    width: 100%; border-collapse: collapse; font-size: 0.76rem;
    color: #ffffff !important;
    background: #060a10 !important;
    border: 1px solid #1a2a3d !important;
}
.memory-table th {
    text-align: left; padding: 8px 10px;
    background: #0a1018 !important;
    border-bottom: 2px solid #1a2838 !important;
    color: #87CEEB !important;
    font-weight: 600; font-size: 0.7rem; letter-spacing: 0.5px;
    text-transform: uppercase;
}
.memory-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #1a2838 !important;
    vertical-align: top;
    color: #ffffff !important;
    background: #080c14 !important;
}
.memory-table tr:last-child td { border-bottom: none !important; }
.memory-table tr:hover td {
    background: #0e1622 !important;
    border-left: 2px solid #4ecdc4;
}
.memory-card hr { margin: 10px 22px !important; border-color: #1a2a3d !important; }

/* ==================== 行动抉择面板 ==================== */
.status-bar-bottom > details:last-of-type[open] {
    background: #0c141e !important; border: 1px solid #1a2a3d !important;
    padding: 6px 0 !important;
}
.status-bar-bottom > details:last-of-type[open] > summary {
    background: #0a1018 !important;
    border-bottom: 1px solid rgba(78,205,196,0.3) !important;
    color: #87CEEB !important; text-shadow: 0 0 8px rgba(135,206,235,0.4) !important;
}
.status-bar-bottom > details:last-of-type[open] .profile-content p {
    display: flex !important; align-items: center !important; gap: 14px !important;
    margin: 5px 0 !important; padding: 12px 16px !important;
    background: rgba(10,18,28,0.7) !important; border: 1px solid #1a2a3d !important;
    border-radius: 2px !important; font-weight: 500 !important; color: #c8dff0 !important;
    letter-spacing: 0.3px !important; transition: all 0.25s !important;
    cursor: pointer !important; position: relative !important; overflow: hidden !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2) !important;
}
.status-bar-bottom > details:last-of-type[open] .profile-content p::before {
    content: attr(data-option); display: flex !important; align-items: center !important;
    justify-content: center !important; width: 38px !important; height: 38px !important;
    min-width: 38px !important; background: rgba(78,205,196,0.06) !important;
    border: 1px solid rgba(78,205,196,0.25) !important; border-radius: 2px !important;
    font-weight: 700 !important; font-size: 0.85rem !important; color: #4ecdc4 !important;
    letter-spacing: 0.5px !important; flex-shrink: 0 !important;
    transition: all 0.25s !important;
    text-shadow: 0 0 6px rgba(78,205,196,0.4) !important;
    position: static !important; margin: 0 !important;
}
.status-bar-bottom > details:last-of-type[open] .profile-content p::after {
    content: ''; position: absolute; top: 0; left: -100%; width: 50px; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(78,205,196,0.06), transparent);
    transition: left 0.45s; pointer-events: none;
}
.status-bar-bottom > details:last-of-type[open] .profile-content p:hover::after { left: 200%; }
.status-bar-bottom > details:last-of-type[open] .profile-content p:hover {
    background: rgba(12,20,32,0.9) !important;
    border-color: rgba(78,205,196,0.5) !important;
    box-shadow: 0 0 16px rgba(78,205,196,0.12) !important;
    transform: translateX(3px) !important; color: #d0e0f0 !important;
}
.status-bar-bottom > details:last-of-type[open] .profile-content p:hover::before {
    background: rgba(78,205,196,0.18) !important; color: #ffffff !important;
    text-shadow: 0 0 12px rgba(135,206,235,0.7) !important; border-color: #4ecdc4 !important;
}
.status-bar-bottom > details:last-of-type[open] .profile-content p:nth-of-type(1) { border-left: 3px solid #87CEEB !important; }
.status-bar-bottom > details:last-of-type[open] .profile-content p:nth-of-type(2) { border-left: 3px solid #4ecdc4 !important; }
.status-bar-bottom > details:last-of-type[open] .profile-content p:nth-of-type(3) { border-left: 3px solid #5f9ea0 !important; }
.status-bar-bottom > details:last-of-type[open] .profile-content p:nth-of-type(4) { border-left: 3px solid #3a7080 !important; }

/* ==================== 你的状态卡片 ==================== */
.status-card:nth-of-type(2) summary {
    background: #0a1018; color: #8db3d0;
}
.status-card:nth-of-type(2)[open] summary {
    border-bottom-color: rgba(180,200,220,0.2); color: #a0bdd0;
}
.status-card:nth-of-type(2) .label {
    background: rgba(150,180,200,0.06); border-color: rgba(150,180,200,0.2); color: #b0c8d8;
}

/* ==================== 响应式 ==================== */
@media (max-width: 600px) {
    .status-bar-top { grid-template-columns: 1fr; }
    .status-item { border-right: none; padding: 12px 16px; font-size: 0.78rem; }
    .narrative-body { padding: 18px 16px; }
    .narrative-body p { font-size: 0.92rem; line-height: 1.7; padding-left: 10px; }
    .narrative-body p::before { font-size: 0.35rem; }
    .status-card summary { padding: 12px 40px 12px 16px; font-size: 0.78rem; }
    .profile-content { padding: 14px 16px; }
    .memory-info { padding: 6px 16px !important; }
    .memory-section { padding: 6px 16px; }
    .memory-table { font-size: 0.7rem; }
    .memory-table th, .memory-table td { padding: 5px 6px; }
    .progress-container { flex-direction: column; align-items: flex-start; gap: 5px; }
    .progress-bar { width: 100%; }
    .status-bar-bottom > details:last-of-type[open] .profile-content p { padding: 10px 12px !important; gap: 10px !important; }
    .status-bar-bottom > details:last-of-type[open] .profile-content p::before { width: 34px !important; height: 34px !important; min-width: 34px !important; font-size: 0.8rem !important; }
}