* {
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

#app {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-size: 14px;
}
.max {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    background-color: #fff;
}
.content {
    flex: 1;
    overflow: hidden auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.content::-webkit-scrollbar {
    display: none;
}

img {
    display: block;
}
a {
    text-decoration: none;
    color: #334155;
    font-size: 14px;
}
button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.5s;
}
.flex {
    display: flex;
}
.gallery-title {
    font-size: 22px;
    color: #1e3a8a;
    margin: 8px;
}
.ra5 {
    border-radius: 5px;
}
.center {
    text-align: center;
}

/* 搜索样式 */
.search {
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px;
}
.search-t {
    width: 60%;
    height: 100%;
    background: linear-gradient(45deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #FC5431;
    padding: 0 12px;
}
.choose-btn {
    color: #fff;
    background-color: #FC5431;
    padding: 0 6px;
    line-height: 28px;
    margin-right: 8px;
}
.search-btn {
    width: 60px;
    line-height: 32px;
    background-color: #FC5431;
    color: #fff;
    margin-left: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.search-box {
    border: 1px solid #FC5431;
    margin-bottom: 12px;
}

.s-title {
    line-height: 40px;
    text-align: center;
    border-bottom: 1px solid #FC5431;
}

.img-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 4px 0;
}
/* 加载动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.list-item {
    width: 30%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 6px 0;
    font-size: 14px;
    padding-bottom: 4px;
    animation: fadeIn 0.5s ease forwards;
}

.list-item:hover {
    color: #1e3a8a;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.list-item .img {
    width: 100%;
    height: 120px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.list-item .name {
    line-height: 24px;
}

.no-data {
    line-height: 40px;
    animation: fadeIn 0.5s ease forwards;
}

.f-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.issue-box {
    margin: 0 auto 8px;
}

.issue-box .iss-item {
    line-height: 24px;
    border: #FC5431 1px solid;
    cursor: pointer;
    background-color: transparent;
    color: #FC5431;
    margin: 0 5px;
    padding: 0 6px;
}

.issue-box .iss-item.act {
    background-color: #FC5431;
    color: #fff;
}

.type-box {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
}

.type-box button {
    width: 150px;
    color: #FC5431;
    border: #FC5431 solid 1px;
    line-height: 32px;
    margin: 10px 8px;
    background-color: #fff;
    display: flex;
}

.type-box button img {
    width: 20px;
    margin-right: 4px;
}

.type-box button.act {
    color: #fff;
    background-color: #FC5431;
}

.ab-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.select-box {
    width: 90%;
    max-width: 400px;
    height: 80vh;
    
    background-color: #fff;
    padding: 12px 0;
    border-radius: 5px;
}

.select-box .box {
    height: 100%;
    padding: 0 12px;
    overflow: hidden auto;
    flex-wrap: wrap;
    justify-content: center;
}

.select-box .box .item {
    width: 80px;
    height: 26px;
    line-height: 26px;
    text-align: center;
    border: solid 1px #FC5431;
    color: #FC5431;
    margin: 6px;
    cursor: pointer;
}

.select-box .box .item.act {
    background-color: #FC5431;
    color: #fff;
}
.van-tabs__nav--card {
    border-radius: 5px;
}