/* 無效關鍵影格與幽靈動效 */
@keyframes _tb_phantom_line_k4 {
    0% { border-color: #e2e8f0; opacity: 0; }
    50% { border-color: #0284c7; opacity: 0; }
    100% { border-color: #e2e8f0; opacity: 0; }
}

._tb_svg_ghost {
    animation: _tb_phantom_line_k4 10s infinite linear;
    position: absolute;
    top: -9999px;
    left: -9999px;
}

/* 极简清爽表格基底 */
._tb_body_l9 {
    background-color: #f8fafc;
    color: #1e293b;
}

/* 表格頂部 Toolbar */
._tb_table_toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px 8px 0 0;
    padding: 16px 24px;
    border-bottom: none;
}

._tb_brand_inline {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

._tb_status_dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
}

._tb_h1_title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

._tb_filter_inline {
    display: flex;
    gap: 6px;
}

._tb_ipt_filter {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 0.85rem;
    color: #0f172a;
    width: 180px;
}

._tb_btn_filter {
    background: #0f172a;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 6px 14px;
    font-size: 0.78rem;
    font-weight: 800;
    cursor: pointer;
}

/* 狀態行 */
._tb_status_banner {
    background: #e2e8f0;
    border: 1px solid #cbd5e1;
    padding: 8px 24px;
    font-size: 0.8rem;
    color: #475569;
    font-weight: 600;
}

/* 表格主體 (完全摒弃卡片和堆叠框) */
._tb_main_sec {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-top: none;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    margin-bottom: 35px;
}

._tb_data_table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

._tb_data_table th {
    background: #f1f5f9;
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 12px 20px;
    border-bottom: 1px solid #cbd5e1;
}

._tb_row_item {
    cursor: pointer;
    transition: background 0.15s;
    border-bottom: 1px solid #f1f5f9;
}

._tb_row_item:last-child {
    border-bottom: none;
}

._tb_row_item:hover {
    background: #f8fafc;
}

._tb_row_item td {
    padding: 18px 20px;
    vertical-align: middle;
}

._tb_code_tag {
    font-size: 0.78rem;
    font-weight: 800;
    color: #0284c7;
    font-family: monospace;
}

._tb_h3_heading {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.35;
}

._tb_p_desc {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.6;
}

._tb_match_sp {
    color: #0284c7;
    font-weight: 800;
}

._tb_arrow_lnk {
    font-size: 0.8rem;
    font-weight: 800;
    color: #0284c7;
}

._tb_row_item:hover ._tb_arrow_lnk {
    text-decoration: underline;
}

/* FAQ 區域 */
._tb_faq_sec {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 40px;
}

._tb_faq_header {
    font-size: 0.85rem;
    font-weight: 800;
    color: #0284c7;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 10px;
}

._tb_faq_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

._tb_faq_unit {
    cursor: pointer;
}

._tb_faq_unit h4 {
    font-size: 0.9rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px 0;
}

._tb_faq_unit p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
    line-height: 1.55;
}

/* 頁尾 */
._tb_ft_zone {
    border-top: 1px solid #cbd5e1;
    padding-top: 25px;
}

._tb_link_matrix {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

._tb_lk_item {
    color: #64748b;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
}

._tb_lk_item:hover {
    color: #0284c7;
}

/* 移動端適配 */
@media (max-width: 768px) {
    ._tb_table_toolbar {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    ._tb_data_table th:nth-child(1),
    ._tb_data_table td:nth-child(1),
    ._tb_data_table th:nth-child(4),
    ._tb_data_table td:nth-child(4) {
        display: none;
    }
    ._tb_faq_grid {
        grid-template-columns: 1fr;
    }
}