* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f5f5f5;
    color: #333;
    font-family: PingFangSC-Regular, Microsoft YaHei, Helvetica, sans-serif;
}

#app-container {
    width: 100%;
    min-height: 100vh;
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
}

#app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.jxsbm {
    font-size: 0.3rem;
}
.jxsbm img {
    width: 100%;
}
.logo-img {
    height: 0.5rem;
    width: auto;
}

.site-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.22rem;
    color: #ffe66f;
    font-weight: bold;
    letter-spacing: 0.02rem;
    text-shadow: 0 0.01rem 0.02rem rgba(0,0,0,0.3);
}

.tj-img {
    height: 0.56rem;
    width: auto;
}

.youce-img {
    height: 0.6rem;
    width: auto;
}

/* 主标题 */
.main-title {
    text-align: center;
    font-size: 0.24rem;
    font-weight: bold;
    color: #333;
    padding-bottom: 0.12rem;
    text-shadow: 0 0.01rem 0 #fff, 0 0.02rem 0.03rem rgba(0, 0, 0, .22);
    background-color: #fff;
}

/* 开奖结果卡片 */
.result-card {
    background-color: #fff;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.12rem;
}

.result-header .period-text {
    font-size: 0.16rem;
    color: #333;
}

.result-header .period-text span {
    color: #e54d42;
    font-weight: bold;
}

.result-actions {
    display: flex;
    gap: 0.08rem;
}

.btn-refresh,
.btn-history {
    padding: 0.04rem 0.1rem;
    border-radius: 0.04rem;
    font-size: 0.14rem;
    border: 0.01rem solid #1890ff;
    background-color: #e6f7ff;
    color: #1890ff;
    cursor: pointer;
}

.btn-history {
    border-color: #52c41a;
    background-color: #f6ffed;
    color: #52c41a;
}

/* 号码球区域 */
.balls-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.06rem;
    padding: 0.05rem 0;
}

.ball-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.04rem;
}

.ball {
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.18rem;
    font-weight: bold;
    color: #333;
}

.plus-sign {
    width: 0.42rem;
    height: 0.42rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.24rem;
    font-weight: bold;
    color: #666;
}

.ball-tag {
    font-size: 0.12rem;
    color: #666;
    background: #f6f6f6;
    border-radius: 0.04rem;
    box-shadow: 0 2px 6px #0000001a;
    border: 1px solid #e0e0e0;
    white-space: nowrap;
    padding:0 0.04rem;
    transform: scale(0.9);
}

/* 下一期信息 */
.next-draw {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.08rem 0.12rem;
    background-color: #fff;
    font-size: 0.14rem;
    color: #333;
}

.next-draw .period-num {
    color: #e54d42;
    font-weight: bold;
}

.countdown {
    color: #e54d42;
    font-weight: bold;
    font-size: 0.16rem;
}
/* 加载与空状态 */
.loading-text,
.empty-text {
    text-align: center;
    color: #999;
    font-size: 0.14rem;
    padding: 0.2rem 0;
}
.nav-pic-image {
    width: 100%;
    margin-bottom: -0.2rem;
}
.img-div {
    font-size:1rem;
}
.shell-image-list {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    margin: 0.1rem 0;
}

.shell-image-item img {
    width: 100%;
    display: block;
}

.shell-mapping-item {
    margin-bottom: 0.15rem;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 0.1rem;
}

.shell-mapping-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.mapping-title {
    font-size: 0.16rem;
    font-weight: bold;
    color: #1a5c2a;
    margin-bottom: 0.08rem;
}

.mapping-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 0.08rem;
    align-items: center;
    font-size: 0.14rem;
    margin-bottom: 0.06rem;
}

.mapping-play {
    color: #1890ff;
    font-weight: bold;
    min-width: 0.6rem;
}

.mapping-numbers {
    color: #333;
    flex: 1;
    word-break: break-all;
}

.mapping-draw {
    color: #faad14;
    font-size: 0.12rem;
}

.mapping-win {
    color: #ff4d4f;
    font-size: 0.12rem;
    font-weight: bold;
}