*,*::before,*::after{box-sizing:border-box}
:root {
  --primary:#1a5fa8;--primary-light:#2d7dd4;--primary-dark:#144d87;
  --accent:#c9a84c;--accent-light:#d4b96a;--accent-dark:#a8893a;
  --bg:#f4f6f9;--bg-white:#fff;--bg-dark:#1e2a3a;
  --text:#2c3e50;--text-muted:#7f8c8d;--text-light:#95a5a6;
  --border:#e0e6ed;--border-light:#f0f3f7;
  --success:#27ae60;--danger:#e74c3c;--warning:#f39c12;
  --shadow:0 2px 12px rgba(26,95,168,.08);--shadow-lg:0 8px 32px rgba(26,95,168,.12);
  --radius:10px;--radius-sm:6px;--radius-lg:16px;
  --white:#ffffff;
  --primary-color:#1a5fa8;
  --secondary-color:#c9a84c;
}


/* ===== NAVIGATION (from B-scheme) ===== */
.navbar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}
.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    flex-shrink: 0;
    text-decoration: none;
}
.nav-logo i { font-size: 28px; color: var(--accent); }
.nav-links { display: flex; gap: 35px; list-style: none; padding: 0; margin: 0; }
.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    transition: color 0.3s;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    text-decoration: none;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}
.nav-actions { display: flex; gap: 12px; flex-shrink: 0; align-items: center; }

/* Navbar Search */
.nav-search {
    position: relative;
    display: flex;
    align-items: center;
}
.nav-search input {
    width: 190px;
    height: 38px;
    padding: 0 38px 0 14px;
    border: 2px solid var(--border);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text);
    background: var(--bg);
    transition: all 0.3s;
    outline: none;
}
.nav-search input::placeholder { color: #b0b8c1; }
.nav-search input:focus {
    width: 240px;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(26,95,168,0.1);
}
.nav-search button {
    position: absolute;
    right: 3px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border: none;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.nav-search button:hover { background: var(--primary-dark); }

/* Navbar Buttons (scoped to navbar) */
.nav-actions .btn {
    padding: 8px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}
.nav-actions .btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.nav-actions .btn-outline:hover { background: var(--primary); color: white; }
.nav-actions .btn-primary { background: var(--primary); color: white; }
.nav-actions .btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text);
    cursor: pointer;
    padding: 8px;
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
}
.mobile-nav.active { display: block; }
.mobile-nav-panel {
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 280px;
    background: var(--white);
    transform: translateX(-100%);
    transition: transform 0.3s;
    overflow-y: auto;
}
.mobile-nav.active .mobile-nav-panel { transform: translateX(0); }
.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border);
}
.mobile-nav-header .nav-logo { font-size: 18px; }
.mobile-nav-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text);
    cursor: pointer;
}
.mobile-nav-links { padding: 15px 0; }
.mobile-nav-links a {
    display: block;
    padding: 14px 24px;
    font-size: 16px;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    text-decoration: none;
}
.mobile-nav-links a:hover, .mobile-nav-links a.active { background: var(--bg); color: var(--primary); }
.mobile-nav-actions { padding: 15px 24px; }
.mobile-nav-actions .btn { width: 100%; justify-content: center; padding: 10px 22px; font-size: 15px; border-radius: 8px; font-weight: 600; cursor: pointer; transition: all 0.3s; border: none; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.mobile-nav-actions .btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.mobile-nav-actions .btn-outline:hover { background: var(--primary); color: white; }
.mobile-nav-actions .btn-primary { background: var(--primary); color: white; }
.mobile-nav-actions .btn-primary:hover { background: var(--primary-dark); }

@media (max-width: 768px) {
    .nav-links, .nav-actions { display: none; }
    .hamburger { display: block; }
}


/* ============================================================
   Common Components
   ============================================================ */

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 6px; padding-bottom: 10px; flex-wrap: wrap; }
.page-link {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 36px; height: 36px; padding: 0 10px; border-radius: 8px;
    background: var(--white); color: var(--text); font-size: 14px;
    border: 1px solid var(--border); transition: all 0.2s;
    text-decoration: none;
}
.page-link:hover { background: var(--primary); color: white; border-color: var(--primary); }
.page-link.active { background: var(--primary); color: white; border-color: var(--primary); font-weight: 700; }
.page-link.disabled { opacity: 0.4; pointer-events: none; }

/* Button Styles */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    font-weight: 600; cursor: pointer; border: none; text-decoration: none;
    transition: all 0.3s; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; }
.btn-gold { background: var(--accent); color: white; }
.btn-gold:hover { background: #b89435; }
.btn-sm { padding: 5px 14px; font-size: 12px; border-radius: 6px; }
.btn-md { padding: 8px 22px; font-size: 14px; border-radius: 8px; }
.btn-lg { padding: 12px 28px; font-size: 16px; border-radius: 10px; }
.btn-block { width: 100%; }

/* Empty State */
.empty-state { text-align: center; padding: 80px 20px; }
.empty-state .empty-icon { width: 100px; height: 100px; margin: 0 auto 20px; border-radius: 50%; background: linear-gradient(135deg, #ecf5fb 0%, #dceaf8 100%); display: flex; align-items: center; justify-content: center; }
.empty-state .empty-icon i { font-size: 40px; color: var(--primary); opacity: 0.5; }
.empty-state .empty-text { font-size: 16px; color: var(--text-light); margin-bottom: 20px; }
.empty-state .empty-link { color: var(--primary); font-weight: 600; text-decoration: none; }
.empty-state .empty-link:hover { text-decoration: underline; }

/* Section Heading */
.section-heading {
    font-size: 20px; font-weight: 700; color: var(--text);
    margin-bottom: 20px; display: flex; align-items: center; gap: 8px;
}
.section-heading::after { content: ''; flex: 1; height: 1px; background: var(--border); margin-left: 12px; }

/* Badge / Status */
.badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 2px 10px; border-radius: 10px; font-size: 10px;
    font-weight: 700; line-height: 1.6;
}
.badge-primary { background: var(--primary); color: white; }
.badge-gold { background: var(--accent); color: white; }
.badge-green { background: #27ae60; color: white; }
.badge-gray { background: #bdc3c7; color: white; }


/* ============================================================
   Global Responsive
   ============================================================ */
@media (max-width: 768px) {
    .container { padding: 0 15px; }
    .page-link { min-width: 32px; height: 32px; font-size: 12px; padding: 0 8px; }
}
@media (max-width: 480px) {
    .container { padding: 0 12px; }
}


/* ============================================================
   Footer — 全站统一页脚
   ============================================================ */
/* ====== Footer ====== */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.footer {
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 50px 0 20px;
    margin-top: 60px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 35px;
}
.footer-brand h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-brand h3 i { color: var(--accent); }
.footer-brand p { font-size: 13px; color: var(--text-light); line-height: 1.9; }
.footer-col h4 { font-size: 14px; font-weight: 700; margin-bottom: 16px; color: var(--text); }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 13px; color: var(--text-light); transition: color 0.3s; text-decoration: none; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
    color: var(--text-light);
}
.footer-bottom a { color: var(--text-light); text-decoration: none; }
.footer-bottom a:hover { color: var(--primary); }

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 25px; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}




/* ===================================================================
   首页 Homepage — .page-home
   =================================================================== */


.page-home body {font-family:'PingFang SC','Microsoft YaHei',Arial,sans-serif;background:var(--bg);color:var(--text);line-height:1.6}
.page-home a {text-decoration:none;color:inherit}
.page-home img {max-width:100%;display:block}
.page-home .container {width:100%;max-width:1200px;margin:0 auto;padding:0 16px}
.page-home .container-xl {width:100%;max-width:1440px;margin:0 auto;padding:0 20px}

/* ===== HEADER — 当前首页 logo + 搜索右置 ===== */
.page-home .header {background:var(--bg-white);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:100;box-shadow:var(--shadow)}
.page-home .header-inner {display:flex;align-items:center;gap:16px;padding:10px 0}
.page-home .logo {display:flex;align-items:center;gap:10px;font-size:22px;font-weight:700;color:var(--primary);flex-shrink:0}
.page-home .logo i {font-size:28px;color:var(--accent)}
.page-home .logo span {}.logo .logo-zhi{font-size:.65em;font-weight:400;opacity:.7;margin:0 1px;vertical-align:baseline}

/* 导航链接在 logo 右侧 */
.page-home .nav-links {display:flex;gap:30px;list-style:none;flex:1;padding:0;margin:0}
.page-home .nav-links a {font-size:15px;font-weight:500;color:var(--text);transition:color .2s}
.page-home .nav-links a:hover {color:var(--primary)}
.page-home .nav-links a.active {color:var(--primary);font-weight:600}

/* 搜索框右置 */
.page-home .nav-search {flex-shrink:0}
.page-home .nav-search input {width:260px;padding:9px 40px 9px 16px;border:1.5px solid var(--border);border-radius:50px;font-size:14px;background:var(--bg);transition:all .2s}
.page-home .nav-search input:focus {border-color:var(--primary);outline:none;background:#fff}
.page-home .nav-search-wrap {position:relative}
.page-home .nav-search-wrap button {position:absolute;right:4px;top:50%;transform:translateY(-50%);background:var(--primary);border:none;color:#fff;width:32px;height:32px;border-radius:50%;cursor:pointer;font-size:13px}

/* 登录/注册按钮右置 */
.page-home .header-actions {display:flex;gap:8px;flex-shrink:0}
.page-home .btn {display:inline-flex;align-items:center;gap:5px;padding:8px 16px;border-radius:50px;font-size:14px;cursor:pointer;font-weight:600;transition:all .2s}
.page-home .btn-primary {background:var(--primary);color:#fff;border:none}
.page-home .btn-primary:hover {background:var(--primary-dark)}
.page-home .btn-outline {border:1.5px solid var(--primary);color:var(--primary)}
.page-home .btn-outline:hover {background:var(--primary);color:#fff}

/* ===== 公告/赛事滚动条 ===== */
.page-home .info-bar {background:var(--bg-dark);padding:10px 0;overflow:hidden}
.page-home .info-bar-inner {display:flex;align-items:center;gap:16px}
.page-home .info-bar-label {background:var(--primary);color:#fff;padding:4px 12px;border-radius:4px;font-size:12px;font-weight:700;white-space:nowrap;flex-shrink:0;display:flex;align-items:center;gap:5px}
.page-home .info-ticker-wrap {overflow:hidden;flex:1}
.page-home .info-ticker {display:flex;gap:40px;animation:ticker 40s linear infinite;white-space:nowrap}
.page-home .info-ticker a {color:#c0c8d4;font-size:13px;transition:color .2s}
.page-home .info-ticker a:hover {color:#fff}
.page-home .info-ticker .dot {color:#444;margin:0 4px}
@keyframes ticker{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}

/* ===== HERO ===== */
.page-home .hero-section {background:linear-gradient(160deg,#eef4fb 0%,#f8f6ee 100%);padding:40px 0 32px}
.page-home .hero-layout {display:grid;grid-template-columns:1fr 320px;gap:32px;align-items:center}
.page-home .hero-carousel {position:relative;border-radius:var(--radius-lg);overflow:hidden;min-height:320px;background:linear-gradient(135deg,#1a5fa8,#2d7dd4)}
.page-home .hero-carousel .slide {position:absolute;inset:0;opacity:0;transition:opacity .8s ease;display:flex;align-items:center;padding:40px}
.page-home .hero-carousel .slide.active {opacity:1}
.page-home .hero-carousel .slide.bg1 {background:linear-gradient(135deg,#1a5fa8,#2d7dd4)}
.page-home .hero-carousel .slide.bg2 {background:linear-gradient(135deg,#c9a84c,#d4b96a)}
.page-home .hero-carousel .slide.bg3 {background:linear-gradient(135deg,#27ae60,#2ecc71)}
.page-home .hero-carousel .slide.bg4 {background:linear-gradient(135deg,#8e44ad,#9b59b6)}
.page-home .hero-carousel .slide-content {color:#fff;max-width:500px}
.page-home .hero-carousel .slide-content .tag {display:inline-flex;background:rgba(255,255,255,.2);padding:4px 14px;border-radius:50px;font-size:12px;font-weight:600;margin-bottom:14px}
.page-home .hero-carousel .slide-content h2 {font-size:32px;font-weight:800;line-height:1.2;margin-bottom:12px}
.page-home .hero-carousel .slide-content p {font-size:15px;opacity:.9;margin-bottom:20px}
.page-home .hero-carousel .slide-content .btn {background:#fff;color:var(--primary);padding:10px 24px;border-radius:50px;font-weight:600;display:inline-flex;gap:5px;transition:all .2s;border:none;cursor:pointer}
.page-home .hero-carousel .slide-content .btn:hover {transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.15)}
.page-home .hero-carousel .dots {position:absolute;bottom:16px;left:50%;transform:translateX(-50%);display:flex;gap:8px}
.page-home .hero-carousel .dots .dot {width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.5);cursor:pointer;transition:all .3s;border:none;padding:0}
.page-home .hero-carousel .dots .dot.active {background:#fff;width:24px;border-radius:4px}
.page-home .hero-carousel .arrow {position:absolute;top:50%;transform:translateY(-50%);background:rgba(255,255,255,.2);color:#fff;width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:16px;transition:all .3s;border:none}
.page-home .hero-carousel .arrow:hover {background:rgba(255,255,255,.4)}
.page-home .hero-carousel .arrow-prev {left:12px}
.page-home .hero-carousel .arrow-next {right:12px}
.page-home .hero-sidebar {display:flex;flex-direction:column;gap:12px}
.page-home .hero-card {background:var(--bg-white);border-radius:var(--radius);padding:14px;box-shadow:var(--shadow);display:flex;gap:12px;align-items:center;border:1px solid var(--border-light)}
.page-home .hero-card-img {width:56px;height:56px;border-radius:var(--radius-sm);background:var(--bg);flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:26px}
.page-home .hero-card-info {flex:1;min-width:0}
.page-home .hero-card-info .title {font-size:13px;font-weight:600;color:var(--text);margin-bottom:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.page-home .hero-card-info .sub {font-size:12px;color:var(--text-muted)}

/* ===== TOP BANNER AD ===== */
.page-home .ad-banner-top {background:linear-gradient(135deg,#1e2a3a,#2d4a6e);border-radius:var(--radius);margin:12px auto;display:flex;align-items:center;justify-content:center;padding:14px 24px;gap:16px;position:relative;overflow:hidden}
.page-home .ad-banner-top::before {content:'';position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.04),transparent);animation:shimmer 3s infinite}
@keyframes shimmer{0%{transform:translateX(-100%)}}100%{transform:translateX(100%)}}
.page-home .ad-banner-top .ad-label {position:absolute;top:6px;right:10px;font-size:10px;color:rgba(255,255,255,.4);text-transform:uppercase;letter-spacing:1px}
.page-home .ad-banner-top .ad-text {color:#fff;font-size:15px;z-index:1;position:relative}
.page-home .ad-banner-top .ad-cta {background:var(--accent);color:#fff;padding:6px 18px;border-radius:50px;font-size:13px;font-weight:600;z-index:1;white-space:nowrap}

/* ===== CATEGORY GRID ===== */
.page-home .cat-section {padding:28px 0}
.page-home .cat-grid {display:grid;grid-template-columns:repeat(6,1fr);gap:12px}
.page-home .cat-card {background:var(--bg-white);border-radius:var(--radius);padding:18px 10px;text-align:center;border:1px solid var(--border-light);transition:all .2s;cursor:pointer;display:block}
.page-home .cat-card:hover {transform:translateY(-3px);box-shadow:var(--shadow);border-color:var(--primary)}
.page-home .cat-icon {width:44px;height:44px;border-radius:10px;display:flex;align-items:center;justify-content:center;margin:0 auto 8px;font-size:20px}
.page-home .cat-icon.blue {background:#e8f0fb;color:var(--primary)}
.page-home .cat-icon.gold {background:#fdf5e4;color:var(--accent-dark)}
.page-home .cat-icon.purple {background:#f0e8fb;color:#8e44ad}
.page-home .cat-icon.red {background:#fde8e8;color:#c0392b}
.page-home .cat-icon.green {background:#e8f5e9;color:#27ae60}
.page-home .cat-icon.teal {background:#e0f7fa;color:#00838f}
.page-home .cat-name {font-size:13px;font-weight:600;color:var(--text);margin-bottom:3px}
.page-home .cat-count {font-size:11px;color:var(--text-muted)}

/* ===== SECTION HEADER ===== */
.page-home .section {padding:28px 0;border-bottom:1px solid var(--border-light)}
.page-home .section-header {display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}
.page-home .section-title {font-size:19px;font-weight:700;color:var(--bg-dark);display:flex;align-items:center;gap:8px}
.page-home .section-more {font-size:13px;color:var(--primary);display:flex;align-items:center;gap:4px}
.page-home .section-more:hover {color:var(--primary-dark)}

/* ===== FEATURED PIGEONS ===== */
.page-home .featured-layout {display:grid;grid-template-columns:1fr 320px;gap:18px}
.page-home .featured-main {background:var(--bg-white);border-radius:var(--radius-lg);overflow:hidden;border:1px solid var(--border-light);display:block;transition:all .2s}
.page-home .featured-main:hover {transform:translateY(-2px);box-shadow:var(--shadow-lg)}
.page-home .featured-main-img {width:100%;height:240px;background:linear-gradient(135deg,#e8f0fb,#d4e4f7);display:flex;align-items:center;justify-content:center;font-size:60px}
.page-home .featured-main-info {padding:14px 18px}
.page-home .featured-main-info .tag {display:inline-block;background:var(--primary);color:#fff;padding:3px 10px;border-radius:50px;font-size:11px;font-weight:600;margin-bottom:7px}
.page-home .featured-main-info .name {font-size:16px;font-weight:700;color:var(--bg-dark);margin-bottom:5px}
.page-home .featured-main-info .meta {font-size:12px;color:var(--text-muted);display:flex;gap:10px;margin-bottom:8px}
.page-home .featured-mini-list {display:flex;flex-direction:column;gap:8px}
.page-home .featured-mini {background:var(--bg-white);border-radius:var(--radius);padding:10px;display:flex;gap:10px;border:1px solid var(--border-light);transition:all .2s;cursor:pointer}
.page-home .featured-mini:hover {transform:translateX(3px);box-shadow:var(--shadow);border-color:var(--primary)}
.page-home .featured-mini-img {width:64px;height:64px;border-radius:var(--radius-sm);background:linear-gradient(135deg,#f0f0f0,#e0e0e0);flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:26px}
.page-home .featured-mini-info {flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center}
.page-home .featured-mini-info .name {font-size:13px;font-weight:600;color:var(--text);margin-bottom:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.page-home .featured-mini-info .blood {font-size:11px;color:var(--primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* ===== TWO COLUMN LAYOUT ===== */
.page-home .two-col {display:grid;grid-template-columns:1fr 1fr;gap:32px}

/* ===== NEWS ===== */
.page-home .news-hero {background:var(--bg-white);border-radius:var(--radius);overflow:hidden;border:1px solid var(--border-light);display:block;margin-bottom:12px;transition:all .2s}
.page-home .news-hero:hover {box-shadow:var(--shadow-lg)}
.page-home .news-hero-img {width:100%;height:150px;background:linear-gradient(135deg,#f0e8fb,#e8d4f7);display:flex;align-items:center;justify-content:center;font-size:44px}
.page-home .news-hero-body {padding:12px 14px}
.page-home .news-hero-title {font-size:14px;font-weight:700;color:var(--bg-dark);margin-bottom:5px;line-height:1.4}
.page-home .news-hero-meta {font-size:11px;color:var(--text-muted)}
.page-home .news-list {display:flex;flex-direction:column;gap:2px}
.page-home .news-item {display:flex;align-items:flex-start;gap:10px;padding:9px 0;border-bottom:1px solid var(--border-light)}
.page-home .news-item:last-child {border-bottom:none}
.page-home .news-num {font-size:16px;font-weight:800;color:var(--border);flex-shrink:0;width:22px;line-height:1}
.page-home .news-item-info {flex:1;min-width:0}
.page-home .news-item-title {font-size:13px;font-weight:500;color:var(--text);margin-bottom:3px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.page-home .news-item-meta {font-size:11px;color:var(--text-muted)}

/* ===== RACE CALENDAR ===== */
.page-home .race-list {display:flex;flex-direction:column;gap:8px}
.page-home .race-item {background:var(--bg-white);border-radius:var(--radius);padding:12px 14px;border:1px solid var(--border-light);display:flex;align-items:center;gap:12px;transition:all .2s}
.page-home .race-item:hover {transform:translateX(3px);box-shadow:var(--shadow);border-color:var(--accent)}
.page-home .race-date-box {background:var(--primary);color:#fff;border-radius:var(--radius-sm);padding:5px 9px;text-align:center;min-width:52px;flex-shrink:0}
.page-home .race-date-box .month {font-size:9px;font-weight:600;opacity:.8;text-transform:uppercase;line-height:1}
.page-home .race-date-box .day {font-size:20px;font-weight:800;line-height:1.1}
.page-home .race-info {flex:1;min-width:0}
.page-home .race-info .name {font-size:13px;font-weight:600;color:var(--text);margin-bottom:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.page-home .race-info .meta {font-size:11px;color:var(--text-muted);display:flex;gap:8px}
.page-home .race-status {font-size:10px;font-weight:600;padding:2px 9px;border-radius:50px;white-space:nowrap}
.page-home .race-status.upcoming {background:#e8f0fb;color:var(--primary)}
.page-home .race-status.started {background:#fef3e2;color:#f97316}
.page-home .race-status.done {background:#f5f5f5;color:var(--text-muted)}

/* ===== 热门铭鸽 ===== */
.page-home .pigeon-grid {display:grid;grid-template-columns:repeat(5,1fr);gap:12px}
.page-home .pigeon-card {background:var(--bg-white);border-radius:var(--radius);overflow:hidden;border:1px solid var(--border-light);transition:all .2s;cursor:pointer;display:block}
.page-home .pigeon-card:hover {transform:translateY(-3px);box-shadow:var(--shadow-lg);border-color:var(--primary)}
.page-home .pigeon-card-img {width:100%;aspect-ratio:1;background:linear-gradient(135deg,#f0f0f0,#e0e0e0);display:flex;align-items:center;justify-content:center;font-size:38px}
.page-home .pigeon-card-body {padding:10px}
.page-home .pigeon-card .name {font-size:13px;font-weight:600;color:var(--text);margin-bottom:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.page-home .pigeon-card .blood {font-size:11px;color:var(--primary);margin-bottom:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.page-home .pigeon-card-footer {display:flex;justify-content:space-between;align-items:center}
.page-home .pigeon-card .views {font-size:11px;color:var(--text-muted)}

/* ===== LOFT GRID ===== */
.page-home .loft-grid {display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.page-home .loft-card {background:var(--bg-white);border-radius:var(--radius);padding:16px;border:1px solid var(--border-light);transition:all .2s;cursor:pointer;display:block}
.page-home .loft-card:hover {transform:translateY(-3px);box-shadow:var(--shadow);border-color:var(--accent)}
.page-home .loft-card-top {display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:8px}
.page-home .loft-rating {font-size:12px;color:var(--accent)}
.page-home .loft-badge {font-size:10px;background:var(--accent);color:#fff;padding:2px 8px;border-radius:50px;font-weight:600}
.page-home .loft-card .name {font-size:14px;font-weight:700;color:var(--bg-dark);margin-bottom:5px}
.page-home .loft-card .loc {font-size:11px;color:var(--text-muted);margin-bottom:8px;display:flex;align-items:center;gap:3px}
.page-home .loft-tags {display:flex;gap:5px;flex-wrap:wrap}
.page-home .loft-tag {font-size:10px;background:var(--bg);color:var(--text-muted);padding:2px 7px;border-radius:50px}

/* ===== MAIN + SIDEBAR LAYOUT ===== */
.page-home .main-sidebar-layout {display:grid;grid-template-columns:1fr 280px;gap:20px;align-items:start}
.page-home .sidebar-sticky {position:sticky;top:72px;display:flex;flex-direction:column;gap:14px}

/* ===== RANKING ===== */
.page-home .ranking-list {display:flex;flex-direction:column;gap:7px}
.page-home .ranking-item {background:var(--bg-white);border-radius:var(--radius);padding:10px 12px;display:flex;align-items:center;gap:10px;border:1px solid var(--border-light);transition:all .2s}
.page-home .ranking-item:hover {transform:translateX(3px);box-shadow:var(--shadow)}
.page-home .ranking-num {font-size:18px;font-weight:800;color:var(--border);min-width:22px;text-align:center}
.page-home .ranking-num.top1 {color:#f39c12}
.page-home .ranking-num.top2 {color:#95a5a6}
.page-home .ranking-num.top3 {color:#cd6133}
.page-home .ranking-info {flex:1;min-width:0}
.page-home .ranking-info .name {font-size:13px;font-weight:600;color:var(--text);margin-bottom:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.page-home .ranking-info .sub {font-size:11px;color:var(--text-muted)}
.page-home .ranking-extra {font-size:11px;color:var(--primary);font-weight:600;white-space:nowrap}

/* ===== BLOODLINES ===== */
.page-home .blood-grid {display:grid;grid-template-columns:repeat(6,1fr);gap:10px}
.page-home .blood-card {background:var(--bg-white);border-radius:var(--radius);padding:14px 10px;text-align:center;border:1px solid var(--border-light);transition:all .2s;cursor:pointer;display:block}
.page-home .blood-card:hover {border-color:var(--primary);transform:translateY(-2px)}
.page-home .blood-icon {font-size:22px;margin-bottom:6px}
.page-home .blood-name {font-size:12px;font-weight:700;color:var(--bg-dark);margin-bottom:3px}
.page-home .blood-count {font-size:10px;color:var(--text-muted)}

/* ===== ARTICLE GRID ===== */
.page-home .article-grid {display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.page-home .article-card {background:var(--bg-white);border-radius:var(--radius);overflow:hidden;border:1px solid var(--border-light);transition:all .2s;display:block}
.page-home .article-card:hover {transform:translateY(-2px);box-shadow:var(--shadow-lg)}
.page-home .article-card-img {width:100%;height:130px;background:linear-gradient(135deg,#f0f0f0,#e0e0e0);display:flex;align-items:center;justify-content:center;font-size:44px}
.page-home .article-card-body {padding:12px}
.page-home .article-card .cat {font-size:10px;font-weight:600;color:var(--primary);margin-bottom:5px;text-transform:uppercase;letter-spacing:.5px}
.page-home .article-card .title {font-size:14px;font-weight:700;color:var(--bg-dark);line-height:1.4;margin-bottom:7px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.page-home .article-card .meta {font-size:11px;color:var(--text-muted);display:flex;justify-content:space-between}

/* ===== DYNAMICS ===== */
.page-home .dynamics-grid {display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.page-home .dynamic-card {background:var(--bg-white);border-radius:var(--radius);padding:14px;border:1px solid var(--border-light);transition:all .2s}
.page-home .dynamic-card:hover {box-shadow:var(--shadow)}
.page-home .d-header {display:flex;align-items:center;gap:9px;margin-bottom:9px}
.page-home .d-avatar {width:32px;height:32px;border-radius:50%;background:linear-gradient(135deg,var(--primary),var(--accent));display:flex;align-items:center;justify-content:center;color:#fff;font-size:14px;flex-shrink:0}
.page-home .d-name {font-size:12px;font-weight:600;color:var(--text)}
.page-home .d-time {font-size:10px;color:var(--text-muted)}
.page-home .d-text {font-size:12px;color:var(--text);line-height:1.5;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.page-home .d-images {display:flex;gap:5px;margin-top:8px;flex-wrap:wrap}
.page-home .d-img {width:56px;height:56px;border-radius:5px;background:linear-gradient(135deg,#f0f0f0,#e0e0e0)}
.page-home .d-actions {display:flex;gap:14px;margin-top:8px}
.page-home .d-action {font-size:11px;color:var(--text-muted);display:flex;align-items:center;gap:3px;cursor:pointer}
.page-home .d-action:hover {color:var(--primary)}

/* ===== INLINE AD ===== */
.page-home .ad-inline {background:linear-gradient(135deg,#1e2a3a,#2d4a6e);border-radius:var(--radius);margin:0 0 28px;padding:16px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px;position:relative;overflow:hidden}
.page-home .ad-inline .ad-label {position:absolute;top:4px;right:8px;font-size:9px;color:rgba(255,255,255,.3);text-transform:uppercase;letter-spacing:1px}
.page-home .ad-inline-content {display:flex;align-items:center;gap:10px;flex:1}
.page-home .ad-inline-icon {width:32px;height:32px;border-radius:8px;background:rgba(255,255,255,.1);display:flex;align-items:center;justify-content:center;color:var(--accent)}
.page-home .ad-inline-text {color:#fff}
.page-home .ad-inline-text .main {font-size:13px;font-weight:600}
.page-home .ad-inline-text .sub {font-size:11px;color:rgba(255,255,255,.5);margin-top:2px}
.page-home .ad-inline-cta {background:var(--accent);color:#fff;padding:7px 18px;border-radius:50px;font-size:12px;font-weight:600;white-space:nowrap;flex-shrink:0}



/* ===== RESPONSIVE ===== */
.page-home { overflow-x: hidden; }
@media(max-width:1024px){
  .page-home .nav-links {gap:16px}
  .page-home .nav-links a {font-size:13px}
  .page-home .nav-search input {width:180px}
  .page-home .hero-layout {grid-template-columns:1fr}
  .page-home .hero-sidebar {flex-direction:row;flex-wrap:wrap}
  .page-home .hero-sidebar .hero-card {flex:1;min-width:200px}
  .page-home .featured-layout {grid-template-columns:1fr}
  .page-home .main-sidebar-layout {grid-template-columns:1fr}
  .page-home .two-col {grid-template-columns:1fr}
  .page-home .cat-grid {grid-template-columns:repeat(3,1fr)}
  .page-home .pigeon-grid {grid-template-columns:repeat(3,1fr)}
  .page-home .loft-grid {grid-template-columns:repeat(2,1fr)}
  .page-home .article-grid {grid-template-columns:repeat(2,1fr)}
  .page-home .dynamics-grid {grid-template-columns:repeat(2,1fr)}
  .page-home .blood-grid {grid-template-columns:repeat(3,1fr)}
}
@media(max-width:768px){
  .page-home .nav-links, .page-home .nav-search {display:none}
  .page-home .header-inner {gap:8px}
  .page-home .logo {font-size:18px}
  .page-home .logo i {font-size:24px}
  .page-home .header-actions .btn {padding:6px 12px;font-size:12px}
  .page-home .hero-section {padding:20px 0}
  .page-home .hero-carousel {min-height:220px}
  .page-home .hero-carousel .slide {padding:24px}
  .page-home .hero-carousel .slide-content h2 {font-size:20px}
  .page-home .hero-carousel .slide-content p {font-size:13px}
  .page-home .hero-carousel .slide-content .btn {padding:7px 16px;font-size:12px}
  .page-home .hero-sidebar {flex-direction:column}
  .page-home .hero-sidebar .hero-card {flex:none}
  .page-home .cat-grid {grid-template-columns:repeat(3,1fr);gap:8px}
  .page-home .cat-card {padding:12px 6px}
  .page-home .cat-name {font-size:11px}
  .page-home .featured-layout {grid-template-columns:1fr}
  .page-home .featured-main-img {height:160px}
  .page-home .pigeon-grid {grid-template-columns:repeat(2,1fr)}
  .page-home .loft-grid {grid-template-columns:repeat(2,1fr);gap:10px}
  .page-home .article-grid {grid-template-columns:1fr}
  .page-home .dynamics-grid {grid-template-columns:1fr}
  .page-home .blood-grid {grid-template-columns:repeat(3,1fr)}
  .page-home .main-sidebar-layout {grid-template-columns:1fr}
  .page-home .info-bar-label {font-size:10px;padding:3px 8px}
  .page-home .info-ticker a {font-size:11px}
  .page-home .ad-inline {flex-direction:column;text-align:center;padding:12px 16px}
}
@media(max-width:480px){
  .page-home .hero-carousel {min-height:180px;border-radius:var(--radius)}
  .page-home .hero-carousel .slide {padding:18px}
  .page-home .hero-carousel .slide-content h2 {font-size:17px}
  .page-home .hero-carousel .slide-content .tag {font-size:10px;padding:2px 10px}
  .page-home .hero-carousel .arrow {width:28px;height:28px;font-size:12px}
  .page-home .cat-grid {grid-template-columns:repeat(2,1fr)}
  .page-home .pigeon-grid {grid-template-columns:repeat(2,1fr);gap:8px}
  .page-home .loft-grid {grid-template-columns:1fr}
  .page-home .blood-grid {grid-template-columns:repeat(2,1fr)}
  .page-home .section-title {font-size:16px}
  .page-home .section-header {flex-wrap:wrap;gap:8px}
}
