/* --- style.css (PC端样式) - 修复闪烁最终版 开始 --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
body {
    background-color: #fafafa;
    background-image: 
        radial-gradient(circle, #fafafa 40%, transparent 100%),
        linear-gradient(to bottom, rgba(220, 220, 20, 0.5) 1px, transparent 1px),
        linear-gradient(to right, rgba(220, 220, 220, 0.5) 1px, transparent 1px);
    background-size: 100% 100%, 50px 50px, 50px 50px;
    background-position: center center, 0 0, 0 0;
    background-repeat: no-repeat, repeat, repeat;
}

/* ================================== */
/*     导航栏样式 (无变化)             */
/* ================================== */
.navbar {
    display: flex;
    align-items: center;
    padding: 15px 100px;
    border-bottom: 1px solid #eaeaea;
    gap: 30px;
}
.logo {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
}
.logo-icon {
    color: white;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    margin-right: 8px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    top: 1px;
}
.nav-link {
    color: #666666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease, background-color 0.2s ease;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
}
.nav-link:hover {
    color: rgb(132, 161, 241);
    background-color: rgba(132, 161, 241, 0.1);
}
.right-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
    flex-shrink: 0;
}
.language-selector {
    position: relative;
    cursor: pointer;
}
.language-selector-current {
    display: flex;
    align-items: center;
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    background-color: transparent;
    transition: background-color 0.2s ease;
}
.language-selector-current:hover {
    background-color: rgba(132, 161, 241, 0.1);
}
.language-selector-current:hover .current-lang-text,
.language-selector-current:hover .lang-icon,
.language-selector-current:hover .dropdown-arrow {
    color: rgb(132, 161, 241);
    fill: rgb(132, 161, 241);
}
.lang-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    fill: #666666;
    transition: fill 0.2s ease;
}
.current-lang-text {
    font-size: 14px;
    color: #666666;
    font-weight: 500;
    transition: color 0.2s ease;
}
.dropdown-arrow {
    width: 12px;
    height: 12px;
    margin-left: 8px;
    fill: #666666;
    transition: transform 0.2s ease, fill 0.2s ease;
}
.language-selector.open .dropdown-arrow {
    transform: rotate(180deg);
}
.language-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-width: 120px;
    padding: 5px 0;
    z-index: 1000;
}
.language-selector.open .language-dropdown {
    display: block;
}
.language-option {
    display: block;
    padding: 8px 16px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.language-option:hover {
    background-color: #f5f8ff;
    color: rgb(132, 161, 241);
}
.language-option.active {
    background-color: #f0f5ff;
    color: #1e88e5;
    font-weight: 600;
}
.app-download-buttons { 
    display: flex;
    flex-direction: row; 
    gap: 10px;
} 
.app-download-button { 
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    background-color: #ffffff;
    color: #84A1F1;
    border-radius: 6px;
    border: 1px solid #84A1F1;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(132, 161, 241, 0.2);
    width: 110px;
    height: 36px;
    box-sizing: border-box;
} 
.app-download-button:hover { 
    background-color: #f5f8ff;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(132, 161, 241, 0.3);
} 
.app-download-button svg { 
    width: 18px;
    height: 18px;
    margin-right: 5px;
}
.app-download-button svg path {
    fill: currentColor;
}

/* ================================== */
/*          页面主要内容样式 (无变化)   */
/* ================================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 60px 10px 40px;
}
.header {
    text-align: center;
    margin-bottom: 40px;
}
.header h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 600;
}
.header h1 span {
    color: rgb(132, 161, 241);
}
.header p {
    color: #6B6461;
    font-size: 20px;
    font-weight: 310; 
}
.mcp-tag-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}
.mcp-tag {
    display: flex;
    align-items: center;
    border: 1px solid rgb(132, 161, 241);
    border-radius: 20px;
    padding: 4px 16px;
    background-color: #f8f8f8;
}
.mcp-count {
    background-color: rgb(132, 161, 241);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 14px;
    margin-right: 2px;
    min-width: 40px;
    text-align: center;
    display: inline-block;
}
.mcp-label {
    padding: 5px 10px;
    font-size: 14px;
    color: #666;
}
.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
    margin-bottom: 0px;
    width: 80%;
    padding: 0 5px;
    margin-left: auto;
    margin-right: auto;
}
.section-title h2 {
    font-size: 18px;
    font-weight: 600;
}
.view-all {
    color: #84A1F1;
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
}
.view-all i {
    margin-left: 5px;
}
.conference-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 20px;
    width: 100%;
}
.tabs-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}
.tab {
    padding: 8px 40px;
    margin: 0 10px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid #cccccc;
    background-color: #f8f8f8;
    color: #666;
    transition: all 0.15s cubic-bezier(.4,0,.2,1);
}
.tab:hover {
    background-color: #f2f2f2;
    border-color: #d0d0d0;
}
.tab.active {
    background-color: rgb(132, 161, 241);
    color: white;
    border-color: rgb(132, 161, 241);
    box-shadow: 0 2px 8px rgba(132, 161, 241, 0.3);
}
.faq-container {
    backdrop-filter: blur(8px);
    background-color: oklab(1 0 0 / 0.5);
    border-radius: 16px;
    border: 1px solid oklab(0.21 0.00164225 -0.00577088 / 0.1);
    box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, 
                rgba(0, 0, 0, 0) 0px 0px 0px 0px, 
                rgba(0, 0, 0, 0) 0px 0px 0px 0px, 
                rgba(0, 0, 0, 0) 0px 0px 0px 0px, 
                rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, 
                rgba(0, 0, 0, 0.1) 0px 4px 6px -4px;
    width: 80%;
    max-width: 1008px;
    padding: 0 32px;
    margin: 0 auto;
    color: oklch(0.141 0.005 285.823);
    outline-color: oklab(0.705 0.00415142 -0.0144141 / 0.5);
    transform: none;
    unicode-bidi: isolate;
}

/* ================================== */
/*        【核心修改区域】             */
/* ================================== */

.faq-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.faq-item {
    border-bottom: 1px solid oklab(0.21 0.00164225 -0.00577088 / 0.1);
    padding: 20px 0;
    display: block;
}
.faq-container > .faq-item-link:last-of-type .faq-item {
    border-bottom: none;
}

.faq-grid-header {
    display: grid;
    grid-template-columns: 140px minmax(200px, 1fr) 280px 30px;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.tag {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    line-height: 16px;
    height: 28px;
    padding: 4px 6px;
    border-radius: 8px;
    background-color: oklab(0.21 0.00164225 -0.00577088 / 0.05);
    border: 1px solid oklab(0.21 0.00164225 -0.00577088 / 0.2);
    color: oklab(0.21 0.00164225 -0.00577088 / 0.8);
    white-space: nowrap;
    overflow: hidden;
    box-sizing: border-box;
}

.conference-title-wrapper {
    display: flex;
    align-items: center;
    min-width: 0;
}
.conference-logo {
    width: 30px;
    height: 30px;
    margin-right: 8px;
    flex-shrink: 0;
}
.conference-title-text {
    font-size: 14px;
    font-weight: 500;
    color: oklch(0.141 0.005 285.823);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.status-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    height: 24px;
    padding: 2px 6px;
    border-radius: 6px;
    white-space: nowrap;
    width: 70px;
    box-sizing: border-box;
    margin-left: 10px;
    flex-shrink: 0;
}

/* 【CSS修复】: 地址列的父容器 */
.conference-location-cell {
    position: relative; /* 关键: 作为浮动元素的定位锚点 */
    display: flex;
    align-items: center;
    min-width: 0;
}

/* 【CSS修复】: 默认状态下的地址 (被截断) */
.conference-location {
    font-size: 12px;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

/* 【CSS修复】: 当鼠标悬停在父容器上时，显示完整的地址 */
.conference-location-cell:hover .conference-location {
    white-space: normal;
    overflow: visible;
    background-color: #ffffff; /* 使用白色背景更清晰 */
    z-index: 10;
    position: absolute; /* 关键: 让它浮动，不撑开布局 */
    left: 0;
    top: 50%; /* 垂直居中 */
    transform: translateY(-50%); /* 垂直居中 */
    padding: 5px 8px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    min-width: 100%; /* 保证至少和列一样宽 */
    line-height: 1.4;
}

.expand-btn-wrapper {
    display: flex;
    justify-content: flex-end;
}
.expand-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: none;
    border: none;
    font-size: 14px;
    text-align: center;
    line-height: 10px;
    cursor: pointer;
}
.expand-btn::after {
    content: "→";
    color: oklch(0.141 0.005 285.823);
    transition: color 0.2s ease;
}
.faq-item-link:hover .expand-btn::after {
    color: #84A1F1;
}

.status-ongoing .tag { color: rgba(82, 196, 26, 0.8); border-color: rgba(82, 196, 26); background-color: rgba(82, 196, 26, 0.1); } 
.status-completed .tag { color: rgba(191, 191, 191, 0.8); border-color: rgba(191, 191, 191, 0.8); background-color: rgba(191, 191, 191, 0.1); }
.status-not-started .tag { color: #84A1F1; border-color: #84A1F1; background-color: rgba(132, 161, 241, 0.1); }
.status-ongoing .status-tag { background-color: rgba(82, 196, 26, 0.5); color: white; border-color: rgba(82, 196, 26, 0.8); }
.status-completed .status-tag { background-color: rgba(191, 191, 191, 0.8); color: white; border-color: rgba(191, 191, 191, 0.8); }

@media (max-width: 1248px) { 
    .faq-container { 
        margin: 0 20px; 
    } 
}
@media (max-width: 768px) {
    .navbar { 
        padding: 15px 20px; 
        flex-wrap: wrap; 
    }
    .right-nav {
        width: 100%;
        margin-top: 15px;
        justify-content: space-between;
    }
    .nav-links { 
        display: none;
    }
    .faq-container { 
        width: 100%; 
        padding: 0 16px; 
        margin: 0; 
    }
    .faq-grid-header {
       grid-template-columns: 1fr;
       gap: 8px;
    }
    .conference-location, .expand-btn-wrapper {
        display: none; 
    }
}

.hidden-by-default {
    display: none;
}
/* --- style.css (PC端样式) - 修复闪烁最终版 结束 --- */