html,body{
    padding: 0;
    margin: 0;
    background: #000;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    height: 100%;
    overflow: hidden;
}
body{
    margin: 0 auto;
    max-width: 720px;
    height: 100%;
}
/* 全屏背景区域 */
.hero-section {
    position: relative;
    width: 100%;
    height: calc(100dvh - 60px); 
    overflow: hidden;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 2;
    pointer-events: none;
}
.hero-search {
    position: absolute;
    top: 33.3%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 90%;
    max-width: 500px;
}
.swiper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.swiper-slide {
    width: 100%;
    height: 100%;
}
.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.swiper .swiper-pagination {
    z-index: 3;
}

.mydevice{
    margin: 0;
    padding: 1rem 0 0;
    background: transparent;
    animation: fadeIn 0.5s ease;
}
.mydevice-card{
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255,255,255,0.95);
    border-radius: 12px;
    padding: 0.6rem 1rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    cursor: pointer;
    transition: all 0.3s ease;
}
.mydevice-card:hover{
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.mydevice-card .mydevice-img{
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 8px;
    object-fit: contain;
    background: #f5f7fa;
}
.mydevice-card .mydevice-info{
    flex: 1;
    min-width: 0;
}
.mydevice-card .mydevice-name{
    font-size: 0.95rem;
    font-weight: 600;
    color: #222;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mydevice-card .mydevice-brand{
    font-size: 0.75rem;
    color: #888;
    margin-top: 2px;
}
.mydevice-card .mydevice-specs{
    font-size: 0.7rem;
    color: #aaa;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* 无图片时的占�?*/
.mydevice-card .mydevice-img-placeholder{
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 8px;
    background: linear-gradient(135deg,#e8ecf0,#f5f7fa);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #bbb;
}
.searchForm{
    padding: 0;
    background: transparent;
    color: #333;
}

/* 搜索下拉框容�?*/
.search-dropdown {
    position: relative;
    width: 100%;
}

/* 输入区域 */
.search-dropdown-input {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}
.search-dropdown-input:focus-within {
    box-shadow: 0 6px 30px rgba(31, 33, 171, 0.3);
    transform: translateY(-2px);
}
.search-dropdown-input input {
    flex: 1;
    height: 45px;
    width: 100%;
    padding-left: 1.2rem;
    padding-right: 0.5rem;
    border: none;
    background: transparent;
    outline: none;
    font-size: 1rem;
    display: block;
    transition: all 0.3s ease;
    cursor: pointer;
    caret-color: transparent;
}
.search-dropdown-input input::placeholder {
    color: #999;
    font-size: 0.95rem;
}
.dropdown-arrow {
    padding: 0 1rem;
    font-size: 0.7rem;
    color: #999;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
    user-select: none;
    flex-shrink: 0;
    line-height: 45px;
}
.search-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
    color: #1F21AB;
}

/* 下拉筛选输入框 */
.dropdown-filter-wrap {
    padding: 0.5rem 0.6rem;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
    border-radius: 0.8rem 0.8rem 0 0;
}
.dropdown-filter-input {
    width: 100%;
    height: 36px;
    padding: 0 0.8rem;
    border: 1.5px solid #e0e0e0;
    border-radius: 18px;
    outline: none;
    font-size: 0.9rem;
    background: #f9f9f9;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}
.dropdown-filter-input:focus {
    border-color: #1F21AB;
    box-shadow: 0 0 0 3px rgba(31, 33, 171, 0.1);
    background: #fff;
}
.dropdown-filter-input::placeholder {
    color: #bbb;
    font-size: 0.85rem;
}

/* 下拉列表 */
.search-dropdown-list {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 0.8rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    max-height: 55vh;
    overflow-y: auto;
    animation: fadeIn 0.2s ease;
}
.search-dropdown.open .search-dropdown-list {
    display: block;
}
.search-dropdown-list ul {
    list-style: none;
    margin: 0;
    padding: 0.3rem 0;
}
.search-dropdown-list li {
    padding: 0.7rem 1.2rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: #333;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f5f5f5;
}
.search-dropdown-list li:last-child {
    border-bottom: none;
}
.search-dropdown-list li:hover,
.search-dropdown-list li.highlighted {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf0 100%);
    padding-left: 1.4rem;
    color: #1F21AB;
}
.search-dropdown-list li .match-highlight {
    color: #1F21AB;
    font-weight: 700;
}
.search-dropdown-list .no-result {
    padding: 1rem;
    text-align: center;
    color: #999;
    font-size: 0.85rem;
}

/* 下拉框遮罩层 */
.search-dropdown-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
}

/* 输入无效时的抖动提示 */
.search-dropdown-input input.input-invalid {
    animation: shake 0.4s ease;
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}
.search-dropdown-overlay.active {
    display: block;
}
.categories{
    background-color: #fff;
    margin: 0;
    list-style: none;
    padding: 1rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.categories li{
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    color: #666;
    background-color: #f5f5f5;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.categories li:hover{
    background-color: #e8e8e8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.categories li.active{
    background: linear-gradient(135deg, #1F21AB 0%, #2C28E8 100%);
    color: #FFF;
    box-shadow: 0 4px 15px rgba(31, 33, 171, 0.3);
    transform: translateY(-2px);
}
.sticky-header{
    position: sticky;
    top: 0;
    z-index: 100;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.models{
    padding: 1rem;
}       
.header{
    display: flex;
    flex-direction: row;
    gap: .6rem;
}
.header .des{
    flex: 1;
}
.tip{
    padding: 1rem 1rem 0;
    display: none;
    animation: fadeIn 0.5s ease;
}
.tip dl{
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.tip dl dt{
    display: inline-block;
    width: 12px;
    background-color: #ccc;
    height: 12px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.tip dl dt.active{
    background: linear-gradient(135deg, #db0000 0%, #ff3333 100%);
}
.tip dl dt.sub{
    background: linear-gradient(135deg, #00a8db 0%, #00d4ff 100%);
}
.tip dl dd{
    display: inline-block;
    font-size: 0.75rem;
    padding: 0;
    margin: 0 1rem 0 0.3rem;
    color: #666;
    font-weight: 500;
    font-family: 'Arial Narrow', 'Helvetica Neue Condensed', 'Roboto Condensed', 'PT Sans Narrow', sans-serif;
    font-stretch: condensed;
    letter-spacing: -0.3px;
}
.models .item{
    background: linear-gradient(135deg, #fff 0%, #fafbfc 100%);
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 1.2rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(31, 33, 171, 0.05);
    animation: fadeInUp 0.5s ease;
}
.models .item:hover{
    box-shadow: 0 8px 30px rgba(31, 33, 171, 0.15);
    transform: translateY(-4px);
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.models .item .header{
    margin-bottom: 0.8rem;
}
.models .item .boxCode{
    background: linear-gradient(135deg, #1F21AB 0%, #2C28E8 100%);
    color: #FFF;
    padding: 0 0.8rem;
    border-radius: 0.6rem;
    height: 45px;
    line-height: 45px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 3px 10px rgba(31, 33, 171, 0.3);
    min-width: 60px;
    text-align: center;
}
.models .item .title{
    font-weight: 700;
    color: #1a1a1a;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}
.models .item .category{
    color: #888;
    font-size: 0.85rem;
    font-weight: 500;
}
.models .item .price{
    color: #db0000;
    font-weight: 700;
    font-size: 1.2rem;
}
.list{
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0.2rem;
    flex-wrap: wrap;
}
.list li{
    padding: 0.4rem 0.8rem;
    border-radius: 0.5rem;
    background-color: #f5f5f5;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #e0e0e0;
    font-weight: 500;
}
.list li:hover{
    background-color: #e8e8e8;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.list li.active{
    background: linear-gradient(135deg, #db0000 0%, #ff3333 100%);
    color: #fff;
    border-color: #db0000;
    box-shadow: 0 3px 12px rgba(219, 0, 0, 0.3);
}
.list li.sub{
    background: linear-gradient(135deg, #00a8db 0%, #00d4ff 100%);
    color: #fff;
    border-color: #00a8db;
    box-shadow: 0 3px 12px rgba(0, 168, 219, 0.3);
}
dl.info{
    margin: 0.8rem 0 0;
    padding: 0;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: #888;
}
dl.info dd{
    margin: 0;
    padding: 0;
}
dl.info dd.view-count{
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* 隐藏的手机型号项 */
.list .mobile-hidden {
    display: none;
}

/* 展开/收起按钮样式 */
.toggle-mobiles {
    margin-top: 0.5rem;
    padding: 0.4rem 0.8rem;
    text-align: center;
    background-color: #f0f0f0;
    border-radius: 0.3rem;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #666;
}

.toggle-mobiles:hover {
    background-color: #e0e0e0;
    color: #333;
}

.toggle-mobiles:active {
    background-color: #d0d0d0;
}

.toggle-mobiles.expanded {
    background-color: #1F21AB20;
    color: #1F21AB;
}

.toggle-mobiles .toggle-icon {
    font-style: normal;
    transition: transform 0.3s ease;
    font-size: 0.75rem;
}

.toggle-mobiles.expanded .toggle-icon {
    transform: rotate(180deg);
}

.toggle-mobiles .toggle-text {
    font-weight: 500;
}

.loader{
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 500;
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* autocomplete-list styles removed, replaced by search-dropdown */

.to-top,.orderby{
    position: fixed;
    right: 1rem;
    bottom: 5.5rem;
    width: 2.5rem;
    height: 2.5rem;
    line-height: 2.5rem;
    background: linear-gradient(135deg, rgba(31, 33, 171, 0.85) 0%, rgba(44, 40, 232, 0.85) 100%);
    border-radius: 50%;
    display: none;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(31, 33, 171, 0.4);
    z-index: 1000;
    color: #fff;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}
.to-top:hover,.orderby:hover{
    background: linear-gradient(135deg, #1F21AB 0%, #2C28E8 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 30px rgba(31, 33, 171, 0.5);
}
.to-top:active,.orderby:active{
    transform: translateY(-1px) scale(1.02);
}
.orderby{
    bottom: 9.6rem;
}

/* 移动端底部悬浮主菜单样式 */
.main-menus-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    
}

.main-menus-list {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-menus-list li {
    flex: 1;
    text-align: center;
}

.main-menus-list a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.5rem;
    color: #666;
    text-decoration: none;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    gap: 0.25rem;
}

/* 为导航链接添加图标（使用伪元素） */
.main-menus-list a::before {
    font-family: "iconfont" !important;
    font-size: 1.5rem;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 根据菜单项文本内容设置不同图�?*/
.main-menus-list li:nth-child(1) a::before {
    content: "\e616"; /* 首页图标 */
}

.main-menus-list li:nth-child(2) a::before {
    content: "\e62e"; /* 关于图标 */
}

.main-menus-list li:nth-child(3) a::before {
    content: "\e632"; /* 设置图标 */
}

.main-menus-list li:nth-child(4) a::before {
    content: "\e7c0"; /* 更多图标 */
}

.main-menus-list a:hover,
.main-menus-list a:active,
.main-menus-list .current-menu-item a, 
.main-menus-list .current-page-ancestor a {
    color: #1F21AB;
    background-color: #f5f5f5;
}

/* 为body添加底部间距，避免内容被菜单遮挡 */
body.has-bottom-nav {
    padding-bottom: 60px;
}

.wrapper-about{
    background-color: #fff;
    padding: 1rem;
    margin: 1rem;
    border-radius: .6rem;
    box-shadow: 0 0 .6rem rgba(0,0,0,.1);
}

/* 手机详情弹窗样式 */
.mobile-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

/* ========== 设备选择弹窗 ========== */
.device-select-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.device-select-modal.active {
    opacity: 1;
    visibility: visible;
}
.device-select-modal.closing {
    opacity: 0;
    visibility: hidden;
}
.dsm-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}
.dsm-content {
    position: relative;
    background: #fff;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}
.dsm-header {
    padding: 1.5rem 1.5rem 0.5rem;
    text-align: center;
}
.dsm-header h3 {
    margin: 0 0 0.3rem;
    font-size: 1.2rem;
    color: #1a1a1a;
    font-weight: 700;
}
.dsm-header p {
    margin: 0;
    font-size: 0.85rem;
    color: #888;
    line-height: 1.4;
}
.dsm-body {
    padding: 0.8rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.dsm-option {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 1rem;
    border: 2px solid #eee;
    border-radius: 12px;
    background: #fafbfc;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    color: #333;
    text-align: left;
    width: 100%;
    outline: none;
}
.dsm-option:hover,
.dsm-option:focus {
    border-color: #1F21AB;
    background: linear-gradient(135deg, #eeeeff 0%, #e4e4ff 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(31, 33, 171, 0.15);
}
.dsm-option:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(31, 33, 171, 0.2);
}
.dsm-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}
.dsm-model-name {
    font-weight: 600;
    flex: 1;
}
.dsm-footer {
    padding: 0.5rem 1.2rem 1.2rem;
    text-align: center;
}
.dsm-skip {
    padding: 0.6rem 2rem;
    border: none;
    background: transparent;
    color: #999;
    font-size: 0.85rem;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.2s ease;
}
.dsm-skip:hover {
    background: #f0f0f0;
    color: #666;
}

/* ========== 设备检测结果弹�?========== */
.device-detect-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.device-detect-modal.active {
    opacity: 1;
    visibility: visible;
}
.device-detect-modal.closing {
    opacity: 0;
    visibility: hidden;
}
.ddm-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}
.ddm-content {
    position: relative;
    background: #fff;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}
.ddm-header {
    padding: 1.8rem 1.5rem 0.8rem;
    text-align: center;
}
.ddm-warning-icon {
    font-size: 3rem;
    margin-bottom: 0.8rem;
    line-height: 1;
}
.ddm-device-icon {
    font-size: 3rem;
    margin-bottom: 0.8rem;
    line-height: 1;
}
.ddm-text {
    margin: 0;
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
}
.ddm-text strong {
    color: #1F21AB;
    font-weight: 700;
}
.ddm-body {
    padding: 0.5rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.ddm-option {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 1rem;
    border: 2px solid #eee;
    border-radius: 12px;
    background: #fafbfc;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    color: #333;
    text-align: left;
    width: 100%;
    outline: none;
}
.ddm-option:hover,
.ddm-option:focus {
    border-color: #1F21AB;
    background: linear-gradient(135deg, #eeeeff 0%, #e4e4ff 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(31, 33, 171, 0.15);
}
.ddm-option:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(31, 33, 171, 0.2);
}
.ddm-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}
.ddm-model-name {
    font-weight: 600;
    flex: 1;
}
.ddm-footer {
    padding: 0.8rem 1.2rem 1.5rem;
    text-align: center;
}
.ddm-footer-row {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
}
.ddm-btn {
    padding: 0.7rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 80px;
}
.ddm-btn-primary {
    background: linear-gradient(135deg, #1F21AB 0%, #2C28E8 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(31, 33, 171, 0.3);
}
.ddm-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(31, 33, 171, 0.4);
}
.ddm-btn-primary:active {
    transform: translateY(0);
}
.ddm-btn-secondary {
    background: #f0f0f0;
    color: #666;
}
.ddm-btn-secondary:hover {
    background: #e0e0e0;
    color: #333;
}

/* ========== 搜索结果弹窗 ========== */
.search-result-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.search-result-modal.active {
    opacity: 1;
    visibility: visible;
}
.search-result-modal.closing {
    opacity: 0;
    visibility: hidden;
}
.srm-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}
.srm-content {
    position: relative;
    background: #fff;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    text-align: center;
}
.srm-header {
    padding: 2rem 1.5rem 0.5rem;
}
.srm-empty-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    line-height: 1;
}
.srm-title {
    margin: 0;
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
}
.srm-title strong {
    color: #1F21AB;
}
.srm-body {
    padding: 0.8rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}
.srm-boxcode {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1F21AB;
    background: linear-gradient(135deg, #eeeeff 0%, #e4e4ff 100%);
    border: 2px solid rgba(31, 33, 171, 0.15);
    border-radius: 16px;
    padding: 0.8rem 1.5rem;
    min-width: 80px;
    box-shadow: 0 4px 15px rgba(31, 33, 171, 0.1);
    letter-spacing: 1px;
}
.srm-footer {
    padding: 1rem 1.5rem 1.8rem;
}
.srm-hint {
    margin: 0 0 0.8rem;
    font-size: 0.9rem;
    color: #999;
}
.srm-btn {
    padding: 0.7rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(135deg, #1F21AB 0%, #2C28E8 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(31, 33, 171, 0.3);
    transition: all 0.3s ease;
}
.srm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(31, 33, 171, 0.4);
}
.srm-btn:active {
    transform: translateY(0);
}

.mobile-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.mobile-modal .modal-content {
    position: relative;
    background: #fff;
    border-radius: 16px;
    max-width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    margin: 1rem;
}

.mobile-modal .modal-close {
    position: sticky;
    top: 0;
    right: 0;
    float: right;
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
    color: #666;
    cursor: pointer;
    padding: 0.5rem 1rem;
    background: #fff;
    border-radius: 0 16px 0 8px;
    z-index: 1;
    transition: all 0.3s ease;
}

.mobile-modal .modal-close:hover {
    color: #1F21AB;
    transform: rotate(90deg);
}

.mobile-modal .modal-body {
    padding: 1rem 1.5rem 1.5rem;
}

.mobile-modal .modal-body.loading {
    text-align: center;
    padding: 3rem;
    color: #999;
    font-size: 1.1rem;
}

.mobile-detail {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-detail .detail-image {
    text-align: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    border-radius: 12px;
    padding: 1.5rem;
}

.mobile-detail .detail-image img {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
    border-radius: 8px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

.mobile-detail .detail-info {
    display: flex;
    flex-direction: column;
}

.mobile-detail .detail-info h3 {
    margin: 0 0 0.5rem 0;
    color: #1F21AB;
    font-size: 1.5rem;
    font-weight: 600;
}

.mobile-detail .detail-info p {
    margin: 0;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    line-height: 1.6;
    font-size: 0.95rem; 
}

.mobile-detail .detail-info p:last-child {
    border-bottom: none;
}

.mobile-detail .detail-info p strong {
    display: inline-block;
    min-width: 70px;
    color: #666;
    font-weight: 500;
}

.mobile-detail .detail-info p.brand {
    color: #1F21AB;
    font-weight: 500;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 响应式适配 */
@media (min-width: 600px) {
    .mobile-modal .modal-content {
        max-width: 500px;
    }
    
    .mobile-detail {
        flex-direction: row;
    }
    
    .mobile-detail .detail-image {
        flex: 0 0 200px;
    }
    
    .mobile-detail .detail-info {
        flex: 1;
    }
}
