/* ==========================================
   星澜大学·禁忌连系 专属高奢霓虹状态栏 CSS
   ========================================== */

/* 核心外层父容器 */
.relink-scope {
    width: 100%;
    max-width: 800px;
    margin: 12px auto;
    background: #0c0e15;
    border: 1px solid rgba(209, 97, 255, 0.35);
    border-radius: 14px;
    padding: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.85);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #e2e8f0;
    box-sizing: border-box;
    overflow: hidden;
}

/* 顶部场景栏 */
.relink-scope .rs-scene-header {
    background: linear-gradient(135deg, rgba(50, 15, 65, 0.8) 0%, rgba(14, 16, 25, 0.9) 100%);
    border: 1px solid rgba(255, 110, 199, 0.3);
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 10px;
}

.relink-scope .rs-tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 6px;
}

.relink-scope .rs-tag {
    background: rgba(209, 97, 255, 0.15);
    border: 1px solid rgba(209, 97, 255, 0.3);
    color: #ff7a9c;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 4px;
}

.relink-scope .rs-scene-desc {
    font-size: 12px;
    color: #05d9e8;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 主面板网格系统 */
.relink-scope .rs-status-panel {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 10px;
    background: #121622;
    border: 1px solid #1f2738;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
}

@media (max-width: 600px) {
    .relink-scope .rs-status-panel {
        grid-template-columns: 1fr;
    }
}

/* 左侧立绘与基本信息 */
.relink-scope .rs-panel-left {
    background: #171c2b;
    border: 1px solid #28334a;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
}

.relink-scope .rs-avatar-box {
    width: 70px;
    height: 70px;
    margin: 0 auto 8px auto;
    border-radius: 50%;
    border: 2px solid #ff6ec7;
    box-shadow: 0 0 12px rgba(255, 110, 199, 0.4);
    overflow: hidden;
    background: #2a1b38;
}

.relink-scope .rs-avatar {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.relink-scope .rs-name {
    font-size: 15px;
    font-weight: 900;
    color: #ff7a9c;
    margin-bottom: 2px;
}

.relink-scope .rs-age {
    font-size: 11px;
    color: #05d9e8;
}

.relink-scope .rs-identity {
    font-size: 10px;
    color: #94a3b8;
    margin-bottom: 8px;
    background: rgba(0,0,0,0.3);
    padding: 2px 4px;
    border-radius: 4px;
}

.relink-scope .rs-mood, .relink-scope .rs-pose {
    font-size: 11px;
    color: #cbd5e1;
    text-align: left;
    margin-top: 4px;
    line-height: 1.3;
}

.relink-scope .rs-mood span, .relink-scope .rs-pose span {
    color: #d161ff;
    font-weight: bold;
}

/* 右侧进度条与肉体开发 */
.relink-scope .rs-panel-right {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.relink-scope .rs-bar-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.relink-scope .rs-progress-container {
    background: #0b0e15;
    border: 1px solid #252f47;
    border-radius: 6px;
    padding: 6px 8px;
}

.relink-scope .rs-progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    margin-bottom: 4px;
}

.relink-scope .rs-label-title { color: #cbd5e1; font-weight: bold; }
.relink-scope .rs-highlight { color: #ff7a9c; }
.relink-scope .rs-label-value { color: #05d9e8; font-weight: 900; }

.relink-scope .rs-progress-track {
    width: 100%;
    height: 6px;
    background: #1a202c;
    border-radius: 3px;
    overflow: hidden;
}

.relink-scope .rs-progress-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.4s ease;
}

.relink-scope .rs-fill-danger { background: linear-gradient(90deg, #d161ff, #ff7a9c); }
.relink-scope .rs-fill-lust { background: linear-gradient(90deg, #ff6ec7, #05d9e8); }

/* 4大肉体开发度网格 */
.relink-scope .rs-dev-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
}

.relink-scope .rs-dev-item {
    background: #181d2c;
    border: 1px solid #28334a;
    border-radius: 5px;
    padding: 4px;
    text-align: center;
}

.relink-scope .rs-dev-title { font-size: 10px; color: #d161ff; }
.relink-scope .rs-dev-value { font-size: 12px; font-weight: 900; color: #ff7a9c; }

/* 🍼 受孕与状态盒子 */
.relink-scope .rs-bq-box {
    background: #161b26;
    border: 1px solid rgba(5, 217, 232, 0.3);
    border-radius: 6px;
    padding: 6px 8px;
    font-size: 11px;
}

.relink-scope .rs-bq-title { font-weight: bold; color: #05d9e8; margin-bottom: 2px; }
.relink-scope .rs-bq-desc { color: #cbd5e1; }
.relink-scope .rs-bq-meta { color: #ff7a9c; font-size: 10px; margin-top: 2px; }

/* 底部全宽剖析 */
.relink-scope .rs-panel-bottom {
    grid-column: 1 / -1;
    background: #161b26;
    border: 1px solid #28334a;
    border-radius: 8px;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.relink-scope .rs-info-row {
    font-size: 11px;
    line-height: 1.4;
}

.relink-scope .rs-info-label {
    color: #ff7a9c;
    font-weight: bold;
    display: inline-block;
    margin-right: 4px;
}

.relink-scope .rs-info-content { color: #cbd5e1; display: inline; }

.relink-scope .rs-quote-box {
    background: rgba(42, 27, 56, 0.4);
    border-left: 3px solid #ff7a9c;
    padding: 6px 8px;
    border-radius: 0 6px 6px 0;
    font-size: 11px;
    font-style: italic;
    color: #e2e8f0;
    margin-top: 4px;
}

/* 💡 6大行动推荐卡片 */
.relink-scope .rs-choices-box {
    background: #121622;
    border: 1px solid #1f2738;
    border-radius: 10px;
    padding: 10px;
}

.relink-scope .rs-choice-header {
    font-size: 12px;
    font-weight: bold;
    color: #ff6ec7;
    margin-bottom: 8px;
}

.relink-scope .rs-choice-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 6px;
}

.relink-scope .rs-choice-item {
    background: #181d2c;
    border: 1px solid #28334a;
    border-radius: 6px;
    padding: 6px 8px;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.relink-scope .rs-choice-item:hover {
    border-color: #ff7a9c;
    background: #20263a;
}

.relink-scope .rs-choice-key {
    background: #d161ff;
    color: #000;
    font-weight: 900;
    font-size: 11px;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.relink-scope .rs-choice-text { color: #cbd5e1; line-height: 1.3; }

/* 卷轴记忆区美化 */
details.memory {
    background: #121622;
    border: 1px solid #28334a;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 11px;
    color: #94a3b8;
    margin-top: 8px;
}

details.memory summary {
    font-weight: bold;
    color: #05d9e8;
    cursor: pointer;
    outline: none;
}