/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    padding-bottom: 60px;
}

/* iframe 嵌入网页区域 - 占据除底部导航外的所有空间 */
#bi_iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* 底部固定导航栏 */
.tabFixed {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: #fff;
    color: #555;
    z-index: 1000;
    border-top: 1px solid #f3c7b9;
    box-shadow: 0 -5px 18px 0 rgba(252, 141, 17, 0.13);
}

/* 导航栏容器 */
.tabbar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* 导航项 */
.tabbar .tab-list {
    position: relative;
    text-align: center;
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5px 0;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
}

.tabbar .tab-list.active {
    background: rgba(173, 225, 245, 0.15);
}

/* 中间特殊导航项 */
.tabbar .tab-list .add-nav {
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    top: -20px;
}

.tab-list .store {
    width: 40px;
    height: 40px;
    border: 6px solid #fff;
    border-radius: 50%;
    box-sizing: content-box;
    box-shadow: 0 -5px 18px 0 rgba(252, 141, 17, 0.13);
    background: #fff;
}

/* 导航图标 */
.tabbar img {
    width: 20px;
    height: 20px;
}

.tabbar img:not(.store) {
    width: 30px;
    height: 30px;
    filter: opacity(0.6);
}

.tabbar .active img {
    filter: opacity(1);
}

/* 导航文字 */
.tabbar .tab-text {
    font-size: 8pt;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    color: #939090;
    margin-top: 4px;
}

.tabbar .active .tab-text {
    color: #4fb5f5;
}

/* 响应式优化 - 横屏 */
@media all and (orientation: landscape) {
    body {
        padding-bottom: 55px;
    }
    
    .tabFixed {
        height: 55px;
    }
    
    .tabbar .tab-list {
        padding: 3px 0;
    }
}

/* 小屏优化 */
@media screen and (max-width: 360px) {
    .tabbar .tab-text {
        font-size: 7pt;
    }
    
    .tabbar img:not(.store) {
        width: 26px;
        height: 26px;
    }
}