/* 全局样式 */
:root {
    --station-card-height: 200px;
    --station-card-gap: 20px;
    --station-image-height: 160px; /* fallback 高度，优先使用 aspect-ratio */
    --station-thumb-size-sm: 64px;
}
html { height: 100%; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
}

a {
    color:#333;
    cursor: pointer;
    text-decoration: none;
}

a:hover {
    color:#333;
    text-decoration: underline;
}

p {
    margin-bottom:15px;
}

.btn {
    border: 0;
    text-decoration: none!important;
}

.btn.btn-default {
    background-color: #597A2F;
    color:#fff;
}

.btn.btn-primary {
    background-color: #547099;
    color:#fff;
}

.btn.btn-primary.facebook {
    background-color: #3B5999;
}

.btn.btn-primary.google {
    background-color: #fff;
    border: 1px solid #000;
    color:#000!important;
}

.btn.btn-primary:hover {
    background-color: #415c83;
}

.btn.btn-primary.google:hover {
    background-color: #ccc;
}

.btn:focus {
    outline: none !important;
    box-shadow: none;
}

input {
    outline: none !important;
    box-shadow: none !important;
    border:1px solid #c4c4c4!important;
    font-size: 16px!important;
    padding:5px 10px!important;
    width:100%;
    background-color: transparent!important;
    color:#333333!important;
}

select {
    outline: none !important;
    box-shadow: none !important;
    border:1px solid #c4c4c4!important;
    font-size: 14px!important;
    padding:10px 15px!important;
}

textarea {
    outline: none !important;
    box-shadow: none !important;
    border:1px solid #c4c4c4!important;
    font-size: 14px!important;
    padding:10px 15px!important;
    color:#333333!important;
}

input:focus {
    box-shadow: rgba(149, 157, 165, 0.2) 0px 0px 10px!important;
}

select:focus {
    box-shadow: rgba(149, 157, 165, 0.2) 0px 0px 10px!important;
}

textarea:focus {
    box-shadow: rgba(149, 157, 165, 0.2) 0px 0px 10px!important;
}

h1 {
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 20px 0;
}

h2 {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 15px 0;
}

h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px 0;
}

/* 导航栏样式 - 优化版 */
.navbar {
    background-color: #343a40 !important;
    border: none;
    padding: 0.5rem 1rem;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff !important;
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.8) !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #17a2b8 !important;
}

.navbar-nav .nav-link.active {
    color: #17a2b8 !important;
    font-weight: 600;
}

/* 多语言选择器样式重新设计 */
.navbar .dropdown-toggle {
    background-color: transparent !important;
    border: 1px solid #6c757d !important;
    color: #fff !important;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

.navbar .dropdown-toggle:hover {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: #fff !important;
}

.navbar .dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.25);
    outline: none;
}

.navbar .dropdown-menu {
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    margin-top: 0.125rem;
    padding: 0.5rem 0;
}

.navbar .dropdown-item {
    color: #212529;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    transition: background-color 0.15s ease-in-out;
}

.navbar .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #16181b;
}

.navbar .dropdown-item:active {
    background-color: #e9ecef;
    color: #16181b;
}

/* 搜索框样式 */
.navbar .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 0.375rem;
}

.navbar .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.navbar .form-control:focus {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #17a2b8;
    color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.25);
}
/* 页眉搜索框宽度控制 */
#search_keyword {
    width: 150px !important;
    max-width: 150px !important;
    min-width: 100px !important;
}

/* 响应式搜索框 */
@media (max-width: 768px) {
    #search_keyword {
        width: 120px !important;
        max-width: 120px !important;
        min-width: 100px !important;
    }
}

@media (max-width: 576px) {
    #search_keyword {
        width: 100px !important;
        max-width: 100px !important;
        min-width: 100px !important;
    }
}


/* 导航栏样式 */
.navbar {
    background-color: #343a40;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    color: #fff !important;
    font-weight: bold;
}

.navbar .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
}

.navbar .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

/* 英雄区域样式 - 首页全屏，其他页面减半 */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-top: 76px;
}
/* 防止任何虚线边框或轮廓线 */
.hero-section, .hero-section * {
    border-style: none !important;
    outline: none !important;
}
/* 清理 /stations 英雄区域文字上下可能出现的虚线/分隔线 */
.hero-section hr { display: none; }
.hero-section h1,
.hero-section p { border-top: 0 !important; border-bottom: 0 !important; text-decoration: none; }

/* 英雄区域统一高度 - 简洁版本 */
.hero-section {
    min-height: 20vh;
    padding: 1.5rem 0;
}

/* 去除英雄区域的点状覆盖图，避免文字上下出现“虚线感” */
/* .hero-section::before { disabled }
   原先用于装饰的粒子图案覆盖可能导致视觉上的虚线效果，这里移除 */

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    margin-bottom: 2rem;
}

.hero-buttons .btn {
    margin-right: 1rem;
    margin-bottom: 1rem;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* 搜索区域样式 */
.search-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 50vh;
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.search-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 3rem;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.search-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
}

.search-box h3 {
    color: #333;
    margin-bottom: 2rem;
}

.search-box .form-control {
    border: 2px solid #e9ecef;
    border-radius: 25px;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.search-box .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.search-box .btn {
    border-radius: 25px;
    padding: 1rem 2rem;
    font-weight: 600;
}

/* 电台区域样式 */
.featured-stations,
.popular-stations,
.latest-stations,
.top-rated-stations {
    padding: 4rem 0;
}

.featured-stations {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.popular-stations {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.latest-stations {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.top-rated-stations {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    margin: 0 auto;
}

/* 电台卡片样式 - 严格按照源网站样式 */
.stations_lists {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--station-card-gap);
    align-items: stretch;
    margin-bottom: 2rem;
}

.one_block.one_station {
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    background: #fff;
    border-radius: 5px;
    padding: 12px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 0px 10px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: auto;
}

.one_block.one_station:hover {
    text-decoration: none;
    color: inherit;
    transform: translateY(-2px);
    box-shadow: rgba(149, 157, 165, 0.3) 0px 4px 15px;
}

.one_block.one_station .image {
    margin: 0 0 8px 0;
    width: 100%;
    overflow: hidden;
    text-align: center;
    aspect-ratio: 160 / 85;
    height: auto;
}

.one_block.one_station .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.one_block.one_station .name {
    margin: 0 0 4px 0;
    font-weight: 600;
    text-align: center;
    color: #333;
    min-height: 22px;
}
.one_block.one_station .name a {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.one_block.one_station .name a {
    color: #333;
    text-decoration: none;
    display: block;
    line-height: 1.4;
    white-space: normal;
}

.one_block.one_station .name a:hover {
    color: #333;
    text-decoration: none;
}

.one_block.one_station .counters {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    font-size: 12px;
    margin-top: 2px;
}

/* ===== 小屏“左图右文”列表样式（与 radiostay.cn 一致风格） ===== */
@media (max-width: 768px) {
    .stations_lists { display: block; }

    /* 使用栅格布局：左 30% 图，右 70% 文（上标题，下信息） */
    .one_block.one_station {
        display: grid;
        grid-template-columns: 30% 70%;
        grid-template-rows: auto auto;
        column-gap: 12px;
        align-items: center;
        height: auto;
        min-height: 96px;
        padding: 12px;
        margin-bottom: 12px;
        border-radius: 10px;
    }

    .one_block.one_station .image {
        grid-column: 1 / 2;
        grid-row: 1 / 3;
        width: 100%;
        height: 0;
        padding-top: 53.125%; /* 85/160 = 0.53125，按 160x85 比例 */
        position: relative;
        margin: 0;
        border-radius: 8px;
        overflow: hidden;
    }

    .one_block.one_station .image img {
        position: absolute;
        top: 0; left: 0;
        width: 100%; height: 100%;
        object-fit: cover;
        border-radius: 8px;
    }

    .one_block.one_station .name {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        margin: 0;
        min-height: auto;
        -webkit-line-clamp: 1;
        text-align: left;
        font-size: 16px;
    }

    .one_block.one_station .counters {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
        width: 100%;
        margin-top: 6px;
        font-size: 12px;
        gap: 12px;
        justify-content: flex-start;
    }
}

/* 小屏统一：一级页面卡片改为列表式一列（左图右文） */
@media (max-width: 768px) {
    .unified-card-grid { display: block; }
    .unified-card {
        display: flex;
        align-items: center;
        gap: 12px;
        min-height: 80px;
        padding: 12px;
        margin-bottom: 12px;
        border-radius: 10px;
    }
    /* 左侧缩略图：固定正方形尺寸，避免整体被拉得过高 */
    .unified-card .unified-card-icon,
    .unified-card .country-flag,
    .unified-card .language-icon,
    .unified-card .category-icon {
        width: 64px;
        height: 64px;
        border-radius: 8px;
        overflow: hidden;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        margin: 0;
    }
    .unified-card .country-flag img,
    .unified-card .language-icon img,
    .unified-card .category-icon img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 8px;
    }
    /* 右侧内容：上标题，下信息 */
    .unified-card-content { flex: 1; padding: 0; }
    .unified-card-title { margin: 0 0 6px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .unified-card-subtitle { margin: 0 0 6px 0; }
    .unified-card-stats { margin: 0; display: flex; gap: 10px; flex-wrap: wrap; }
}

/* ===== 导航栏小屏：语言/头像与汉堡同排，但不改变默认布局顺序 ===== */
@media (max-width: 992px) {
    .navbar .navbar-toggler { margin-left: 0; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; }
    .navbar .mobile-controls { display: flex; align-items: center; gap: 6px; margin-left: 0; white-space: nowrap; }
    .navbar .mobile-controls .language_list { display: flex; align-items: center; }
    .navbar .mobile-controls .language_list .dropdown-toggle { display: inline-flex; align-items: center; height: 40px; padding: 0 10px; border: 1px solid rgba(255,255,255,0.3); border-radius: 6px; line-height: 1; }
    .navbar .mobile-controls .user_block { display: flex; align-items: center; }
    .navbar .mobile-controls .user_block .user_image { width: 40px; height: 40px; display: block; }
}

/* 放大汉堡图标（三个横杠）尺寸，提升可视性 */
.navbar .navbar-toggler { padding: 0; }
.navbar .navbar-toggler .navbar-toggler-icon { width: 28px; height: 28px; background-size: 28px 28px; }

/* 深色导航下自定义更粗的汉堡图标 */
.navbar.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.6' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* 浅色导航（若有）下自定义更粗的汉堡图标 */
.navbar.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0,0,0,0.7)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.6' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* 导航：品牌居左，其余（语言、头像、汉堡/折叠）整体居右 */
.navbar .container { display: flex; align-items: center; }
.navbar .navbar-brand { margin-right: auto; }

/* ===== 语言下拉列表美化：去掉圆点并优化间距 ===== */
.language_list .dropdown-menu ul { list-style: none; margin: 0; padding: 0; }
.language_list .dropdown-menu ul li { list-style: none; margin: 0; padding: 0; }
.language_list .dropdown-menu ul li a { display: block; padding: 6px 12px; color: #212529; text-decoration: none; white-space: nowrap; }
.language_list .dropdown-menu ul li a:hover { background: #f8f9fa; color: #16181b; }

.one_block.one_station .counters a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.one_block.one_station .counters a:hover {
    color: #67CC33;
    text-decoration: none;
}

.one_block.one_station .counters a.active {
    color: #67CC33;
}

.one_block.one_station .counters i {
    margin-right: 0.5rem;
}

.one_block.one_station .counters .co {
    font-weight: 600;
}

/* 统一卡片网格样式 - 为缺失样式的页面添加 */
.unified-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.unified-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    color: inherit;
    border: 1px solid #e9ecef;
}

.unified-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    text-decoration: none;
    color: inherit;
    border-color: #667eea;
}

.unified-card-content {
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.unified-card-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    flex-shrink: 0;
}

/* 国家页面：国旗不使用渐变背景，保持透明 */
.country-card .unified-card-icon {
    background: transparent !important;
    color: inherit;
}

.unified-card-info {
    flex: 1;
}

.unified-card-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
    line-height: 1.35;
}

.unified-card-subtitle {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.unified-card-stats {
    display: flex;
    gap: 0.5rem;
}

.unified-card-stats .badge {
    background: #e9ecef;
    color: #495057;
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
}

/* 分类卡片样式 */
.category-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    text-decoration: none;
    color: inherit;
}

.category-icon {
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-card:hover .category-icon {
    border-color: #667eea;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

.category-name {
    color: #333;
    font-weight: 600;
    margin: 0;
}

/* 国家卡片样式 */
.country-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.country-card:hover {
    transform: translateY(-3px);
    text-decoration: none;
    color: inherit;
}

.country-flag {
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background: transparent !important;
    box-shadow: none !important;
}
.country-card .country-flag,
.country-card .country-flag * {
    background: transparent !important;
    box-shadow: none !important;
}

.country-card:hover .country-flag {
    border-color: #667eea;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.2);
}

.country-name {
    color: #333;
    font-weight: 600;
    margin: 0;
    font-size: 0.9rem;
}

.country-flag-img {
    border-radius: 4px;
    box-shadow: none;
    background: transparent;
}

/* 统计区域样式 */
.stats-section {
    background: transparent;
    padding: 0.75rem 0;
    margin-top: 1rem;
    min-height: auto !important;
}

/* 覆盖可能附带的 Bootstrap 边距类，避免看起来像满屏 */
.stats-section.py-5,
.stats-section .py-5 {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
}
.stats-section .container {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.stats-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stats-section p {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
}

/* 首页统计：图标、文字、数字 上/中/下排列，避免拥挤变形 */
.stats-section .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 0;
}
.stats-section .stat-item i { order: 1; margin: 0; }
.stats-section .stat-item .stat-label,
.stats-section .stat-item p.stat-label { order: 2; margin: 0; }
.stats-section .stat-item .stat-number,
.stats-section .stat-item h3.stat-number { order: 3; margin: 0; line-height: 1.1; font-size: 1.75rem; }

@media (max-width: 768px) {
    .stats-section .stat-item i { font-size: 1.75rem !important; }
    .stats-section .stat-item h3.stat-number { font-size: 1.5rem; }
}

/* 完整分页样式 - 严格按照文档规范 */
.pagination-container {
    margin: 3rem 0;
    text-align: center;
}

.pagination-nav {
    display: inline-block;
}

.pagination-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 0.5rem;
}

.pagination-item {
    margin: 0;
}

.pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0.5rem;
    text-decoration: none;
    color: #6c757d;
    background-color: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.pagination-link:hover {
    color: #fff;
    background-color: #ff8c00;
    border-color: #ff8c00;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3);
}

.pagination-link.active {
    color: #fff;
    background-color: #ff8c00;
    border-color: #ff8c00;
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3);
}

.pagination-link.prev,
.pagination-link.next {
    font-weight: bold;
    font-size: 1.1rem;
}

.pagination-ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    color: #6c757d;
    font-weight: 600;
}

/* 移动端分页样式 */
.pagination-mobile {
    display: none;
}

@media (max-width: 768px) {
    .pagination-desktop {
        display: none;
    }
    
    .pagination-mobile {
        display: block;
    }
    
    .pagination-list {
        gap: 0.25rem;
    }
    
    .pagination-link {
        min-width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

/* 小屏全局强制一列（覆盖可能存在的 col-6 等栅格） */
@media (max-width: 768px) {
    .row > [class^="col-"],
    .row > [class*=" col-"] {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 576px) {
    .pagination-link {
        min-width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }
}

/* 工具类 */
.clr {
    clear: both;
}

.dotted {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* 电台详情页面样式 */
.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 面包屑导航 */
.breadcrumbs {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
}

.breadcrumbs li:not(:last-child)::after {
    content: '>';
    margin: 0 10px;
    color: #ccc;
}

.breadcrumbs a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs .last_item {
    color: #333;
    font-weight: 600;
}

/* 电台详情页 - 上下结构 */
.station_page {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.station_data { padding: 30px; border-bottom: 1px solid #eee; text-align: left; display:flex; align-items:center; }

.station_data .image { margin: 0 20px 0 0; }

.station_data .image img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.station_data .another_info { display:flex; flex-direction:column; align-items:flex-start; gap:20px; }

.station_data .another_info .name h1 {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
    text-align: center;
}

.station_data .another_info .button_player {
    background: #007bff;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.station_data .another_info .button_player:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,123,255,0.3);
    color: white;
    text-decoration: none;
}

.station_data .another_info .button_player i {
    font-size: 20px;
}

/* 分类信息 */
.genres {
    padding: 20px 30px;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.genres a {
    display: inline-block;
    background: #f8f9fa;
    color: #666;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.genres a:hover {
    background: #007bff;
    color: white;
    text-decoration: none;
}

/* 统计信息 */
.stat {
    padding: 20px 30px;
    border-bottom: 1px solid #eee;
}

.stat-part {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.stat-part:last-child {
    margin-bottom: 0;
}

.stat-part i {
    color: #666;
    width: 20px;
    text-align: center;
}

.stat-part a {
    color: #007bff;
    text-decoration: none;
}

.stat-part a:hover {
    text-decoration: underline;
}

.stat-part .blue {
    color: #007bff;
}



.stat-part .co {
    font-weight: 600;
    color: #333;
}

/* 播放列表 */
.playlist {
    padding: 30px;
    border-bottom: 1px solid #eee;
}

.playlist.noshow {
    display: none;
}

.playlist .hed h2 {
    margin: 0 0 20px 0;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.playlist .st_list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.playlist .st_list li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.playlist .st_list li:last-child {
    border-bottom: none;
}

.playlist .st_list .track_name {
    display: flex;
    align-items: center;
    gap: 15px;
}

.playlist .st_list .timer {
    color: #666;
    font-size: 14px;
    font-family: monospace;
    min-width: 50px;
}

.playlist .st_list .track {
    color: #333;
    font-size: 16px;
}

.playlist .st_list .show_all {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

.playlist .st_list .show_all:hover {
    text-decoration: underline;
}

.playlist .st_list .hidden {
    display: none;
}

.playlist .st_list .noshow {
    display: none;
}

/* 电台描述 */
.station_page > div:last-child {
    padding: 30px;
    line-height: 1.6;
    color: #666;
}

/* 相关电台 */
.related {
    padding: 30px;
    background: #f8f9fa;
}

.related .hed {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.related .st_list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.related .st_list > div {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.related .st_list > div:hover {
    transform: translateY(-5px);
}

.related .st_list > div a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.related .st_list > div img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.related .st_list > div span {
    display: block;
    padding: 15px;
    color: #333;
    font-weight: 500;
    text-align: center;
}

/* 小部件代码 */
.add_widget {
    padding: 30px;
    background: #f8f9fa;
    border-top: 1px solid #eee;
}

.add_widget p {
    margin: 0 0 15px 0;
    font-weight: 600;
    color: #333;
}

.add_widget textarea {
    width: 100%;
    height: 80px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: monospace;
    font-size: 12px;
    resize: vertical;
}

/* 电台评论 */
.station_reviews {
    padding: 30px;
    border-top: 1px solid #eee;
}

.station_reviews h3 {
    margin: 0 0 20px 0;
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.add_review_block {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.add_review_block .form-group {
    margin-bottom: 15px;
}

.add_review_block .form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    resize: vertical;
}

.add_review_block .btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.add_review_block .btn:hover {
    background: #0056b3;
}

.reviews_list {
    min-height: 100px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .station_data { padding:20px; flex-direction:column; align-items:center; text-align:center; }
    
    .station_data .image img {
        width: 150px;
        height: 150px;
    }
    
    .station_data .another_info .name h1 {
        font-size: 24px;
    }
    
    .station_data .another_info .button_player {
        padding: 12px 24px;
        font-size: 16px;
    }
    
    .genres, .stat, .playlist, .related, .add_widget, .station_reviews {
        padding: 20px;
    }
    
    .related .st_list {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .content {
        padding: 15px;
    }
    
    .station_data {
        padding: 15px;
    }
    
    .station_data .image img {
        width: 120px;
        height: 120px;
    }
    
    .station_data .another_info .name h1 {
        font-size: 20px;
    }
    
    .genres, .stat, .playlist, .related, .add_widget, .station_reviews {
        padding: 15px;
    }
    
    .related .st_list {
        grid-template-columns: 1fr;
    }
}




