/* ========================================
   xy-009 体育企业模板 - 巧克力棕+青绿
   ======================================== */

:root {
    --primary: #4e342e;
    --primary-light: #6d4c41;
    --primary-dark: #2c1a14;
    --teal: #00897b;
    --teal-hover: #00796b;
    --teal-light: #e0f2f1;
    --bg-dark: #1a0f0c;
    --bg-light: #faf8f7;
    --bg-gray: #f5f0ee;
    --text: #3e2723;
    --text-light: #8d6e63;
    --text-white: #ffffff;
    --border: #d7ccc8;
    --shadow: 0 4px 16px rgba(78,52,46,.1);
    --shadow-lg: 0 12px 40px rgba(78,52,46,.15);
    --radius: 10px;
    --radius-sm: 6px;
    --transition: all .3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', sans-serif; color: var(--text); line-height: 1.7; background: #fff; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--teal); }
img { max-width: 100%; height: auto; }

/* Header */
.xy9-header { background: var(--primary-dark); padding: 0; box-shadow: 0 2px 12px rgba(0,0,0,.3); position: sticky; top: 0; z-index: 1000; }
.xy9-header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.xy9-header .logo { display: inline-block; }
.xy9-header .logo-text { color: var(--text-white); font-size: 1.3rem; font-weight: 700; }
.xy9-header .logo-text i { color: var(--teal); margin-right: 8px; }
.xy9-header .logo mip-img { height: 38px; width: auto; }
.xy9-nav { display: flex; align-items: center; gap: 4px; }
.xy9-nav .nav-link { color: rgba(255,255,255,.8); padding: 8px 16px; border-radius: var(--radius-sm); font-size: .92rem; font-weight: 500; transition: var(--transition); }
.xy9-nav .nav-link:hover, .xy9-nav .nav-link.active { color: var(--teal); background: rgba(255,255,255,.06); }
.xy9-search { color: var(--teal); background: rgba(0,137,123,.12); border: 1px solid rgba(0,137,123,.3); padding: 8px 14px; border-radius: 20px; font-size: .85rem; transition: var(--transition); }
.xy9-search:hover { background: var(--teal); color: var(--text-white); }
.xy9-toggle { display: none; background: none; border: none; color: var(--text-white); font-size: 1.4rem; cursor: pointer; }

/* Hero */
.xy9-hero { position: relative; min-height: 540px; display: flex; align-items: center; overflow: hidden; }
.xy9-hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.xy9-hero-bg mip-img { width: 100%; height: 100%; object-fit: cover; }
.xy9-hero-mask { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(44,26,20,.92) 0%, rgba(78,52,46,.75) 50%, rgba(44,26,20,.6) 100%); }
.xy9-hero-body { text-align: center; padding: 80px 0 60px; color: var(--text-white); }
.xy9-hero-chip { display: inline-block; background: rgba(0,137,123,.15); border: 1px solid rgba(0,137,123,.4); color: var(--teal); padding: 6px 20px; border-radius: 20px; font-size: .82rem; margin-bottom: 20px; letter-spacing: 1px; }
.xy9-hero-body h1 { font-size: 2.8rem; font-weight: 800; margin-bottom: 16px; line-height: 1.2; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
.xy9-hero-body p { font-size: 1.1rem; color: rgba(255,255,255,.75); max-width: 560px; margin: 0 auto 28px; line-height: 1.8; }
.xy9-hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.xy9-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: var(--radius-sm); font-size: .95rem; font-weight: 600; cursor: pointer; border: none; transition: var(--transition); text-decoration: none; }
.xy9-btn-teal { background: var(--teal); color: var(--text-white); }
.xy9-btn-teal:hover { background: var(--teal-hover); color: var(--text-white); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,137,123,.35); }
.xy9-btn-line { background: transparent; color: var(--text-white); border: 2px solid rgba(255,255,255,.35); }
.xy9-btn-line:hover { border-color: var(--teal); color: var(--teal); }
.xy9-btn-white { background: var(--text-white); color: var(--teal); }
.xy9-btn-white:hover { background: var(--bg-light); color: var(--teal-hover); transform: translateY(-2px); }

/* Sections */
.xy9-section { padding: 65px 0; }
.xy9-section-alt { background: var(--bg-light); }
.xy9-section-dark { background: var(--bg-gray); }
.xy9-heading { text-align: center; margin-bottom: 44px; }
.xy9-heading h2 { font-size: 1.9rem; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.xy9-heading p { color: var(--text-light); font-size: 1rem; max-width: 550px; margin: 0 auto; }
.xy9-heading-bar { width: 50px; height: 3px; background: var(--teal); margin: 14px auto 0; border-radius: 2px; }

/* Features */
.xy9-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.xy9-feat-card { background: #fff; border-radius: var(--radius); padding: 32px 24px; text-align: center; box-shadow: var(--shadow); border: 1px solid var(--border); transition: var(--transition); }
.xy9-feat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--teal); }
.xy9-feat-icon { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--teal) 0%, var(--teal-hover) 100%); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.xy9-feat-icon i { font-size: 1.4rem; color: var(--text-white); }
.xy9-feat-card h4 { font-size: 1.05rem; color: var(--primary); margin-bottom: 10px; font-weight: 600; }
.xy9-feat-card p { color: var(--text-light); font-size: .88rem; line-height: 1.7; }

/* Ticker */
.xy9-ticker { background: var(--primary); padding: 16px 0; overflow: hidden; }
.xy9-ticker-inner { display: flex; align-items: center; gap: 16px; }
.xy9-ticker-label { background: var(--teal); color: var(--text-white); padding: 6px 14px; border-radius: 4px; font-size: .82rem; font-weight: 700; white-space: nowrap; }
.xy9-ticker-content { display: flex; gap: 24px; overflow-x: auto; white-space: nowrap; padding: 4px 0; }
.xy9-ticker-content a { color: rgba(255,255,255,.8); font-size: .88rem; transition: var(--transition); }
.xy9-ticker-content a:hover { color: var(--teal); }

/* News Cards */
.xy9-news-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.xy9-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); transition: var(--transition); }
.xy9-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.xy9-card-img { position: relative; overflow: hidden; }
.xy9-card-img mip-img { width: 100%; display: block; transition: var(--transition); }
.xy9-card:hover .xy9-card-img mip-img { transform: scale(1.04); }
.xy9-card-tag { position: absolute; top: 12px; right: 12px; background: var(--teal); color: var(--text-white); padding: 4px 10px; border-radius: 4px; font-size: .75rem; font-weight: 600; }
.xy9-card-body { padding: 18px; }
.xy9-card-body h4 { font-size: .98rem; margin-bottom: 8px; line-height: 1.5; }
.xy9-card-body h4 a { color: var(--primary); }
.xy9-card-body h4 a:hover { color: var(--teal); }
.xy9-card-body p { color: var(--text-light); font-size: .84rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 12px; }
.xy9-card-foot { display: flex; justify-content: space-between; align-items: center; font-size: .8rem; color: var(--text-light); }
.xy9-card-foot i { margin-right: 4px; }
.xy9-card-more { color: var(--teal); font-weight: 600; }
.xy9-card-more:hover { color: var(--teal-hover); }

/* About */
.xy9-about { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.xy9-about-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.xy9-about-img mip-img { width: 100%; display: block; }
.xy9-about-text h2 { font-size: 1.7rem; color: var(--primary); margin-bottom: 16px; font-weight: 700; }
.xy9-about-text p { color: var(--text-light); margin-bottom: 14px; line-height: 1.8; }
.xy9-about-stats { display: flex; gap: 30px; margin: 24px 0; }
.xy9-stat { text-align: center; }
.xy9-stat strong { display: block; font-size: 1.8rem; font-weight: 800; color: var(--teal); }
.xy9-stat span { font-size: .82rem; color: var(--text-light); }

/* CTA */
.xy9-cta { background: linear-gradient(135deg, var(--teal) 0%, var(--teal-hover) 100%); padding: 60px 0; text-align: center; color: var(--text-white); }
.xy9-cta h2 { font-size: 1.9rem; font-weight: 700; margin-bottom: 12px; }
.xy9-cta p { color: rgba(255,255,255,.85); font-size: 1rem; margin-bottom: 26px; }

/* Page Banner */
.xy9-page-banner { position: relative; overflow: hidden; }
.xy9-banner-bg { width: 100%; }
.xy9-banner-mask { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(44,26,20,.7), rgba(78,52,46,.85)); }
.xy9-page-banner .container { position: relative; z-index: 2; padding: 55px 0 45px; }
.xy9-page-banner h1 { color: var(--text-white); font-size: 1.9rem; font-weight: 700; }
.xy9-crumb { padding: 14px 0; font-size: .85rem; color: var(--text-light); }
.xy9-crumb a { color: var(--text-light); }
.xy9-crumb a:hover { color: var(--teal); }
.xy9-crumb span { color: var(--primary); font-weight: 500; }
.xy9-crumb .breadcrumb { background: transparent; padding: 0; margin: 0; font-size: .85rem; }
.xy9-crumb .breadcrumb-item a { color: var(--text-light); }
.xy9-crumb .breadcrumb-item a:hover { color: var(--teal); }
.xy9-crumb .breadcrumb-item.active { color: var(--primary); font-weight: 600; }
.xy9-crumb .breadcrumb-item + .breadcrumb-item::before { color: var(--text-light); content: "/"; }
.xy9-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 20px 0 30px; }
.xy9-pager { padding: 16px 0 40px; text-align: center; }
.xy9-pager .pagination { justify-content: center; gap: 6px; }
.xy9-pager .page-link { color: var(--primary); border-color: var(--border); padding: 8px 14px; border-radius: var(--radius-sm); }
.xy9-pager .page-item.active .page-link { background: var(--teal); border-color: var(--teal); color: var(--text-white); }

/* Detail */
.xy9-detail { max-width: 850px; margin: 0 auto; padding: 40px 15px 50px; }
.xy9-detail-title { font-size: 1.7rem; font-weight: 700; color: var(--primary); margin-bottom: 14px; line-height: 1.4; }
.xy9-detail-meta { display: flex; gap: 18px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--border); margin-bottom: 24px; font-size: .85rem; color: var(--text-light); }
.xy9-detail-meta a { color: var(--teal); }
.xy9-detail-content { font-size: 1rem; line-height: 2; color: var(--text); }
.xy9-detail-content mip-img { margin: 14px 0; border-radius: var(--radius-sm); }
.xy9-detail-content p { margin-bottom: 16px; }
.xy9-detail-tags { padding: 20px 0; border-top: 1px solid var(--border); margin-top: 26px; display: flex; gap: 10px; flex-wrap: wrap; }
.xy9-detail-tags a { display: inline-block; background: var(--teal-light); color: var(--teal); padding: 5px 14px; border-radius: 18px; font-size: .82rem; font-weight: 500; }
.xy9-detail-tags a:hover { background: var(--teal); color: var(--text-white); }

/* Related */
.xy9-related { margin-top: 40px; }
.xy9-related-title { font-size: 1.2rem; font-weight: 700; color: var(--primary); margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--teal); display: inline-block; }

/* Search / SO */
.xy9-so { max-width: 850px; margin: 0 auto; padding: 40px 15px 50px; }
.xy9-so-top { text-align: center; margin-bottom: 32px; }
.xy9-so-top h1 { font-size: 1.7rem; color: var(--primary); margin-bottom: 10px; }
.xy9-so-top p { color: var(--text-light); }
.xy9-so-form { display: flex; gap: 10px; max-width: 520px; margin: 16px auto 0; }
.xy9-so-input { flex: 1; padding: 12px 16px; border: 2px solid var(--border); border-radius: var(--radius-sm); font-size: .95rem; outline: none; transition: var(--transition); }
.xy9-so-input:focus { border-color: var(--teal); }
.xy9-so-info { background: var(--bg-light); padding: 12px 18px; border-radius: var(--radius-sm); margin-bottom: 22px; font-size: .88rem; color: var(--text-light); }
.xy9-so-info strong { color: var(--primary); }
.xy9-so-items { display: flex; flex-direction: column; gap: 16px; }
.xy9-so-card { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); border: 1px solid var(--border); transition: var(--transition); }
.xy9-so-card:hover { box-shadow: var(--shadow-lg); border-color: var(--teal); }
.xy9-so-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.xy9-so-card h3 a { color: var(--primary); }
.xy9-so-card h3 a:hover { color: var(--teal); }
.xy9-so-card p { color: var(--text-light); font-size: .86rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.xy9-so-date { font-size: .78rem; color: var(--text-light); margin-top: 8px; display: block; }
.xy9-so-hot { margin-top: 28px; text-align: center; }
.xy9-so-hot h4 { font-size: 1rem; color: var(--primary); margin-bottom: 14px; }
.xy9-so-tags { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.xy9-so-tags a { background: var(--bg-light); color: var(--text-light); padding: 6px 14px; border-radius: 18px; font-size: .82rem; }
.xy9-so-tags a:hover { background: var(--teal-light); color: var(--teal); }
.xy9-tag-cloud { gap: 12px; }
.xy9-tag-chip { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--border); padding: 8px 18px; border-radius: 20px; font-size: .88rem; color: var(--primary); transition: var(--transition); }
.xy9-tag-chip:hover { background: var(--teal); color: var(--text-white); border-color: var(--teal); }
.xy9-tag-chip i { color: var(--teal); font-size: .8rem; }
.xy9-tag-chip:hover i { color: var(--text-white); }

/* Footer */
.xy9-footer { background: var(--primary-dark); color: rgba(255,255,255,.7); padding: 44px 0 0; }
.xy9-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 36px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.1); }
.xy9-footer-about { margin-bottom: 12px; }
.xy9-footer-about .logo-text { color: var(--text-white); font-size: 1.2rem; font-weight: 700; }
.xy9-footer-about .logo-text i { color: var(--teal); }
.xy9-footer-about mip-img { height: 34px; width: auto; }
.xy9-footer-about p { font-size: .85rem; line-height: 1.7; margin-top: 10px; }
.xy9-footer-links h5, .xy9-footer-contact h5 { color: var(--teal); font-size: .9rem; font-weight: 600; margin-bottom: 14px; }
.xy9-footer-links ul { list-style: none; }
.xy9-footer-links li { margin-bottom: 8px; }
.xy9-footer-links a { color: rgba(255,255,255,.6); font-size: .85rem; }
.xy9-footer-links a:hover { color: var(--teal); }
.xy9-footer-contact p { font-size: .85rem; margin-bottom: 8px; }
.xy9-footer-contact p i { margin-right: 6px; color: var(--teal); }
.xy9-footer-bottom { text-align: center; padding: 18px 0; font-size: .8rem; color: rgba(255,255,255,.4); }

/* Responsive */
@media (max-width: 991px) {
    .xy9-hero-body h1 { font-size: 2.2rem; }
    .xy9-features { grid-template-columns: repeat(2, 1fr); }
    .xy9-news-row { grid-template-columns: repeat(2, 1fr); }
    .xy9-about { grid-template-columns: 1fr; gap: 28px; }
    .xy9-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .xy9-footer-grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 767px) {
    .xy9-nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--primary-dark); padding: 14px; gap: 4px; box-shadow: 0 8px 20px rgba(0,0,0,.3); }
    .xy9-nav.show { display: flex; }
    .xy9-toggle { display: block; }
    .xy9-hero { min-height: 380px; }
    .xy9-hero-body h1 { font-size: 1.7rem; }
    .xy9-features { grid-template-columns: 1fr; }
    .xy9-news-row { grid-template-columns: 1fr; }
    .xy9-grid-3 { grid-template-columns: 1fr; }
    .xy9-about-stats { flex-direction: column; gap: 16px; }
    .xy9-so-form { flex-direction: column; }
    .xy9-section { padding: 45px 0; }
    .xy9-detail-title { font-size: 1.35rem; }
}
