  * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
            /* 禁止选择文本（可选） */
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
			
        }
        
        body {
            background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
            color: #333; 
          
            min-height: 100vh;
            padding: 0px;
            padding-bottom: 66px;
        
            /* 禁止拖拽 */
			
            -webkit-user-drag: none;
            -khtml-user-drag: none;
            -moz-user-drag: none;
            -o-user-drag: none;
            user-drag: none;
			padding-bottom: calc(66px + env(safe-area-inset-bottom)) !important;
    padding-bottom: calc(66px + constant(safe-area-inset-bottom)) !important;	
			/*
  padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px));
		  
			
			 */
        }
        
        .container {
            max-width: 600px;
            margin: 0 auto;
            background: rgba(255, 255, 255, 0.97);
            border-radius: 0px;
            box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            position: relative;
        }
        
.header {
    /* ✅ 宽度跟随屏幕，最大不超过设计稿 1000px */
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;

    /* ✅ 关键：锁定 1000:340 比例，高度自动算 */
    aspect-ratio: 1000 / 340;

    /* 背景图按比例铺满不重复 */
    background: url('../img/topbg.png') no-repeat center / cover;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
    color: white;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.logo {
    position: absolute;          /* ✅ 关键 */
    top: 10px;                  /* 距离顶部 */
    right: 10px;                /* 距离右边 */
    width: 60px;
    height: 60px;
    background: white;          /* 白底 = 描边托 */
    border-radius: 50%;
    display: flex;
    align-items: center;        /* ✅ 恢复，图片居中 */
    justify-content: center;    /* ✅ 恢复 */
    box-shadow: 0 4px 12px rgba(0,0,0,0.25); /* 外阴影 */
    z-index: 2;                 /* 浮在文字/背景之上 */
    /* margin 已去掉 */
}

.logo img{ width: 100%; border-radius: 50%;    border: 1px solid rgba(255, 255, 255, 0.8); /* 白色半透明描边 */   box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* 阴影效果 */
}
        
        .header h1 {
            font-size: 1.8rem;
            margin-bottom: 6px;
		
         color: #fdfcd3; 
            font-weight: 700;
			 -webkit-text-stroke: 0.5px #ac401e; /* 黄色描边，粗细/颜色可调 */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); /* 之前的黑边阴影保留，让字在背景图上更立体 */
    margin: 5px 0;
        }
        
        .header p {
			    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);

            font-size: 1rem;
            opacity: 0.92;
            letter-spacing: 0.5px;
        }
        
        .section {
            padding: 12px;
            border-bottom: 1px solid rgba(0, 0, 0, 0.04);
        }
        
        .section.player-section {
            margin-top: 0px;
            margin-bottom: 0px;
        }
        
        .section.energy-section {
            margin-top: 0px;
        }
        
        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 0;
        }
        
        /* 进一步增强section-title图标 - 更大尺寸 */
        .section-title {
            display: flex;
            align-items: center;
            color: #5a67d8;
            font-size: 0.7rem;
            font-weight: 600;
            margin-bottom: 0;
        }
        
        .section-title i {
            margin-right: 5px; /* 微调间距 */
            font-size: 1.2rem; /* 从1rem增大到1.2rem */
            width: 26px; /* 从24px增大到26px */
            text-align: center;
            color: #5a67d8;
        }
        
        .more-btn {
            background: transparent;
            border: 1px solid #5a67d8;
            color: #5a67d8;
            padding: 4px 10px;
            border-radius: 12px;
            font-size: 0.7rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .more-btn:hover {
            background: #5a67d8;
            color: white;
        }
        
        /* 音乐播放器 - 三行布局 */
        .player {
            background: linear-gradient(to right, #e0f7fa, #bbdefb);
            border-radius: 16px;
            padding: 20px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.06);
            position: relative;
            overflow: hidden;
            height: auto;
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        
        .player-row {
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .album-art {
            width: 80px;
            height: 80px;
            border-radius: 12px;
            background: linear-gradient(45deg, #64b3f4, #c2e59c);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 24px;
            flex-shrink: 0;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }
        
        .track-info {
            flex: 1;
            min-width: 0;
            text-align: center;
        }
        
        .track-info h3 {
            font-size: 1.1rem;
            margin-bottom: 6px;
            color: #2d3748;
            font-weight: 600;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        .track-info p {
            font-size: 0.95rem;
            color: #4a5568;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        .controls {
            display: flex;
            gap: 20px;
            flex-shrink: 0;
            justify-content: center;
        }
        
        .control-btn {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: white;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #5a67d8;
            box-shadow: 0 3px 8px rgba(0,0,0,0.12);
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 20px;
            transform: none !important;
        }
        
        .control-btn:hover {
            transform: scale(1.12) !important;
            background: #5a67d8;
            color: white;
            box-shadow: 0 5px 12px rgba(90, 103, 216, 0.3);
        }
        
        /* 能量卡 */
        .energy-card {
            background: linear-gradient(135deg, #fff9c4 0%, #ffecb3 100%);
            border-radius: 16px;
            padding: 18px;
            text-align: center;
            position: relative;
            box-shadow: 0 5px 18px rgba(0,0,0,0.07);
            border: 1px solid rgba(255, 204, 0, 0.2);
        }
        
        .card-text {
            font-size: 1.15rem; text-decoration: none;
            font-style: italic;
            color: #5d4037;
            margin-bottom: 18px;
            line-height: 1.5;
            font-weight: 500;
        }
        
        .generate-btn {
            background: linear-gradient(to right, #ffb74d, #ff9800);
            color: white;
            border: none;
            padding: 10px 22px;
            border-radius: 30px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(255, 183, 77, 0.35);
            font-size: 0.95rem;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        
        .generate-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(255, 183, 77, 0.45);
            background: linear-gradient(to right, #ffa726, #fb8c00);
        }
        
        /* 功能导航 - margin-top调整为2px */
        .nav-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 10px;
            margin-top: 2px;
        }
        
        .nav-item {
            background: white;
            border-radius: 12px;
            padding: 12px 5px;
            text-align: center;
            box-shadow: 0 4px 10px rgba(0,0,0,0.05);
            transition: all 0.3s ease;
            cursor: pointer;
            border: 1px solid rgba(0, 0, 0, 0.03);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 100%;
        }
        
        .nav-item:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 18px rgba(0,0,0,0.08);
            background: #f8fbff;
            border-color: rgba(90, 103, 216, 0.15);
        }
        
        .nav-item i {
            font-size: 1.5rem;
            color: #5a67d8;
            margin-bottom: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            height: 28px;
        }
        
        .nav-item span {
            font-size: 0.9rem;
            color: #2d3748;
            font-weight: 700;
            letter-spacing: 0.3px;
            line-height: 1.2;
        }
        
        /* 动态区域 */
        .dynamic-container {
            position: relative;
            height: 200px;
            overflow: visible;
            border-radius: 14px;
            padding: 5px;
            background: transparent;
            margin-top: 5px;
        }
        
        .dynamic-group {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 12px;
            padding: 5px;
            opacity: 0;
            transition: opacity 0.8s ease;
        }
        
        .dynamic-group.active {
            opacity: 1;
        }
        
        .dynamic-item {
            background: white;
            border-radius: 12px;
            padding: 16px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.06);
            display: flex;
            align-items: flex-start;
            border: 1px solid rgba(0, 0, 0, 0.03);
            width: 100%;
            box-sizing: border-box;
            position: relative;
            z-index: 1;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .dynamic-item:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(0,0,0,0.1);
        }
        
        .user-info {
            display: flex;
            align-items: center;
            width: 100%;
            text-decoration: none;
            color: inherit;
        }
        
        .avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            overflow: hidden;
            flex-shrink: 0;
            margin-right: 12px;
            box-shadow: 0 3px 6px rgba(0,0,0,0.1);
        }
        
        .avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .user-details {
            display: flex;
            flex-direction: column;
            flex: 1;
            min-width: 0;
        }
        
        .username {
            font-weight: 700;
            color: #2d3748;
            font-size: 0.95rem;
            margin-bottom: 4px;
        }
        
        .activity {
            font-size: 0.9rem;
            color: #4a5568;
            line-height: 1.4;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        /* 产品/课程/空间通用网格 */
        .grid-container {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 14px;
            margin-top: 10px;
            width: 100%;
        }
        
        .card {
            background: white;
            border-radius: 14px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.07);
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.12);
        }
        
        .card-link {
            text-decoration: none;
            color: inherit;
            display: block;
            height: 100%;
            /* 禁止拖拽链接 */
            -webkit-user-drag: none;
            -khtml-user-drag: none;
            -moz-user-drag: none;
            -o-user-drag: none;
            user-drag: none;
        }
        
        .card-img {
            width: 100%;
            aspect-ratio: 3/2;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 2.2rem;
            overflow: hidden;
            position: relative;
        }
        
        .product-img {
            aspect-ratio: 1/1;
        }
        
        .course-img {
            background: linear-gradient(45deg, #a1c4fd, #c2e9fb);
        }
        
        .space-img {
            background: linear-gradient(45deg, #ffecd2, #fcb69f);
        }
        
        .card-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            position: absolute;
            top: 0;
            left: 0;
            /* 禁止图片拖拽 */
            -webkit-user-drag: none;
            -khtml-user-drag: none;
            -moz-user-drag: none;
            -o-user-drag: none;
            user-drag: none;
        }
        
        .card-info {
            padding: 10px 14px;
            background: white;
        }
        
        .card-title {
            font-weight: 700;
            margin-bottom: 6px;
            color: #2d3748;
            font-size: 0.9rem;
            line-height: 1.4;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        .product-info .card-title {
            flex-grow: 1;
        }
        
        .price {
            font-weight: 700;
            color: #e53e3e;
            font-size: 1.1rem;
            margin-top: 3px;
        }
        
        .meta {
            display: flex;
            justify-content: space-between;
            font-size: 0.8rem;
            color: #718096;
            margin-top: 6px;
        }
        
        .hot, .rating {
            display: flex;
            align-items: center;
            gap: 3px;
        }
        
        .space-name {
            font-weight: 700;
            margin-bottom: 4px;
            color: #2d3748;
            font-size: 1rem;
        }
        
        .space-distance {
            font-size: 0.85rem;
            color: #718096;
            margin-bottom: 6px;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .space-event {
            font-size: 0.85rem;
            color: #38a169;
            font-weight: 700;
            background: rgba(56, 161, 105, 0.1);
            padding: 4px 10px;
            border-radius: 20px;
            display: inline-block;
        }
        
      
		

		
        /* 图标样式 */
        .icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 0.9em;
            vertical-align: middle;
            margin-right: 2px;
        }
        
        /* 响应式设计 */
        @media (max-width: 768px) {
            .grid-container {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px;
                width: 100%;
            }
            
            .section-title {
                font-size: 0.65rem;
            }
            
            .section-title i {
                font-size: 1.1rem; /* 平板端稍大 */
                margin-right: 4px;
                width: 24px;
            }
            
            .player {
                padding: 15px;
                gap: 12px;
            }
            
            .album-art {
                width: 70px;
                height: 70px;
                font-size: 20px;
            }
            
            .track-info h3 {
                font-size: 1rem;
            }
            
            .track-info p {
                font-size: 0.9rem;
            }
            
            .control-btn {
                width: 45px;
                height: 45px;
                font-size: 18px;
            }
            
            .logo {
                width: 50px;
                height: 50px;
                font-size: 24px;
            }
            
            .header h1 {
                font-size: 1.6rem;
            }
            
            .dynamic-container {
                height: 200px;
            }
        }
        
        @media (max-width: 480px) {
            body {
                padding: 0px;
                padding-bottom: 80px;
            }
            
            .section {
                padding: 10px;
            }
            
            .grid-container {
                grid-template-columns: repeat(2, 1fr);
                gap: 8px;
                width: 100%;
            }
            
            .dynamic-container {
                height: 200px;
            }
            
            .avatar {
                width: 55px;
                height: 55px;
            }
            
            .activity {
                font-size: 0.85rem;
            }

            .nav-item i {
                font-size: 1.3rem;
            }
            
            .nav-item span {
                font-size: 0.85rem;
            }
            
            .logo {
                width: 45px;
                height: 45px;
                font-size: 22px;
            }
            
            .header h1 {
                font-size: 1.5rem;
            }
            
            .section-title i {
                font-size: 1rem; /* 手机端适当缩小 */
                margin-right: 3px;
                width: 22px;
            }
        }
        
        .hang {
            clear: both;
            height: 10px;
            overflow: hidden;
        }
        
.jplys img{ width: 100%;  border-radius: 10px;}


        /* 禁止拖拽的全局样式 */
        a, img, div[draggable] {
            -webkit-user-drag: none;
            -khtml-user-drag: none;
            -moz-user-drag: none;
            -o-user-drag: none;
            user-drag: none;
        }
        
        /* 禁止触摸时的高亮效果 */
        * {
            -webkit-tap-highlight-color: transparent;
            -webkit-touch-callout: none;
        }