/* 無效關鍵影格與幽靈動效 */
@keyframes _zb_phantom_shake_k5 {
    0% { transform: translate(0, 0); opacity: 0; }
    50% { transform: translate(3px, -3px); opacity: 0; }
    100% { transform: translate(0, 0); opacity: 0; }
}

._zb_svg_ghost {
    animation: _zb_phantom_shake_k5 9s infinite ease-in-out;
    position: absolute;
    top: -9999px;
    left: -9999px;
}

/* 新粗野主義基底 */
._zb_body_m3 {
    background-color: #fefce8;
    color: #0f172a;
}

/* 頂部粗邊欄 */
._zb_nav_bar {
    background: #facc15;
    border-bottom: 4px solid #000000;
    padding: 16px 0;
}

._zb_nav_inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

._zb_logo_box {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

._zb_logo_tag {
    background: #000000;
    color: #facc15;
    font-size: 0.75rem;
    font-weight: 900;
    padding: 4px 8px;
    border: 2px solid #000000;
}

._zb_h1_title {
    font-size: 1.25rem;
    font-weight: 900;
    color: #000000;
    margin: 0;
    letter-spacing: -0.02em;
}

/* 頂部搜尋框 (粗野硬邊) */
._zb_srch_bar {
    display: flex;
    border: 3px solid #000000;
    box-shadow: 4px 4px 0 #000000;
    background: #ffffff;
}

._zb_ipt_srch {
    border: none;
    padding: 8px 12px;
    font-size: 0.88rem;
    color: #000000;
    font-weight: 700;
    width: 180px;
}

._zb_btn_srch {
    background: #a855f7;
    color: #ffffff;
    border: none;
    border-left: 3px solid #000000;
    padding: 8px 18px;
    font-weight: 900;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.15s;
}

._zb_btn_srch:hover {
    background: #9333ea;
}

/* 跑馬燈公告帶 */
._zb_marquee_strip {
    background: #a855f7;
    border-bottom: 4px solid #000000;
    padding: 10px 0;
    color: #ffffff;
    font-family: -apple-system, sans-serif;
}

._zb_marquee_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

._zb_badge_live {
    background: #000000;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 900;
    padding: 2px 8px;
}

._zb_ticker_text {
    font-size: 0.88rem;
    font-weight: 800;
}

/* 核心 Z 字交錯切片流 (Zig-Zag Stream) */
._zb_main_sec {
    margin: 40px auto;
}

._zb_zigzag_stream {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

._zb_zig_item {
    display: flex;
    background: #ffffff;
    border: 3px solid #000000;
    box-shadow: 6px 6px 0 #000000;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
}

._zb_zig_item:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 #000000;
}

/* 偶數項反向交錯 (Z 字視覺關鍵) */
._zb_zig_item:nth-child(even) {
    flex-direction: row-reverse;
}

._zb_zig_item:nth-child(even) ._zb_info_col {
    border-right: none;
    border-left: 3px solid #000000;
    background: #4ade80;
}

/* 左/右資訊欄 */
._zb_info_col {
    width: 180px;
    background: #38bdf8;
    border-right: 3px solid #000000;
    padding: 24px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0;
    box-sizing: border-box;
}

._zb_index_num {
    font-size: 0.82rem;
    font-weight: 900;
    color: #000000;
}

._zb_pill_stat {
    display: inline-block;
    background: #000000;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 900;
    padding: 3px 8px;
    text-align: center;
    width: fit-content;
}

/* 文章內容欄 */
._zb_text_col {
    flex: 1;
    padding: 26px;
    min-width: 0;
    font-family: -apple-system, sans-serif;
}

._zb_h3_heading {
    font-size: 1.25rem;
    font-weight: 900;
    color: #000000;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

._zb_row_p {
    font-size: 0.92rem;
    color: #334155;
    line-height: 1.65;
}

._zb_match_sp {
    color: #a855f7;
    font-weight: 900;
}

._zb_act_bar {
    margin-top: 16px;
}

._zb_btn_act {
    font-size: 0.82rem;
    font-weight: 900;
    color: #000000;
    background: #facc15;
    border: 2px solid #000000;
    padding: 4px 10px;
    display: inline-block;
}

/* FAQ 區塊 */
._zb_faq_sec {
    margin-bottom: 50px;
}

._zb_faq_card {
    background: #ffffff;
    border: 3px solid #000000;
    box-shadow: 6px 6px 0 #000000;
    padding: 28px;
}

._zb_faq_h4 {
    font-size: 1.2rem;
    font-weight: 900;
    color: #000000;
    margin: 0 0 20px 0;
    border-bottom: 3px solid #000000;
    padding-bottom: 10px;
}

._zb_faq_row {
    background: #fefce8;
    border: 2px solid #000000;
    padding: 16px;
    cursor: pointer;
}

/* Footer Zone */
._zb_ft_zone {
    background: #facc15;
    border-top: 4px solid #000000;
    padding: 35px 0 25px;
}

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

._zb_lk_anchor {
    color: #000000;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 800;
    font-family: -apple-system, sans-serif;
}

._zb_lk_anchor:hover {
    color: #a855f7;
}

/* 手機端響應式調整 */
@media (max-width: 640px) {
    ._zb_zig_item, ._zb_zig_item:nth-child(even) {
        flex-direction: column;
    }
    ._zb_info_col, ._zb_zig_item:nth-child(even) ._zb_info_col {
        width: 100%;
        border-right: none;
        border-left: none;
        border-bottom: 3px solid #000000;
    }
}