/* =============================================================================
   通用家谱系统 — 主视图与可视化交互样式 (Main View & Component Styles)
   ============================================================================= */

@font-face {
    font-family: 'LiuKai';
    src: url('/FZSuXinShiLiuKaiS-R-GB.woff2') format('woff2'),
         url('/FZSuXinShiLiuKaiS-R-GB.ttf') format('truetype');
    font-display: swap;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-color, #eadebe);        
    color: #333333;
    font-family: "LiuKai", "KaiTi", "STKaiti", "Songti SC", "SimSun", serif;  
    overflow: hidden;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    overscroll-behavior: none;         
    -webkit-text-size-adjust: 100%;
}

.scroll-bg-layer {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--card-bg, #ede4d1);
    background-image: var(--card-pattern, url('/assets/scroll/scroll_parchment_seamless.png?v=20260830_parchment'));
    background-repeat: repeat;
    background-size: 480px 260px;
    background-position: center center;
    z-index: -1;
    pointer-events: none;
}

/* G6 画布挂载容器 */
#mountNode {
    width: 100vw;
    height: 100vh;
    height: 100dvh;                    
    touch-action: none;
    pointer-events: none; /* 初始状态物理屏蔽鼠标，待世系树首屏渲染并动画落定后由脚本动态开启 */
}

/* ------------------------------------------------------------------
   左上角控制面板
   ------------------------------------------------------------------ */
/* ------------------------------------------------------------------
   左上角控制面板 - 东方琉璃毛玻璃悬浮签
   ------------------------------------------------------------------ */
.glass-panel {
    position: fixed;
    top: 25px;
    left: 25px;
    z-index: 1000;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.97) 100%);
    backdrop-filter: blur(25px) saturate(140%);
    -webkit-backdrop-filter: blur(25px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.95);
    padding: 16px 20px;
    border-radius: 16px;
    box-shadow: 
        inset 0 1px 1.5px rgba(255, 255, 255, 0.95),
        inset 0 -1px 1px rgba(0, 0, 0, 0.03),
        0 12px 36px rgba(60, 42, 24, 0.14),
        0 3px 10px rgba(60, 42, 24, 0.08);
}

.glass-panel h1 {
    margin: 0;
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color, #8a1d1d);                    
    letter-spacing: 2px;
}

.glass-panel p {
    margin: 8px 0 0 0;
    font-size: 14px;
    color: #666;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ------------------------------------------------------------------
   即时搜索框与结果下拉浮层
   ------------------------------------------------------------------ */
.search-box {
    position: relative;
    margin-top: 15px;
    pointer-events: auto;               
}

#member-search {
    width: 100%;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    font-size: 13px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    outline: none;
    box-sizing: border-box;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

#member-search:focus {
    background: rgba(255, 255, 255, 0.85);
    border-color: var(--primary-color, #8a1d1d);
    box-shadow: 0 0 0 2px rgba(138, 29, 29, 0.15), inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

#search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    margin: 5px 0 0;
    padding: 0;
    list-style: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.75) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(60, 42, 24, 0.12);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    max-height: 250px;
    overflow-y: auto;
    z-index: 100;
    display: none;
    text-align: left;
}

#search-results li {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 13px;
    color: #333;
    cursor: pointer;
    transition: background 0.2s;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

#search-results li:last-child {
    border-bottom: none;
}

#search-results li:hover {
    background: var(--primary-light, rgba(138, 29, 29, 0.08));
    color: var(--primary-color, #8a1d1d);
}

/* ------------------------------------------------------------------
   加载中动画提示
   ------------------------------------------------------------------ */
#loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    color: var(--primary-color, #8a1d1d);
    background: rgba(255, 255, 255, 0.9);
    padding: 20px 40px;
    border-radius: 12px;
    border: 1px solid var(--input-border, rgba(138, 29, 29, 0.3));
    z-index: 20;
    text-align: center;
    box-sizing: border-box;
}

.hint {
    position: absolute;
    bottom: 20px;
    right: 48px;
    color: #6a4c3e;
    font-size: 13px;
    font-family: "KaiTi", "STKaiti", serif;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    pointer-events: none;
    letter-spacing: 1px;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.8), 0 0 5px rgba(255, 255, 255, 0.6);
}

/* ------------------------------------------------------------------
   节点点击气泡/上下文菜单
   ------------------------------------------------------------------ */
.node-menu {
    position: absolute;
    display: none;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    z-index: 200;
    padding: 6px 0;
    min-width: 150px;
    font-family: "LiuKai", "KaiTi", "STKaiti", "Songti SC", "SimSun", serif;
    box-sizing: border-box;
}

.node-menu-item {
    padding: 10px 16px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: background 0.2s;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.node-menu-item:hover {
    background: var(--primary-light, rgba(138, 29, 29, 0.08));
    color: var(--primary-color, #8a1d1d);
}

/* ------------------------------------------------------------------
   抽屉式生平详情弹窗 (Ancient Scroll & Leaf Drawer - 标准宣纸卡片风格)
   ------------------------------------------------------------------ */
#drawer {
    position: fixed;              
    top: 0;
    bottom: 0;                    
    right: -510px;
    width: 460px;
    max-width: 92vw;
    background-color: var(--card-bg, #ede4d1);
    background-image: var(--card-pattern, url('/assets/scroll/scroll_parchment_seamless.png?v=20260830_parchment'));
    background-repeat: repeat;
    background-size: 480px 260px;
    background-position: center center;
    box-shadow: -12px 0 35px rgba(35, 45, 55, 0.18), -25px 0 60px rgba(35, 45, 55, 0.10);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
    box-sizing: border-box;
    font-family: "LiuKai", "KaiTi", "STKaiti", "Songti SC", "SimSun", serif;
    display: flex;
    flex-direction: column;
    color: #2c2521;
    border-left: 1px solid var(--card-border, rgba(138, 29, 29, 0.22));
}

#drawer::before,
#drawer::after {
    display: none;
}

#drawer.open {
    right: 0;
}

.drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 28px 30px;
}

.drawer-footer {
    padding: 14px 28px;
    background-color: var(--card-bg, #ede4d1);
    background-image: var(--card-pattern, url('/assets/scroll/scroll_parchment_seamless.png?v=20260830_parchment'));
    background-repeat: repeat;
    background-size: 480px 260px;
    background-position: center center;
    border-top: 1px solid var(--card-border, rgba(138, 29, 29, 0.22));
    z-index: 10;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.action-btn {
    flex: 1;
    min-width: 80px;
    height: 36px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s;
    font-family: "LiuKai", "KaiTi", "STKaiti", serif;
    border: 1px solid var(--primary-border-dark, rgba(138, 29, 29, 0.4));
    background-color: rgba(255, 255, 255, 0.88);
    color: var(--primary-color, #8a1d1d);
    box-sizing: border-box;
}

.action-btn:hover, .return-btn:hover, .focus-btn:hover {
    background-color: var(--primary-light, rgba(138, 29, 29, 0.08));
    border-color: var(--primary-color, #8a1d1d);
    color: var(--primary-color, #8a1d1d);
}

.return-btn, .focus-btn {
    background-color: rgba(255, 255, 255, 0.88);
    color: var(--primary-color, #8a1d1d);
    border: 1px solid var(--primary-border-dark, rgba(138, 29, 29, 0.4));
    box-shadow: none;
}

/* ------------------------------------------------------------------
   详情头部人物志排版 (Hero Profile)
   ------------------------------------------------------------------ */
.detail-header {
    margin-bottom: 25px;
    border-bottom: 1px solid var(--primary-border, rgba(138, 29, 29, 0.2));
    padding-bottom: 20px;
}

.detail-header h2 {
    margin: 0;
    color: var(--primary-color, #8a1d1d);
    font-size: 26px;
    font-family: "STKaiti", "KaiTi", "BiauKai", serif;
    letter-spacing: 2px;
    text-shadow: var(--title-shadow, 0 0 2px rgba(138, 29, 29, 0.32), 0 0 4px rgba(138, 29, 29, 0.12));
}

.detail-header p {
    margin: 5px 0 0 0;
    color: #555;
    font-size: 14px;
}

.avatar-box {
    float: right;
    width: 100px;
    height: 133px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(60, 40, 20, 0.18);
    margin-left: 20px;
    margin-bottom: 15px;
    border: 2px solid #8a1d1d;
    background: #fff;
}

.detail-header.layout-hero { text-align: center; }
.detail-header.layout-hero .avatar-box { 
    float: none; 
    display: block; 
    margin: 0 auto 20px auto; 
    width: 90%; 
    max-width: 280px;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    border-radius: 8px; 
    border: 2px solid #8a1d1d; 
    box-shadow: 0 6px 20px rgba(60, 40, 20, 0.22); 
    background: #fff;
}
.detail-header.layout-hero h2 { font-size: 28px; }
.detail-header.layout-hero .header-text { display: block; }

.detail-section {
    background: rgba(255, 255, 255, 0.65);
    border-radius: 6px;
    padding: 14px 16px;
    margin-bottom: 14px;
    border: 1px solid var(--primary-border-light, rgba(138, 29, 29, 0.18));
    box-shadow: 0 2px 6px rgba(60, 40, 20, 0.05);
}

.detail-section h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: var(--primary-color, #8a1d1d);
    border-left: 4px solid var(--primary-color, #8a1d1d);
    padding-left: 10px;
    font-weight: bold;
    letter-spacing: 1px;
}

.detail-row {
    display: flex;
    margin-bottom: 8px;
    font-size: 15px;
    gap: 10px;
}

.detail-label {
    width: 80px;
    color: #666;
    font-weight: 500;
}

.detail-value {
    flex: 1;
    color: #222;
    font-weight: 600;
    min-width: 0;
    overflow-wrap: anywhere;
}

.bio-content {
    font-size: 15px;
    line-height: 1.6;
    color: #000;
    white-space: pre-wrap;   
}

.relation-link {
    color: #0056b3;
    text-decoration: underline;
    cursor: pointer;
    margin-right: 10px;
    font-weight: bold;
    display: inline-block;
    padding: 2px 0;
}

.relation-link:hover {
    color: #007bff;
}

.add-relation-btn {
    display: inline-block;
    font-size: 13px;
    color: var(--primary-color, #8a1d1d);
    background: var(--primary-light, rgba(138, 29, 29, 0.05));
    border: 1px dashed var(--primary-border-dark, rgba(138, 29, 29, 0.4));
    padding: 2px 6px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    margin-left: 5px;
}
.add-relation-btn:hover {
    background: var(--primary-light-hover, rgba(138, 29, 29, 0.1));
    border-color: var(--primary-color, #8a1d1d);
}

/* ------------------------------------------------------------------
   移动端响应式 (< 768px)
   ------------------------------------------------------------------ */
@media (max-width: 768px) {
    .scroll-roller-left, .scroll-roller-right {
        width: 14px;
    }
    .scroll-roller-left .roller-knob-top,
    .scroll-roller-left .roller-knob-bottom,
    .scroll-roller-right .roller-knob-top,
    .scroll-roller-right .roller-knob-bottom {
        flex: 0 0 16px;
        height: 16px;
    }
    .scroll-border-top, .scroll-border-bottom {
        height: 4px;
    }

    .glass-panel {
        top: calc(10px + env(safe-area-inset-top));
        left: 18px;
        max-width: calc(100vw - 36px);
        padding: 9px 12px;
        border-radius: 8px;
        box-sizing: border-box;
        pointer-events: auto;           
    }
    .glass-panel h1 {
        font-size: 19px;
        line-height: 1.15;
        letter-spacing: 1px;
    }
    .glass-panel p {
        margin-top: 4px;
        font-size: 12px;
        line-height: 1.25;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #loading {
        width: min(84vw, 320px);
        padding: 16px 18px;
        font-size: 16px;
        line-height: 1.5;
    }

    .hint { display: none; }

    .node-menu {
        position: fixed;
        left: 10px !important;
        right: 10px;
        top: auto !important;
        bottom: calc(10px + env(safe-area-inset-bottom));
        width: auto;
        min-width: 0;
        max-height: min(62vh, 360px);
        overflow-y: auto;
        padding: 8px;
        border-radius: 12px;
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
    }

    .node-menu-item {
        min-height: 46px;
        padding: 0 14px;
        display: flex;
        align-items: center;
        border-radius: 8px;
        font-size: 15px;
    }

    #drawer {
        width: 100%;
        max-width: 100%;
        right: -100%;
        background-color: var(--card-bg, #ede4d1);
        background-image: var(--card-pattern, url('/assets/scroll/scroll_parchment_seamless.png?v=20260830_parchment'));
        background-repeat: repeat;
        background-size: 480px 260px;
        background-position: center center;
    }
    #drawer::after {
        display: none;
    }
    #drawer.open { right: 0; }

    .drawer-content {
        padding: calc(18px + env(safe-area-inset-top)) 16px 18px;
    }

    .drawer-footer {
        padding: 12px 16px;
        padding-bottom: calc(12px + env(safe-area-inset-bottom));
    }

    .action-btn {
        height: 46px;
        min-width: 0;
        font-size: 15px;
        white-space: nowrap;
    }

    .detail-header {
        min-height: 116px;
        margin-bottom: 14px;
        padding-bottom: 14px;
    }
    .detail-header h2 {
        font-size: 24px;
        line-height: 1.2;
    }

    .detail-section {
        padding: 12px;
        margin-bottom: 12px;
    }
    .detail-section h3 {
        font-size: 15px;
    }

    .detail-row {
        align-items: flex-start;
        font-size: 14px;
        line-height: 1.45;
    }
    .detail-label {
        width: 68px;
        flex: 0 0 68px;
    }

    .bio-content {
        font-size: 14px;
        line-height: 1.7;
    }

    .avatar-box {
        width: 86px;
        height: 114px;
        margin-left: 12px;
    }
}

@media (max-width: 380px) {
    .drawer-footer {
        flex-direction: column;
    }
    .action-btn {
        width: 100%;
    }
}

/* ------------------------------------------------------------------
   通用模态窗
   ------------------------------------------------------------------ */
.modal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    max-width: 400px;
    text-align: center;
}

/* ------------------------------------------------------------------
   右上角世系图谱高级工具箱 (Toolbox & Kinship Trace)
   ------------------------------------------------------------------ */
.btn-toolbox-toggle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(250, 248, 245, 0.9);
    background-image: var(--card-pattern, url('/assets/scroll/scroll_parchment_seamless.png?v=20260830_parchment'));
    background-size: 240px 130px;
    border: 1px solid var(--primary-border-dark, rgba(138, 29, 29, 0.35));
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    backdrop-filter: blur(8px);
    outline: none;
}
.btn-toolbox-toggle:hover {
    transform: rotate(45deg) scale(1.08);
    border-color: var(--primary-color, #8a1d1d);
    box-shadow: var(--primary-shadow, 0 6px 20px rgba(138, 29, 29, 0.25));
}

.graph-toolbox-card {
    position: absolute;
    top: 50px;
    right: 0;
    width: 320px;
    max-width: 90vw;
    background: #faf8f5;
    background-image: var(--card-pattern, url('/assets/scroll/scroll_parchment_seamless.png?v=20260830_parchment'));
    background-size: 480px 260px;
    border-radius: 12px;
    border: 1px solid var(--primary-border-dark, rgba(138, 29, 29, 0.35));
    border-top: 3.5px solid var(--primary-color, #8a1d1d);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    padding: 16px 18px;
    backdrop-filter: blur(10px);
    font-family: "LiuKai", "KaiTi", "STKaiti", "Songti SC", "SimSun", serif;
    animation: fadeInSlideDown 0.25s ease-out;
}

@keyframes fadeInSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.toolbox-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--primary-border-light, rgba(138, 29, 29, 0.18));
    margin-bottom: 12px;
}
.toolbox-header h3 {
    margin: 0;
    font-size: 1.05rem;
    color: var(--primary-color, #8a1d1d);
    letter-spacing: 0.5px;
}
.toolbox-close-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #888;
    line-height: 1;
}
.toolbox-close-btn:hover { color: var(--primary-color, #8a1d1d); }

.toolbox-item {
    margin-bottom: 10px;
}
.toolbox-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    font-weight: bold;
    color: #3e3229;
    cursor: pointer;
}
.toolbox-tip {
    font-size: 0.78rem;
    color: #777;
    margin-top: 3px;
    margin-left: 24px;
}
.toolbox-divider {
    height: 1px;
    background: var(--primary-light-hover, rgba(138, 29, 29, 0.12));
    margin: 12px 0;
}
.toolbox-sub-title {
    font-size: 0.95rem;
    font-weight: bold;
    color: var(--primary-color, #8a1d1d);
    display: flex;
    align-items: center;
    gap: 4px;
}

.kin-search-group {
    display: flex;
    align-items: center;
    gap: 6px;
}
.kin-search-group label {
    font-size: 0.85rem;
    color: #444;
    font-weight: bold;
    width: 60px;
}
.kin-input-wrapper {
    flex: 1;
    position: relative;
}
.kin-input-wrapper input {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid var(--primary-border, rgba(138, 29, 29, 0.25));
    border-radius: 4px;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 0.88rem;
    background: rgba(255, 255, 255, 0.9);
}
.kin-input-wrapper input:focus {
    outline: none;
    border-color: var(--primary-color, #8a1d1d);
    box-shadow: var(--input-focus-shadow, 0 0 0 2px rgba(138, 29, 29, 0.15));
}
.kin-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--primary-border, rgba(138, 29, 29, 0.25));
    border-radius: 4px;
    max-height: 130px;
    overflow-y: auto;
    z-index: 1001;
    margin: 2px 0 0;
    padding: 0;
    list-style: none;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    display: none;
}
.kin-dropdown li {
    padding: 6px 10px;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #f5f5f5;
}
.kin-dropdown li:hover {
    background: var(--primary-light, rgba(138, 29, 29, 0.08));
    color: var(--primary-color, #8a1d1d);
    font-weight: bold;
}

.btn-kin-trace {
    flex: 2;
    padding: 7px 0;
    background: var(--primary-color, #8a1d1d);
    color: white;
    border: 1px solid var(--primary-border-dark, rgba(138, 29, 29, 0.6));
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-kin-trace:hover {
    background: #6a1515;
}
.btn-kin-clear {
    flex: 1;
    padding: 7px 0;
    background: rgba(255, 255, 255, 0.8);
    color: #666;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-kin-clear:hover {
    background: #eee;
    color: #333;
}

.kinship-result-box {
    margin-top: 12px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(212, 175, 55, 0.6);
    border-radius: 6px;
    padding: 10px 12px;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.15);
}
.kin-res-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px dashed rgba(212, 175, 55, 0.4);
}
.kin-wufu-tag {
    background: #8a1d1d;
    color: #fff;
    font-size: 0.75rem;
    padding: 1px 6px;
    border-radius: 3px;
    font-weight: bold;
}
.kin-wufu-tag.out {
    background: #666;
}
.kin-relation-title {
    font-weight: bold;
    color: #333;
    font-size: 0.95rem;
}
.kin-res-row {
    font-size: 0.83rem;
    margin-bottom: 4px;
    display: flex;
    line-height: 1.4;
}
.kin-res-label {
    color: #666;
    width: 85px;
    flex-shrink: 0;
}
.kin-res-val {
    color: #222;
    font-weight: 500;
}
