/* ========== 全局樣式 ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { background-color: #ffffff; color: #000000; font-family: 'Microsoft YaHei', 'PingFang SC', 'Segoe UI', 'Helvetica Neue', sans-serif; line-height: 1.8; font-size: 18px; }
body { padding: 0; margin: 0; }
.container-threads { max-width: 900px; margin: 0 auto; padding: 0 16px; }
@media (max-width: 768px) { .container-threads { max-width: 100%; padding: 0 12px; } }

/* ========== 頁頭 ========== */
.header { border-bottom: 1px solid #e5e5e5; padding: 16px 0; margin-bottom: 24px; position: sticky; top: 0; background-color: #ffffff; z-index: 100; }
.header-content { display: flex; justify-content: space-between; align-items: center; }
.header-title { font-size: 26px; font-weight: 700; letter-spacing: -0.5px; }

/* ========== 下拉選單樣式 ========== */
.header-icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: background-color 0.2s; }
.header-icon:hover { background-color: #f0f0f0; }
#menuDropdown { cursor: pointer; }
.dropdown-menu { border-radius: 12px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); border: 1px solid #e5e5e5; padding: 8px; margin-top: 10px !important; }
.dropdown-item { border-radius: 8px; padding: 10px 16px; font-weight: 500; transition: all 0.2s; }
.dropdown-item:hover { background-color: #f8f9fa; color: #dc3545; }

/* ========== 主標題區 ========== */
.hero-section { padding: 24px 0; margin-bottom: 32px; border-bottom: 1px solid #e5e5e5; }
.hero-title { font-size: 36px; font-weight: 900; line-height: 1.3; margin-bottom: 20px; letter-spacing: -0.5px; color: #dc3545; }
.hero-description { font-size: 18px; color: #333; line-height: 1.8; margin-bottom: 20px; }
.hero-highlight { background-color: #f8f9fa; border-left: 5px solid #dc3545; padding: 16px 20px; margin: 20px 0; font-size: 17px; font-weight: 500; color: #000; line-height: 1.8; }

/* ========== 團結宣言區 ========== */
.unity-section { background: linear-gradient(135deg, #000 0%, #333 100%); color: #fff; padding: 30px; border-radius: 12px; margin: 32px 0; box-shadow: 0 10px 25px rgba(0,0,0,0.2); }
.unity-title { font-size: 24px; font-weight: 900; color: #ffc107; margin-bottom: 15px; border-bottom: 1px solid #ffc107; padding-bottom: 10px; }
.unity-content { font-size: 18px; line-height: 1.8; }
.unity-item { margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.unity-item i { color: #ffc107; }

/* ========== 區塊標題 ========== */
.section-title { font-size: 24px; font-weight: 700; margin-top: 40px; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid #000000; letter-spacing: -0.3px; }
.principles-section .section-title { color: #dc3545; }

/* ========== 表格樣式 ========== */
.table-container { overflow-x: auto; margin-bottom: 32px; }
.table-threads { width: 100%; border-collapse: collapse; font-size: 16px; }
.table-threads thead { background-color: #f5f5f5; border-bottom: 1px solid #e5e5e5; }
.table-threads th { padding: 16px 12px; text-align: center; font-weight: 600; color: #000000; border-right: 1px solid #e5e5e5; font-size: 17px; }
.table-threads th:last-child { border-right: none; }
.table-threads td { padding: 14px 12px; border-bottom: 1px solid #e5e5e5; border-right: 1px solid #e5e5e5; vertical-align: middle; font-size: 16px; text-align: center; }
.table-threads td:last-child { border-right: none; }
.table-threads .fa-star, .table-threads .fa-star-half-alt { color: #ffc107; margin-right: 2px; }
.table-threads .cell-left { text-align: left; }
.table-threads tbody tr:hover { background-color: #fafafa; }
.table-threads a { color: #0a66c2; text-decoration: none; font-weight: 600; }
.table-threads a:hover { text-decoration: underline; }

.table-type-badge { display: inline-block; padding: 4px 10px; border-radius: 4px; font-size: 14px; font-weight: 600; background-color: #e5e5e5; color: #000000; white-space: nowrap; }
.table-type-badge.website { background-color: #e2e3ff; color: #004085; }
.table-type-badge.platform { background-color: #d1ecf1; color: #0c5460; }
.table-type-badge.page { background-color: #d4edda; color: #155724; }

/* ========== 文章區域卡片樣式 ========== */
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-bottom: 32px; }
.article-card { border: 1px solid #e5e5e5; border-radius: 10px; padding: 20px; transition: all 0.3s; background: #fff; position: relative; }
.article-card:hover { border-color: #0a66c2; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transform: translateY(-3px); }
.article-title { font-weight: 700; font-size: 18px; margin-bottom: 15px; color: #000; line-height: 1.5; height: 54px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.article-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }

/* ========== 分享按鈕樣式 ========== */
.copy-btn { padding: 6px 12px; font-size: 14px; font-weight: 600; border-radius: 4px; background-color: #ffffff; border: 1px solid #0a66c2; color: #0a66c2; cursor: pointer; transition: all 0.2s; white-space: nowrap; }
.copy-btn:hover { background-color: #0a66c2; color: #ffffff; }
.copy-btn:active { transform: scale(0.95); }
.copy-btn.success { background-color: #d4edda; border-color: #28a745; color: #155724; }

/* ========== 前往按鈕樣式 ========== */
.goto-btn { display: inline-block; padding: 6px 12px; font-size: 14px; font-weight: 700; border-radius: 4px; background-color: #eef6ff; border: 1px solid #0a66c2; color: #0a66c2 !important; text-decoration: none !important; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.goto-btn:hover { background-color: #0a66c2; color: #ffffff !important; transform: translateY(-2px); box-shadow: 0 4px 8px rgba(10, 102, 194, 0.2); }
.goto-btn.clicked { background-color: #dc3545; border-color: #dc3545; color: #ffffff !important; animation: pulse-red 0.5s ease-out; }
@keyframes pulse-red { 0% { transform: scale(1); } 50% { transform: scale(1.1); } 100% { transform: scale(1); } }

/* ========== 群組清單 ========== */
.group-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.group-item { display: flex; align-items: center; padding: 15px; border: 1px solid #e5e5e5; border-radius: 8px; background-color: #ffffff; transition: all 0.2s; }
.group-item:hover { background-color: #f8f9fa; border-color: #ccc; transform: translateX(5px); }
.group-icon { width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; background-color: #f0f0f0; border-radius: 10px; margin-right: 15px; font-size: 24px; flex-shrink: 0; }
.icon-tg { color: #0088cc; }
.icon-line { color: #00b900; }
.icon-fb { color: #1877f2; }
.group-content { flex: 1; min-width: 0; }
.group-name { font-weight: 700; font-size: 18px; color: #000000; margin-bottom: 4px; }
.group-description { font-size: 15px; color: #666; line-height: 1.5; }
.group-link { display: inline-block; padding: 10px 20px; background-color: #0a66c2; color: #ffffff; text-decoration: none; border-radius: 6px; font-size: 15px; font-weight: 700; transition: background-color 0.2s; white-space: nowrap; margin-left: auto; flex-shrink: 0; }
.group-link:hover { background-color: #054399; color: #ffffff; }

/* ========== 政治贏家原理區 ========== */
.principles-section { padding: 0 0 32px 0; margin-bottom: 32px; }
.principle-card { background-color: #f8f9fa; border: 1px solid #e5e5e5; border-radius: 10px; padding: 25px; margin-bottom: 30px; }
.formula-item { font-family: 'Courier New', monospace; font-weight: 700; background: #fff; padding: 10px 15px; border-radius: 6px; border: 1px solid #ddd; margin-bottom: 10px; display: block; }
.formula-label { color: #dc3545; margin-right: 10px; font-weight: 900; }
.principle-truth { margin: 20px 0; font-size: 19px; line-height: 1.6; border-left: 4px solid #000; padding-left: 15px; }
.principle-iron-law pre { white-space: pre-wrap; font-family: inherit; }

/* ========== 頁尾 ========== */
.footer { padding: 32px 0 40px; margin-top: 40px; color: #888888; border-top: 1px solid #e5e5e5; }
.footer-top { margin-bottom: 15px; text-align: center; }
.footer-text { font-size: 15px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }
.footer-left { font-size: 14px; }
.footer-right { display: flex; gap: 20px; }
.footer-right a { font-size: 14px; color: #888888; text-decoration: none; transition: color 0.2s; }
.footer-right a:hover { color: #dc3545; }
.visitor-link { color: #888888; text-decoration: none; font-weight: 600; }
.visitor-link:hover { text-decoration: underline; color: #dc3545; }

/* ========== 響應式設計 ========== */
@media (max-width: 768px) { .footer-bottom { flex-direction: column; text-align: center; } }
@media (max-width: 640px) {
  .hero-title { font-size: 28px; }
  .group-item { flex-direction: column; align-items: flex-start; }
  .group-link { margin-left: 0; margin-top: 12px; width: 100%; text-align: center; }
  .hide-mobile { display: none !important; }
}
.wing-enemy { color: #28a745; font-weight: bold; }
.wing-hero { background-color: #ffc107; color: #000; padding: 0 4px; border-radius: 4px; font-weight: bold; }. v i s i t o r - r e g i o n   {   c o l o r :   v a r ( - - b s - s e c o n d a r y - c o l o r ) ;   f o n t - s i z e :   0 . 8 r e m ;   m a r g i n - l e f t :   1 r e m ;   }  
 