/* =========================================
   裸体派对：暗夜霓虹 UI 美化包
========================================= */

/* 基础UI容器通用设定 */
.flesh-ui-user, .flesh-ui-world, .flesh-ui-options {
    background: rgba(10, 5, 16, 0.85);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 15px 20px;
    margin: 20px 0;
    font-family: 'Segoe UI', sans-serif;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    color: #f8f9fa;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* 标题通用样式 */
.ui-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 扫描线动画背景 */
.flesh-ui-user::after, .flesh-ui-world::after, .flesh-ui-options::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(255,255,255,0.02) 51%);
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 0;
}

/* =========================================
   1. 用户信息面板 (幽暗蓝紫 - 伪装的冷静)
========================================= */
.flesh-ui-user {
    border: 1px solid rgba(157, 78, 221, 0.5);
    border-left: 4px solid #9d4edd;
}
.flesh-ui-user .ui-title {
    color: #c77dff;
    text-shadow: 0 0 8px rgba(157, 78, 221, 0.6);
}

/* =========================================
   2. 世界实时流动系统 (警示红粉 - 肉体雷达)
========================================= */
.flesh-ui-world {
    border: 1px solid rgba(255, 42, 117, 0.4);
    border-left: 4px solid #ff2a75;
    box-shadow: 0 0 15px rgba(255, 42, 117, 0.15) inset;
}
.flesh-ui-world .ui-title {
    color: #ff2a75;
    text-shadow: 0 0 10px rgba(255, 42, 117, 0.8);
    display: flex;
    align-items: center;
}
/* 雷达呼吸灯特效 */
.flesh-ui-world .ui-title::before {
    content: '';
    display: inline-block;
    width: 8px; height: 8px;
    background: #ff003c;
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 10px #ff003c;
    animation: radarPulse 1.5s infinite;
}
@keyframes radarPulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.5); opacity: 1; box-shadow: 0 0 20px #ff003c; }
    100% { transform: scale(0.8); opacity: 0.5; }
}
.flesh-ui-world ul {
    list-style: none;
    padding: 0; margin: 0;
}
.flesh-ui-world li {
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid rgba(255, 42, 117, 0.1);
    transition: all 0.3s;
    font-size: 0.9rem;
}
.flesh-ui-world li:hover {
    background: rgba(255, 42, 117, 0.1);
    border-color: #ff2a75;
    transform: translateX(5px);
}
.npc-name {
    color: #ffb3c6;
    font-weight: bold;
    background: rgba(255, 42, 117, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 5px;
}

/* =========================================
   3. 选项系统 (高亮交互 - 危险抉择)
========================================= */
.flesh-ui-options {
    border: 1px solid rgba(255, 183, 3, 0.4);
    border-left: 4px solid #ffb703;
}
.flesh-ui-options .ui-title {
    color: #ffb703;
    text-shadow: 0 0 8px rgba(255, 183, 3, 0.6);
}
.opt-item {
    background: linear-gradient(90deg, rgba(255, 183, 3, 0.05), transparent);
    margin-bottom: 10px;
    padding: 10px 15px;
    border-radius: 6px;
    border: 1px solid rgba(255, 183, 3, 0.2);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    z-index: 1;
}
.opt-item:hover {
    background: rgba(255, 183, 3, 0.15);
    border-color: #ffb703;
    box-shadow: 0 4px 15px rgba(255, 183, 3, 0.3);
    padding-left: 20px;
}
.opt-tag {
    color: #1a0b2e;
    background: #ffb703;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 8px;
    box-shadow: 0 0 5px rgba(255, 183, 3, 0.5);
}
.opt-item:hover .opt-tag {
    background: #fff;
    box-shadow: 0 0 10px #fff;
}
/* 派对监控档案专属样式 */
details.party-log { background: rgba(26, 11, 46, 0.8); border: 1px solid rgba(255, 42, 117, 0.4); border-radius: 8px; margin: 15px 0; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.5); font-family: 'Segoe UI', sans-serif; }
details.party-log summary { background: linear-gradient(90deg, rgba(255, 42, 117, 0.2), transparent); color: #ff2a75; padding: 12px 15px; font-weight: bold; cursor: pointer; list-style: none; text-shadow: 0 0 5px rgba(255, 42, 117, 0.5); border-bottom: 1px solid transparent; transition: all 0.3s; }
details.party-log summary::-webkit-details-marker { display: none; }
details.party-log summary::before { content: '📁'; margin-right: 8px; }
details.party-log[open] summary { border-bottom: 1px solid rgba(255, 42, 117, 0.4); }
details.party-log[open] summary::before { content: '📂'; }
.log-content { padding: 15px; background: rgba(10, 5, 16, 0.9); }
.log-title { color: #9d4edd; font-size: 0.95rem; font-weight: bold; margin: 10px 0 5px 0; border-left: 3px solid #9d4edd; padding-left: 8px; }
.log-table { width: 100%; border-collapse: collapse; margin-bottom: 15px; font-size: 0.85rem; color: #e0e0e0; }
.log-table th, .log-table td { border: 1px solid rgba(157, 78, 221, 0.3); padding: 8px; text-align: left; vertical-align: top; }
.log-table th { background: rgba(157, 78, 221, 0.15); color: #fff; font-weight: bold; white-space: nowrap; }
.log-table tr:hover td { background: rgba(255, 42, 117, 0.1); }
.log-table td:last-child { line-height: 1.5; word-break: break-word; }