* {
    margin: 0;
    padding: 0;
    text-align: center;
    box-sizing: border-box;
}

a {
  text-decoration: none;
  color: inherit;
  outline: none;
}

a:link,
a:visited,
a:hover,
a:active {
  text-decoration: none;
  color: inherit;
}


body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    height: 100vh;
    width: 100vw;
    background: linear-gradient(to right bottom, #0864e9 0%, #3cdcc8 60%);
}

.main {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.fh {
    position: absolute;
    top: 10px;
    left: 10px;
    height: 36px;
    width: 36px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fh img {
    height: 30px;
    width: 30px;
    object-fit: contain;
}

.dcname {
    width: 100%;
    margin: 50px 0 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.dc_name {
    height: 35px;
    line-height: 35px;
    width: 100%;
    font-size: 1.5rem;
    font-weight: bold;
    white-space: nowrap;
    color: #ffffff;
    text-shadow: 1px 1px 15px #000,
        0 0 5px rgba(255, 17, 0, 0.2);
}

.dc_xy {
    margin-top: 10px;
    height: 25px;
    line-height: 25px;
    width: 100%;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 5px;
    background: linear-gradient(to right, #0a0c37, #1c295e);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

.container {
    width: 100%;
    flex: 1;
    padding: 0 10px;
    overflow-y: auto;
    overflow-x: hidden;
}

.container-item {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    margin-top: 10px;
    border-radius: 8px;
    padding-bottom: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.item-title {
    height: 40px;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.title-text {
    height: 30px;
    line-height: 30px;
    flex: 1;
    margin: 10px 0 0 8px;
    padding: 0 5px;
    font-size: 1.1rem;
    font-weight: bold;
    text-align: left;
    background: linear-gradient(to right, #c74103, #d32f06);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

.status {
    height: 30px;
    line-height: 30px;
    width: auto;
    padding: 0 15px;
    border-radius: 0 8px 0 8px;
    background-color: #3cdcc8;
    display: inline-block;
    font-size: 0.8rem;
    font-weight: bold;
    text-align: right;
    color: #ffffff;
    opacity: 0.9;
}

.item-info {
    width: 100%;
    padding: 5px;
    display: flex;
    margin-top: 5px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    color: #0b1547;
    font-size: 0.9rem;
    font-weight: bold;
}

.info-item {
    height: 25px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.info-icon {
    height: 20px;
    width: 20px;
    margin-right: 5px;
}

.info-icon img {
    height: 20px;
    width: 20px;
    object-fit: contain;
}

.info-title {
    height: 25px;
    line-height: 25px;
    width: auto;
    display: inline-block;
    margin-right: 5px;
    opacity: 0.6;
}

.info-text {
    height: 25px;
    line-height: 25px;
    flex: 1;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #03508f;
    opacity: 0.9;
}

.item-btn {
    height: 40px;
    width: 100%;
    margin-top: 5px;
    padding: 5px 10px 0;
    display: flex;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
    align-items: center;
    justify-content: space-between;
}

.btn {
    height: 30px;
    line-height: 30px;
    width: auto;
    padding: 0 5px;
    border-radius: 5px;
    white-space: nowrap;
    background-color: #b6b5f3;
    display: inline-block;
    font-size: 0.8rem;
    font-weight: bold;
    text-align: center;
    color: #0b1547;
    opacity: 0.6;
}

.btn-xq {
    width: auto;
    height: 30px;
    line-height: 30px;
    padding: 0 5px;
    background: linear-gradient(to right, #ff7f00, #ff5e00);
    color: #ffffff;
    font-size: 0.9rem;
    border: none;
    display: inline-block;
    border-radius: 5px;
    text-align: center;
}























.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 640px;
    margin: 0 auto;
    height: 60px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-around;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px 5px 0 0;
    z-index: 100;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.nav-item.active {
    color: #e65c19;
}

.nav-item.active .nav-icon {
    color: #e65c19;
    transform: translateY(-5px);
}

.nav-icon {
    font-size: 1.3rem;
    margin-bottom: 3px;
    color: #95a5a6;
    transition: all 0.3s ease;
    /* 为图片添加样式支持 */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.nav-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* 初始为灰色调 */
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.nav-item.active .nav-icon img {
    /* 激活状态为彩色 */
    filter: grayscale(0%);
    opacity: 1;
}

.nav-text {
    font-size: 0.7rem;
    color: #95a5a6;
    transition: all 0.3s ease;
}

.nav-item.active .nav-text {
    color: #e65c19;
    font-weight: 600;
}

.nav-indicator {
    position: absolute;
    top: -5px;
    width: 6px;
    height: 6px;
    background: #e65c19;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-item.active .nav-indicator {
    opacity: 1;
}