
        /* ===== TOOLBAR ===== */
        .bulletin-toolbar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 14px;
            flex-wrap: wrap;
            margin-bottom: 28px;
        }

        .bulletin-tabs {
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
        }

        .bulletin-tab {
            padding: 7px 20px;
            font-size: 13px;
            font-weight: 600;
            font-family: inherit;
            border: 1.5px solid #c8d8e8;
            border-radius: 20px;
            background: #fff;
            color: #427096;
            cursor: pointer;
            transition: all 0.18s;
            white-space: nowrap;
        }

        .bulletin-tab:hover {
            border-color: #427096;
            background: #f0f5fb;
        }

        .bulletin-tab.active {
            background: #427096;
            border-color: #427096;
            color: #fff;
        }

        .bulletin-toolbar-right {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .bulletin-search-wrap {
            position: relative;
        }

        .bulletin-search-wrap svg {
            position: absolute;
            left: 11px;
            top: 50%;
            transform: translateY(-50%);
            width: 14px;
            height: 14px;
            color: #aaa;
            pointer-events: none;
        }

        .bulletin-search {
            padding: 8px 14px 8px 34px;
            font-size: 13px;
            font-family: inherit;
            border: 1.5px solid #d0dce8;
            border-radius: 20px;
            outline: none;
            width: 200px;
            transition: border-color 0.18s;
            background: #fff;
        }

        .bulletin-search:focus { border-color: #427096; }

        .btn-post-bulletin {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            padding: 8px 20px;
            font-size: 13px;
            font-weight: 700;
            font-family: inherit;
            color: #fff;
            background: #004c99;
            border: none;
            border-radius: 20px;
            cursor: pointer;
            text-decoration: none;
            transition: background 0.18s;
            white-space: nowrap;
        }

        .btn-post-bulletin:hover { background: #003a7a; color: #fff; text-decoration: none; }
        .btn-post-bulletin svg { width: 14px; height: 14px; }

        /* ===== RESULT COUNT ===== */
        .bulletin-count {
            font-size: 13px;
            color: #888;
            margin-bottom: 18px;
        }

        .bulletin-count strong { color: #1a3a52; }

        /* ===== CARDS GRID ===== */
        .bulletin-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 22px;
            margin-bottom: 40px;
        }

        .bulletin-card {
            background: #fff;
            border: 1.5px solid #e5eaf0;
            border-radius: 10px;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
            cursor: pointer;
        }

        .bulletin-card:hover {
            box-shadow: 0 6px 24px rgba(66,112,150,.13);
            border-color: #b0c8df;
            transform: translateY(-2px);
        }

        /* 圖片區 */
        .bc-thumb {
            aspect-ratio: 16/9;
            background: #e8f0f8;
            overflow: hidden;
            position: relative;
            flex-shrink: 0;
        }

        .bc-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.3s;
        }

        .bulletin-card:hover .bc-thumb img { transform: scale(1.04); }

        /* 無圖佔位 */
        .bc-thumb-placeholder {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #dce8f4 0%, #c8d8ec 100%);
        }

        .bc-thumb-placeholder svg {
            width: 40px;
            height: 40px;
            color: #a0b8cf;
        }

        /* 類型標籤（圖片上方左上角） */
        .bc-badge {
            position: absolute;
            top: 10px;
            left: 10px;
            font-size: 10px;
            font-weight: 700;
            padding: 3px 9px;
            border-radius: 3px;
            white-space: nowrap;
            letter-spacing: 0.3px;
        }

        .bc-badge.activity { background: #e3f2fd; color: #1565c0; }
        .bc-badge.sponsor  { background: #fff8e1; color: #e65100; }
        .bc-badge.recruit  { background: #e8f5e9; color: #2e7d32; }
        .bc-badge.notice   { background: #f3e5f5; color: #6a1b9a; }

        /* NEW 標記 */
        .bc-new {
            position: absolute;
            top: 10px;
            right: 10px;
            font-size: 10px;
            font-weight: 700;
            padding: 2px 7px;
            border-radius: 3px;
            background: #d32f2f;
            color: #fff;
        }

        /* 內容 */
        .bc-body {
            padding: 16px 18px 20px;
            display: flex;
            flex-direction: column;
            flex: 1;
        }

        .bc-unit {
            font-size: 11px;
            font-weight: 700;
            color: #427096;
            margin-bottom: 6px;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .bc-unit svg {
            width: 11px;
            height: 11px;
            flex-shrink: 0;
        }

        .bc-title {
            font-size: 15px;
            font-weight: 700;
            color: #1a3a52;
            line-height: 1.45;
            margin-bottom: 8px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .bc-desc {
            font-size: 13px;
            color: #666;
            line-height: 1.7;
            margin-bottom: 14px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            flex: 1;
        }

        .bc-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 8px;
            border-top: 1px solid #edf1f6;
            padding-top: 12px;
            margin-top: auto;
        }

        .bc-meta {
            display: flex;
            flex-direction: column;
            gap: 3px;
        }

        .bc-date {
            font-size: 11px;
            color: #aaa;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .bc-date svg {
            width: 11px;
            height: 11px;
            flex-shrink: 0;
        }

        .bc-btn {
            font-size: 12px;
            font-weight: 700;
            font-family: inherit;
            padding: 5px 14px;
            border: 1.5px solid #427096;
            border-radius: 14px;
            background: #fff;
            color: #427096;
            cursor: pointer;
            white-space: nowrap;
            transition: background 0.15s, color 0.15s;
            flex-shrink: 0;
        }

        .bc-btn:hover { background: #427096; color: #fff; }

        /* Empty state */
        .bulletin-empty {
            display: none;
            text-align: center;
            padding: 60px 20px;
            color: #aaa;
            font-size: 14px;
        }

        /* ===== MODAL ===== */
        .bm-backdrop {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,.55);
            z-index: 900;
            opacity: 0;
            transition: opacity 0.22s;
            pointer-events: none;
        }

        .bm-backdrop.open { opacity: 1; pointer-events: auto; }

        .bm-box {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -44%) scale(.96);
            z-index: 901;
            width: min(680px, 94vw);
            max-height: 86vh;
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 20px 60px rgba(0,0,0,.28);
            display: flex;
            flex-direction: column;
            opacity: 0;
            transition: opacity 0.22s, transform 0.22s;
            pointer-events: none;
            overflow: hidden;
        }

        .bm-box.open {
            opacity: 1;
            transform: translate(-50%, -50%) scale(1);
            pointer-events: auto;
        }

        .bm-header {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            padding: 22px 24px 18px;
            border-bottom: 1px solid #edf1f6;
            flex-shrink: 0;
        }

        .bm-header-info { flex: 1; min-width: 0; }

        .bm-badge-row {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 8px;
        }

        .bm-title {
            font-size: 18px;
            font-weight: 700;
            color: #1a3a52;
            line-height: 1.4;
            margin-bottom: 6px;
        }

        .bm-unit {
            font-size: 13px;
            color: #427096;
            font-weight: 600;
        }

        .bm-close {
            width: 32px;
            height: 32px;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #f4f7fa;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            color: #666;
            transition: background 0.15s, color 0.15s;
            margin-top: -2px;
        }

        .bm-close:hover { background: #e5eaf0; color: #1a3a52; }
        .bm-close svg { width: 16px; height: 16px; }

        .bm-img {
            width: 100%;
            max-height: 200px;
            object-fit: cover;
            flex-shrink: 0;
        }

        .bm-body {
            padding: 22px 24px;
            overflow-y: auto;
            flex: 1;
        }

        .bm-meta-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 12px 24px;
            margin-bottom: 20px;
            padding-bottom: 20px;
            border-bottom: 1px solid #edf1f6;
        }

        .bm-meta-item {
            display: flex;
            flex-direction: column;
            gap: 3px;
        }

        .bm-meta-label {
            font-size: 11px;
            font-weight: 700;
            color: #aaa;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .bm-meta-value {
            font-size: 13px;
            font-weight: 600;
            color: #1a3a52;
        }

        .bm-meta-value a {
            color: #004c99;
            word-break: break-all;
        }

        .bm-content-title {
            font-size: 13px;
            font-weight: 700;
            color: #1a3a52;
            margin-bottom: 10px;
        }

        .bm-content-body {
            font-size: 14px;
            line-height: 1.9;
            color: #444;
        }

        .bm-content-body p { margin-bottom: 10px; }
        .bm-content-body h2 { font-size: 15px; font-weight: 700; color: #1a3a52; margin: 16px 0 6px; }
        .bm-content-body h3 { font-size: 14px; font-weight: 700; color: #427096; margin: 12px 0 4px; }
        .bm-content-body ul, .bm-content-body ol { padding-left: 20px; margin-bottom: 10px; }
        .bm-content-body li { margin-bottom: 4px; }
        .bm-content-body a { color: #004c99; text-decoration: underline; }
        .bm-content-body img { max-width: 100%; height: auto; border-radius: 4px; margin: 8px 0; }

        .bm-footer {
            padding: 16px 24px;
            border-top: 1px solid #edf1f6;
            display: flex;
            justify-content: flex-end;
            gap: 10px;
            flex-shrink: 0;
        }

        .bm-btn-primary {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 9px 22px;
            font-size: 13px;
            font-weight: 700;
            font-family: inherit;
            color: #fff;
            background: #004c99;
            border: none;
            border-radius: 7px;
            cursor: pointer;
            text-decoration: none;
            transition: background 0.15s;
        }

        .bm-btn-primary:hover { background: #003a7a; color: #fff; text-decoration: none; }
        .bm-btn-primary svg { width: 14px; height: 14px; }

        .bm-btn-close {
            padding: 9px 18px;
            font-size: 13px;
            font-weight: 600;
            font-family: inherit;
            color: #666;
            background: #f4f7fa;
            border: 1.5px solid #e5eaf0;
            border-radius: 7px;
            cursor: pointer;
            transition: background 0.15s;
        }

        .bm-btn-close:hover { background: #e5eaf0; }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 900px) {
            .bulletin-grid { grid-template-columns: repeat(2, 1fr); }
        }

        @media (max-width: 600px) {
            .bulletin-grid { grid-template-columns: 1fr; gap: 14px; }
            .bulletin-toolbar { flex-direction: column; align-items: flex-start; }
            .bulletin-toolbar-right { width: 100%; }
            .bulletin-search { width: 100%; }
            .bm-meta-grid { grid-template-columns: 1fr; }
        }
