*{
    font-family: "è‹¹æ–¹";
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background-color: rgb(237,237,237);
    padding-top: 80px; /* å‡å°é¡¶éƒ¨padding */
}
.home{
    max-width: 1400px; /* å¢žåŠ æœ€å¤§å®½åº¦ */
    min-height:300px;
    display: block;
    margin:0 auto;
    padding: 0 15px;
    width: 100%; /* ç¡®ä¿å®¹å™¨å æ»¡å¯ç”¨å®½åº¦ */
}
.kui{
    padding: 10px 25px;
    border-radius:15px;
    margin-bottom: 10px;
    font-size: 16px;
    color: #3e4449;
    background-color: #FFFFFFFF;
}
a {
    text-decoration: none; /* åŽ»é™¤é»˜è®¤çš„ä¸‹åˆ’çº¿ */
    outline: none;	/* åŽ»é™¤æ—§ç‰ˆæµè§ˆå™¨çš„ç‚¹å‡»åŽçš„å¤–è™šçº¿æ¡† */
    color: #20a53a;	/* åŽ»é™¤é»˜è®¤çš„é¢œè‰²å’Œç‚¹å‡»åŽå˜åŒ–çš„é¢œè‰² */
}
.title{
    font-size: 20px;
    margin-top: 10px;
    font-weight: 500;
    color: #6c757d;
}
.app{
    display: inline-block;
    width: 25%;
    margin-bottom: 10px;
}
.app-title{
    text-align: center;
    margin: 8px auto;
    color: black;
    font-size: 14px;
    font-weight: 500;
}
.app-img{
    width: 80%;
    max-width: 100px;
    border: 1px solid #FFFFFFFF;
    border-radius: 10px;
    clear: both;
    display: block;
    margin: auto;
}
.m-img{
    width: 95%;
    max-width: 330px;
    max-height: 330px
}
.button {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 12px 24px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #45a049;
}

.content-wrapper {
    width: 100%;
    margin: 0 auto;
    padding: 12px;
}

.app-lists {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* PCç«¯å›ºå®š4åˆ— */
    gap: 15px; /* å‡å°é—´è· */
    margin: 20px 0;
    width: 100%; /* ç¡®ä¿åˆ—è¡¨å æ»¡å®¹å™¨å®½åº¦ */
}

.app-item {
    height: auto;
    min-height: 90px;
    display: flex;
    padding: 8px;
    border-radius: 12px;
    background: #FFF;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.app-item:hover {
    background: #f5f5f5;
}

/* éšè—åŽŸå§‹æŒ‰é’® */
.app-item .app-button {
    display: none;
}

/* æ·»åŠ ä¸‹è½½çŠ¶æ€æ ·å¼ */
.app-item::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(76, 175, 80, 0.9);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
    pointer-events: none;
}

/* PCç«¯æ‚¬åœæ˜¾ç¤ºä¸‹è½½ */
@media (min-width: 769px) {
    .app-item:hover::after {
        opacity: 1;
    }
}

/* ç§»åŠ¨ç«¯ç‚¹å‡»æ˜¾ç¤ºä¸‹è½½ */
@media (max-width: 768px) {
    .app-item.active::after {
        opacity: 1;
    }
    
    .app-item {
        min-height: 85px;
        padding: 6px;
    }
    
    .app-item .pic {
        width: 50px;
        height: 50px;
        margin-right: 6px;
    }
    
    .app-item .app-name-desc {
        margin: 0 6px;
    }
    
    .app-item::after {
        font-size: 20px;
    }

    .app-item:hover {
        background: #f5f5f5;
    }
}

/* å¡ç‰‡å†…å®¹æ ·å¼ */
.app-item .pic {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border: 1px solid #E4E3E3;
    border-radius: 12px;
    overflow: hidden;
    margin-right: 6px;
}

.app-item .pic img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2px;
}

.app-item .app-name-desc {
    flex: 1;
    margin: 0 6px;
    text-align: left;
    min-width: 0;
}

.app-item .app-name {
    font-size: 15px; /* ç¨å¾®å‡å°å­—ä½“å¤§å° */
    font-weight: bold;
    margin-bottom: 4px; /* å‡å°åº•éƒ¨é—´è· */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-item .app-desc {
    font-size: 12px; /* ç¨å¾®å‡å°å­—ä½“å¤§å° */
    color: #E98758;
    font-weight: bold;
    line-height: 1.2;
}

.title {
    text-align: center;
    color: red;
}

a:link {
    text-decoration: none;
}

.app-item .app-name .tip-icon {
    padding: 0px 2px;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.15);
    font-size: 9px;
    color: #FFF;
    text-align: center;
    margin-left: 4px;
    margin-bottom: 4px;
}

.app-name {
    font-size: 20px;
    font-weight: bold;
}

/* å›ºå®šé¡¶éƒ¨æ æ ·å¼ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 5px 0;
}

.header .kui {
    margin: 0 auto;
    padding: 5px 25px;
    width: 60%; /* æ ‡é¢˜æ å®½åº¦ä¸º60% */
    background-color: #fff;
}

.header h1 {
    color: #000; /* æ ‡é¢˜æ–‡å­—æ”¹ä¸ºé»‘è‰² */
    margin: 0;
    font-size: 24px; /* ç¨å¾®è°ƒå°æ ‡é¢˜å­—å· */
}

/* æŒ‰é’®ç»„æ ·å¼ */
.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 10px 0;
}

/* å›¾ç‰‡å’Œæ–‡å­—å¸ƒå±€ */
.image-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 10px 0; /* å‡å°ä¸Šä¸‹è¾¹è· */
}

.image-container {
    text-align: center;
}

.image-container h3 {
    margin: 0 0 10px 0; /* å‡å°æ ‡é¢˜ä¸‹æ–¹è¾¹è· */
}

.image-container img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 0; /* ç§»é™¤å›¾ç‰‡åº•éƒ¨è¾¹è· */
}

/* å“åº”å¼è°ƒæ•´ */
@media (max-width: 1200px) {
    .app-lists {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

@media (max-width: 992px) {
    .app-lists {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 80px; /* å‡å°ç§»åŠ¨ç«¯é¡¶éƒ¨padding */
    }
    
    .header .kui {
        width: 100%; /* ç§»åŠ¨ç«¯æ ‡é¢˜æ å…¨å®½ */
    }
    
    .button-group {
        flex-direction: column;
        align-items: center;
    }
    
    .button {
        width: 100%;
        max-width: 300px;
    }
    
    .image-section {
        margin: 5px 0; /* ç§»åŠ¨ç«¯æ›´å°çš„è¾¹è· */
        gap: 15px; /* ç§»åŠ¨ç«¯æ›´å°çš„é—´è· */
    }
    
    .image-container h3 {
        margin: 0 0 8px 0; /* ç§»åŠ¨ç«¯æ›´å°çš„æ ‡é¢˜è¾¹è· */
    }
    
    .app-lists {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .app-item {
        min-height: 85px; /* ç§»åŠ¨ç«¯æ›´å°çš„é«˜åº¦ */
        padding: 8px; /* ç§»åŠ¨ç«¯æ›´å°çš„å†…è¾¹è· */
    }
    
    .app-item .pic {
        width: 40px; /* ç§»åŠ¨ç«¯æ›´å°çš„å›¾æ ‡ */
        height: 40px;
    }
}