html {
    -webkit-touch-callout: none;
    -webkit-user-scalable: none;
    touch-action: pan-x pan-y;
}

*,
*::before,
*::after{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
}
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    width: 480px;
    margin-left: auto;
    margin-right: auto;
}
ul,li{border:0;padding:0;margin:0;list-style:none;}
.header {
    position: fixed;
    top: 0;
    width: 480px;
    left: 50%;
    transform: translateX(-50%);
    height: 60px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 100;
}
.header .logo img {
    height: 40px;
}
.header .site-name {
    font-size: 24px;
    font-weight: bold;
    color: #333;
	margin-left: -20px;
}
.header .search img {
    height: 30px;
    cursor: pointer;
}
.container {
    margin: 0 0 10px 0;
    padding: 10px;
}
.gallery {
    column-count: 2;
    column-gap: 20px;
}
.image-item {
    break-inside: avoid;
    margin-bottom: 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    padding: 10px;
    background: #fff;
    transition: transform 0.3s ease;
    display: inline-block;
    width: 100%;
}
.image-item:hover {
    transform: scale(1.02);
}
.image-item img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}
.image-name {
    margin-top: 10px;
    font-size: 16px;
    color: #333;
    padding-bottom: 10px;
}
.slideshow {
    width: 480px;
    margin: 70px auto 10px;
    display: flex;
    justify-content: center;
}
.slideshow-container {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 180px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    visibility: hidden;
}
.slide.active {
    opacity: 1;
    visibility: visible;
}
.slide a,
.slide img {
    width: 100%;
    height: 100%;
    display: block;
}
.slide img {
    object-fit: cover;
    border-radius: 8px;
    display: none;
}
.slide img.loaded {
    display: block;
}
.marquee {
    width: 480px;
    margin: 10px auto;
    background: #f9f9f9;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 10px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}
.marquee-icon {
    height: 24px;
    margin-right: 10px;
    flex-shrink: 0;
}
.marquee-content {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}
.marquee-content span {
    font-size: 16px;
    color: #333;
    display: inline-block;
    /*animation: marquee 45s linear infinite;*/
}
@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}
.image-nav {
    width: 480px;
    margin: 0 auto;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 10px;
}

.image-nav.sticky {
    position: fixed;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 900;
}
.image-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
    gap: 10px;
}
.image-nav li {
    flex: 1;
}
.nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 6px;
    background: linear-gradient(135deg, #398881, #5a6a80);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transition: 0.2s ease;
}
.nav-item:hover {
    background: linear-gradient(135deg, #9ca3af, #6b7280);
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}
.nav-icon {
    height: 24px;
    margin-right: 8px;
}
.footer {
    position: fixed;
    bottom: 0;
    width: 480px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.05);
    z-index: 100;
}
.footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
    gap: 10px;
}
.footer li {
    flex: 1;
    text-align: center;
    position: relative;
}
.footer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 8px 1px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-item:hover {
    color: #6b7280;
}
.footer-icon {
    height: 30px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
}
.upload-icon {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 1100;
}
.footer-item span {
    margin-top: 10px;
}
.image-popup {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}
.image-popup.active {
    display: flex;
}
.popup-content {
    width: 480px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.popup-form {
    position: fixed;
    top: 3px;
    width: 480px;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 2200;
}
.popup-image {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.2s ease;
    z-index: 2100;
    touch-action: none;
    margin: auto;
}
.nav-button {
    position: fixed;
    writing-mode: vertical-rl;
    background: rgba(29, 0, 0, 0.2);
    border: none;
    border-radius: 8px;
    padding: 15px 8px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(218, 202, 255, 1);
    z-index: 2200;
}
.prev-issue { left: 10px; top: 50%; }
.next-issue { right: 10px; top: 50%; }
.close-button {
    position: fixed;
    bottom: 4vh;
    padding: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.8);
    font-size: 25px;
    box-shadow: 0 4px 12px rgba(218, 202, 255, 1);
    z-index: 2200;
}
.form-button {
    padding: 8px 16px;
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
	 box-shadow: 0 4px 12px rgba(218, 202, 255, 1);
}
.issue-input {
    width: 120px;
    padding: 8px;
    font-size: 14px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: rgba(255,255,255,0.9);
    box-shadow: 0 4px 12px rgba(218, 202, 255, 1);
}





/* 搜索弹出层 */
.search-overlay {
position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s;
}

.search-overlay.active {
    visibility: visible; 
    opacity: 1; 
}


.tuku-select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    flex-grow: 1; 
    box-sizing: border-box;
    appearance: none; 
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff; 
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23000%22%20d%3D%22M287%2069.9H5.4c-4.4%200-6.9%205.7-4.2%209l141%20140.4c2.7%202.7%207.2%202.7%209.9%200l141-140.4c2.7-3.3.2-9-4.2-9z%22%2F%3E%3C%2Fsvg%3E'); /* 自定义下拉箭头，黑色 */
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
    padding-right: 30px; 
}

.search-popup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex; 
    gap: 10px; 
    align-items: center; 
}

.search-input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    flex-grow: 1;
}

.search-button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.search-button:hover {
    background-color: #0056b3;
}

.kaijiang-nav ul{
            display: flex;
            height: 38px;
            justify-content: space-between;
            max-width:480px;
        }
        .kaijiang-nav ul li{
            cursor: pointer;
    line-height: 38px;
    font-size: 16px;
    font-weight: 900;
    width: 33%;
    text-align: center;
    font-family: "PingFangSC-Regular,Microsoft YaHei,Helvetica";
    background: #e6e5e5;
    border-radius: 10px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
        }
        .kaijiang-nav ul .active{
            color: #fff;
    background: #0ed800;
        }
        .kaijiang-nav ul li p{
            font-size: 12px;
    line-height: 10px;
    text-shadow: none;
    font-weight: 500;
        }
		

		
		
		
		
main{max-width:480px;  margin-top: -1px; margin-bottom: 10px;padding: 1px; background: #fff;
border-bottom-left-radius: 20px;
border-bottom-right-radius: 20px;
}
.border-box {
    padding: .5rem;
    border: 2px solid #07c160;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    animation: borderGlow 10s linear infinite;
}

@keyframes borderGlow {
    0% { border-color: #07c160; }
    25% { border-color: #00a8ff; }
    50% { border-color: #9c27b0; }
    75% { border-color: #ff5722; }
    100% { border-color: #07c160; }
}
	a{text-decoration: none;color:#07c160;}
.kj .head {
    display: flex;
    justify-content: space-between; 
    align-items: center;
}
.kj .head li {
    width: 33.3%;
    font-size: 1rem;
    text-align: center; 
}
.kj .head li:nth-child(1) {
    text-align: left; 
}
.kj .head li:nth-child(2) {
    text-align: center; 
}
.kj .head li:nth-child(3) {
    text-align: right; 
}
	.kj .head li:last-child{text-align: right;}
	.kj .head #q{color:#07c160;}
	.kj .kj-box { text-align: center;padding:.5rem 0;}
	.kj .kj-box ul { display: flex;}
	.kj .kj-box ul li { width: 12.5%; margin: 0 .15rem;}
	.kj .kj-box ul li span { width: 100%;height: 2.5rem; text-align: center; font-size: 1.1rem; border-radius: 50%;display: inline-block; font-family: Arial;}
	.kj .kj-box ul li span lable{margin-left: -.23rem;display:inline-block;margin-left:-.1rem;margin-top:.8rem; font-weight: bold;}
	.kj .kj-box ul li em {font-style: normal; display: block;font-size:.8rem;}
	.kj .kj-box ul li:nth-child(7) span{display:inline-block;width:100%px;line-height:2.5rem;font-size:1.0rem;font-weight:bold;color:#acacac;}
	.kj .kj-box ul li:nth-child(7) span:before{content: "＋";}
	.kj .kj-foot{text-align: center;color:#eb5252;font-size:.9rem;}
	.kj img { width: 30px;}
	.alertBox{border: 1px solid #B1B1B1;position: absolute;bottom: 0px;width: 200px;left: 50%;margin-left: -100px; background-color: crimson;text-align: center;color: white;text-decoration: none;display: none;line-height:1.4rem;font-size:.9rem;}
    .qiu{background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAiCAYAAAA6RwvCAAAACXBIWXMAAAsTAAALEwEAmpwYAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAAB6JQAAgIMAAPn/AACA6QAAdTAAAOpgAAA6mAAAF2+SX8VGAAAEaklEQVR42rRYXWgcVRT+zr3LZjBgW2lp6GKlRPBFUSuKa5MQCWisBitYpX1QG6OgQfIgNTOz0mFLMzNrrSFg+iIVsbDBWGzFGrOpGNMQtagUpeCLgZpgfiRYools0sw9PnQ2LNOdzSbZnKfhnjPnfnO+c8+5ZwirENM0tyulngRQy8z3AtgJ4FYABGAWwBiAX4noohDiS9u2p0v1TaUY6br+EDO/DWAvAFmibw/A+Ugk0tHR0fHjuoAkEok7lpaW3gXwLNYnn2ua1pJMJmdWDcQwjD1KqbMAtqE8Mk5E+13XvVRIKUNAvKiUOuPzXy7ZBOCFmpqaayMjIzdRJQrkw2Gl1EcAouvZlYiuElEjEd0phGgCcM73+b6u668XpcYwjBql1LerSMhiQFpc1z0V8P+M/5EaEdXl07QcEcuytiil0iWA+AfAF0KIbiI6AuAEEfUA+CNg91/wRcdxzgLYBwDM/KllWVtzukjuIZvNfgDg9iJf+L0Q4lgsFvu6tbV1MaTO3KeUeoOZX2LmRgA9QZtUKjWo6/pxZk5ks9lTAJ5epsYwjLhS6rsQDP8S0Suu636yisJ3t+d5p6WUzbZtXw7qLcu6LZvNztz4Poq7rvuDAACllB7ic0wIEV8NCACwbfuKpmm1SqnXdF3fFdQnk8m/Acz4FBkAQD666XyacpGQUj5i2/aVtSZsZ2enNjU1dY6ITjuOkyYizlHoeV4uUtc1Taui9vb2QwA+LJATB13X7Vnv6TFNM+Z53m8ArhHRAADJzM8BqMwzaxZEFC8A4lI5QPg0/UlExwHsZOYWZj4UAAEielgw8+4CQI6VsaKioqLivULHOSfM/IAgolhgfa6qqupCOYEkk8l5AANFSsMOwcybA+sX29raFlBmIaILRSKyRQC4HnhhHBsgRDRWRL0kAEwG0P21EUBW8DshiGiiQLveCNlcJFoTAsBoYD22QRHZUUQ9KoioL4Auzsy0ATmyp4iuT0Sj0QyAbD5ywzAeLCeIwcFBAaApRJ2NRqMZ4Z/x/oCyrZxAMpnM88y8PUTdn0wm5wUASCmPAuC8qBwwTXN3OUB0d3dHAXSEpY6/940bmm3bl4konU+b53lpy7LWfYLGx8dPMvOukNxI5+4ry1dFKWXCn9ZyctfCwsIZy7Iq1wpC1/UEM78cop7197z58mya5hOe550P3O5/AbAvlUpdLRVAV1dXxeTk5Elmbg4xUVLKp2zb/qrgXDM8PPx7XV3dPDM/lrdcBeDV2traWxoaGn4eGhoK7UO9vb2yurr64Nzc3GfM/GiYnRDisOM4H6846RmG8aZS6p0Cc88CgG+IaMDvHdNEtEkpFQMQZ+YmAFuLBEsJId5yHOdEySOnT1NPGUv+rJTyQD4dK46cOZrq6+t7mHkbgHtK/XNQ6IgSUToSiey3bfundf2WME3zfs/zjgBoBKCVCCALoF9KebTQSLEmIHnzSOXi4uLjzLwXQLXfyHLNbMLv5KNE1BeNRjN+1S5J/h8AwabNSLlP5m4AAAAASUVORK5CYII=);background-size: 100% 100%;}


	
.image-popup.active .popup-image {
    display: block;
    max-width: 100vw;
    max-height: 100vh;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: auto;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 3000;
    background: #000;
}

.border-box a.refresh {
    right: 0;
    bottom: 0;
    font-size: 0.7em;
    color: #fff;
    background-color: #f90;
    padding: 2px;
    border-radius: 4px;
    margin-left: 4px;
    position: relative;
    bottom: 2px;
}	
	
	
        .lishi_background {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background-color: #fff;
            display: none; /* Default hidden */
            z-index: 998; /* Below lishi_nav and lottery-results */
        }
        .lishi_nav {
            position: fixed;
            top: 0;
            width: 480px;
            left: 50%;
            transform: translateX(-50%); /* Center horizontally */
            background-color: #4c9f26;
            padding: 0px;
            border-radius: 8px;
            margin-bottom: 15px;
            display: flex;
            justify-content: flex-start;
            align-items: center;
            z-index: 1000;
            box-sizing: border-box;
        }
        .lishi_nav ul {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
        }
        .lishi_nav li {
            padding: 8px 15px;
            color: #fff;
            cursor: pointer;
            font-size: 14px;
        }
        .lishi_nav li.active {
            background-color: #d9a43f;
            border-radius: 4px;
        }
        .lishi_nav li:hover {
            background-color: #d9a43f;
			 border-radius: 4px;
        }
        .lishi_close-btn {
            position: absolute;
            top: 0px;
            right: 0px;
            background-color: #ff4d4d;
            color: #fff;
            border: none;
            padding: 8px 12px;
            border-radius: 50px;
            cursor: pointer;
            font-size: 14px;
        }
        .lottery-results {
            position: fixed;
            top: 50px;
            width: 480px;
            left: 50%;
            transform: translateX(-50%);  
            max-height: calc(100vh - 70px);
            overflow-y: scroll;
            scrollbar-width: none;
            -ms-overflow-style: none;
            box-sizing: border-box;
            display: none;
            z-index: 999;
            background-color: #f4f4f4;
			background: url(../images/toolbj.jpg) no-repeat;
            background-size: cover;
        }
        .lottery-results::-webkit-scrollbar {
            display: none;
        }
        .lishi_lottery-row {
            margin-bottom: 10px;
            padding: 10px;
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            width: 100%;
            box-sizing: border-box;
			border: 1px solid #07c160;
        }
        .lishi_header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }
        .lishi_period {
            font-weight: bold;
            color: #333;
        }
        .lishi_date {
            color: #666;
        }
        .lishi_balls-container {
            display: flex;
            justify-content: space-around;
            align-items: center;
            margin-bottom: 5px;
        }
        .lishi_ball {
            display: inline-block;
            width: 38px;
            height: 38px;
            line-height: 42px;
            padding-top: 0px;
            text-align: center;
            border-radius: 50%;
            color: #000000;
            font-weight: bold;
            margin: 0 4px;
            background-size: cover;
            background-position: center;
        }
        .lishi_plus {
            display: inline-block;
            width: 30px;
            text-align: center;
            font-size: 20px;
            color: #333;
            vertical-align: middle;
        }
        .lishi_info-container {
            display: flex;
            justify-content: space-around;
            align-items: center;
        }
        .lishi_info {
            display: inline-block;
            width: 38px;
            font-size: 12px;
            color: #666;
            text-align: center;
            margin: 0 4px;
        }
        .lishi_info-placeholder {
            display: inline-block;
            width: 30px;
            margin: 0 4px;
        }	
	
	 
	 
	 
	 
	 
	  .ziliao_background {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #fff;
           display: none;
            z-index: 998; 
        }
        .ziliao_nav {
            position: fixed;
            top: 0;
            width: 480px;
            left: 50%;
            transform: translateX(-50%);
            background-color: #846000;
            padding: 0px;
            border-radius: 8px;
            margin-bottom: 15px;
            display: flex;
            justify-content: flex-start;
            align-items: center;
            z-index: 1000;
            box-sizing: border-box;
        }
        .ziliao_nav ul {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
        }
        .ziliao_nav li {
            padding: 8px 15px;
            color: #fff;
            cursor: pointer;
            font-size: 14px;
        }
        .ziliao_nav li.active {
            background-color: #007aff;
            border-radius: 4px;
        }
        .ziliao_nav li:hover {
            background-color: #007aff;
			 border-radius: 4px;
        }
.ziliao_close-btn {
    position: absolute;
    top: 0px;
    right: 0px;
    background-color: #000000;
    color: #fff;
    border: none;
    padding: 6px 10px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 14px;
}
        .tiezi-results {
            position: fixed;
            top: 50px;
            width: 480px;
            left: 50%;
            transform: translateX(-50%); 
            max-height: calc(100vh - 70px);
            overflow-y: scroll;
            scrollbar-width: none;
            -ms-overflow-style: none;
            box-sizing: border-box;
            display: none; 
            z-index: 999;
            background-color: #f4f4f4;
        }
      .tiezi-results::-webkit-scrollbar {
            display: none;
        }
        .tiezi-results img {
            width: 100%;
            max-width: 100%;
            height: auto;
            display: block;
        }
        .side h3 {
            text-align: center;
            font-size: 1.25rem;
            font-weight: bold;
            color: #1f2937;
            margin: 5px 0;
    background-color: #888439b0;
    border-radius: 8px;
        }
        .bbslies span {
    background-color: yellow;
}
        .bbslies {
            width: 100%;
            border-collapse: collapse;
        }
        .bbslies td {
            padding: 8px;
            border-bottom: 1px solid #e5e7eb;
            font-size: 14px;
            color: #1f2937;
			text-align: center;
        }
.bbslies td:nth-child(1) {
text-align: left;
    width: 15%;
}
		.bbslies td:nth-child(2) {
    white-space: normal;
    word-break: break-all;
    width: 67%;
    text-align: center;
}
.bbslies td:nth-child(3) {
text-align: right
    width: 18%;
}
		
        .bbslies tr:hover {
            background-color: #f9fafb;
        }
       
.inner {border: 1px solid #07c160;
		    border-radius: 8px;
			font-weight: bold;
			background: url(../images/bbsbj.jpg) no-repeat;
            background-size: cover;
		}
.bbslies td.contentdi {
    background-color: #07c160;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    padding: 1px;
    border-bottom: none;
    color: #ffffff;
}





.linkweb_container {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            z-index: 1000;
        }

        .linkweb_container.active {
            display: block;
        }

        .linkweb_overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: rgb(0 0 0 / 93%);
            z-index: 0;
        }

        .linkweb_close_button {
            position: absolute;
            top: 0px;
            right: 0px;
            width: 30px;
            height: 30px;
            background: #ff4d4f;
            color: #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 18px;
            z-index: 2;
        }

        .linkweb_dialog {
            position: absolute;
            top: 0px;
            left: 50%;
            transform: translateX(-50%);
            width: 480px;
            background: #fff;
            border: 1px solid #ccc;
            padding: 10px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
            border-radius: 10px;
            z-index: 1;
			background: url(../images/linkweb.jpg) no-repeat;
            background-size: cover;
        }

        .linkweb_section {
            margin-bottom: 20px;
        }

        .linkweb_title {
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 10px;
        }

        .linkweb_links {
            list-style: none;
            padding: 0;
            display: flex;
            flex-wrap: wrap;
        }

        .linkweb_links li {
            width: 25%;
            box-sizing: border-box;
            padding: 5px;
            text-align: center;
        }

        .linkweb_links a {
            display: inline-block;
            padding: 10px 0px;
            background: #a74287e3;
            color: #fff;
            text-decoration: none;
            border-radius: 4px;
            font-size: 14px;
            transition: background 0.3s;
            width: 100%;
            box-sizing: border-box;
        }

        .linkweb_links a:hover {
            background: #a1979ee3;
        }

        .linkweb_imglinks {
            list-style: none;
            padding: 0;
            display: flex;
            flex-wrap: wrap;
        }

        .linkweb_tuwen {
            width: 25%;
            text-align: center;
            box-sizing: border-box;
            padding: 5px;
        }

        .linkweb_tuwen a {
            text-decoration: none;
            display: block;
        }

        .linkweb_tuwen img {
            width: 95px;
            height: 50px;
            display: block;
            margin: 0 auto;
        }

        .linkweb_tuwen span {
            display: block;
            margin-top: 0px;
            font-size: 14px;
            color: #000;
            background: #f3f3f3;
            border-radius: 4px;
        }

        .linkweb_underline {
            width: 100%;
            height: 1px;
            background-color: #d3d0d0;
            margin: 5px 0;
        }









.chat_background {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.chat_username_form, .chat_reconnect_form, .chat_sensitive_form {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1001;
    justify-content: center;
    align-items: center;
}

.chat_username_container, .chat_reconnect_container, .chat_sensitive_container {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 300px;
}

.chat_username_input, .chat_reconnect_submit, .chat_sensitive_input {
    width: 90%;
    padding: 8px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

.chat_username_submit, .chat_reconnect_submit, .chat_sensitive_submit {
    background: #007aff;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.chat_index {
    width: 480px;
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    touch-action: none;
}

.chat_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0px;
    color: #fff;
    font-size: 16px;
	background: linear-gradient(135deg, #398881, #5a6a80);
}

.chat_exit_btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

.chat_title {
    font-size: 16px;
    font-weight: bold;
	margin-left: -40px;
}

.chat_online {
    font-size: 12px;
}

.chat_messages {
    flex: 1;
    padding: 8px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    background: #f9f9f9;
    font-size: 14px;
    touch-action: pan-y;
	background: url(../images/chatbj.jpg) no-repeat;
    background-size: cover;
}

.chat_messages::-webkit-scrollbar {
    width: 4px;
}

.chat_messages::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 2px;
}

.chat_messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat_message {
    max-width: 80%;
    margin: 2px 0;
    padding: 6px 8px;
    border-radius: 8px;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.chat_message_self {
    background: #57be63;
    color: #000;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chat_message_other {
    background: #f8f8f8;
    color: #000;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.chat_message_header {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 2px;
}

.chat_message_username {
    cursor: pointer;
    margin-right: 8px;
}

.chat_message_username::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 4px;
    vertical-align: middle;
    background-size: cover;
	margin-top: -5px;
}

.chat_message_username.android::before {
    background-image: url('../images/az.png');
}

.chat_message_username.ios::before {
    background-image: url('../images/pg.png');
}

.chat_message_username.desktop::before {
    background-image: url('../images/pc.png');
}

.chat_message_username.admin::before {
    background-image: url('../images/admin.png');
}

.chat_message_content {
    word-wrap: break-word;
    white-space: normal;
    font-size: 14px;
}
 .chat_message_content span{
     background-color: yellow;
 }
 .chat_message_content img{
  width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
 } 
.chat_footer {
    display: flex;
    align-items: center;
    padding: 6px;
    background: #fff;
    border-top: 1px solid #e0e0e0;
    position: relative;
}

.chat_emoji_btn, .chat_private_btn {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    margin: 0 3px;
    position: relative;
}

.chat_private_count {
    position: absolute;
    top: -8px;
    right: 10px;
    background: #ff3b30;
    color: #fff;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat_private_dropdown {
    position: absolute;
    bottom: 50px;
    left: 50px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    display: none;
    max-height: 150px;
    overflow-y: auto;
    z-index: 10;
}

.chat_private_dropdown::-webkit-scrollbar {
    width: 4px;
}

.chat_private_dropdown::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 2px;
}

.chat_private_dropdown::-webkit-scrollbar-track {
    background: transparent;
}

.chat_private_dropdown_item {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
}

.chat_private_dropdown_item:hover {
    background: #f0f0f0;
}

.chat_send_btn {
    background: none;
    border: none;
    cursor: pointer;
    margin: 0 8px;
    padding: 0;
}


.chat_send_btn.is-cooldown {
    opacity: 0.5; 
    cursor: not-allowed; 
}

.chat_send_icon {
    width: 24px;
    height: 24px;
}

.chat_input {
    flex: 1;
    border: none;
    outline: none;
    padding: 6px 10px;
    font-size: 14px;
    border-radius: 18px;
    background: #f0f0f0;
}

.chat_new_message_prompt {
    display: none;
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    background: #007aff;
    color: #fff;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.chat_join_prompt {
    display: none;
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    background: #a79c28;
    color: #000;
    padding: 0px 10px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 10;
}

@media (max-width: 480px) {
    body {
        width: 100%;
    }
    .chat_index, .chat_username_container, .chat_reconnect_container, .chat_sensitive_container {
        width: 100%;
    }
    .chat_index {
        height: 100%;
    }
    .chat_messages {
        font-size: 13px;
    }
    .chat_message_header {
        font-size: 11px;
    }
    .chat_message_content {
        font-size: 13px;
    }
    .chat_join_prompt {
        bottom: 50px;
    }
	.chat_new_message_prompt {
        top: 50px;
    }
}

.chat_emoji_layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); 
    z-index: 1002;
    display: none;
    justify-content: center;
    align-items: center;
}

.chat_emoji_content {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    padding: 12px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    max-width: 340px;
    width: auto;
}

.chat_emoji_content span {
    font-size: 24px;
    cursor: pointer;
    user-select: none;
} 











.top_tool {
    position: fixed;
    z-index: 999;
    height: 48px;
    width: 100%;
    max-width: 480px;
    background: #439A94;
    text-align: center;
}

.top_tool .title {
    position: absolute;
    top: 8px;
    right: 48px;
    left: 48px;
}

.top_tool .title h3 {
    color: #fff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .5);
    font-weight: 400;
    font-size: 24px;
}

.top_tool .icon span {
    position: absolute;
    width: 36px;
    height: 40px;
    color: #fff;
    background-image: url(../images/menuIcon.png);
    background-repeat: no-repeat;
    overflow: hidden;
    display: block;
    background-position: 0 0
}

.top_tool .icon span.menu {
    top: 3px;
    right: 8px;
    background-size: 36px auto;
    -webkit-background-size: 36px auto;
    background-position: 0 -56px
}

.top_tool .icon span.prev {
    top: 3px;
    left: 5px;
    background-size: 32px auto;
    -webkit-background-size: 32px auto;
    background-position: 0 -110px
}
.nullbox61 {
    height: 48px;
}

.box_tool {
    margin: 5px 0;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    background-color: #fff;
	width: 480px;	
}

.box_tool img {
    width: 100%;
    height: auto;
    max-width: 100%;
    vertical-align: middle;
}

.box_tool table {
    border-collapse: collapse;
    table-layout: auto;
}

.box_tool table th.title {
    height: 30px;
    border: 1px solid #e6e6e6;
    background: #f1f1f1;
    text-align: center;
    font-weight: 700;
    line-height: 30px;
}

.box_tool table td {
    padding: 6px;
    border: 1px solid #e6e6e6;
}

.box_tool table td.left {
    padding-right: 0;
    padding-left: 0;
    width: 50px;
    color: navy;
    text-align: center;
    font-size: 1.2rem;
}


.tmzs {
    padding: 6px;
}

.tmzs .anBtn {
    background: #fffef9;
}

.tmzs .anBtn .tmzsResult {
    padding: 3px;
    height: 163px;
    border: 1px solid #c9c9c9;
    border-radius: 5px;
	background: url(../images/toolbj.jpg) no-repeat;
    background-size: cover;
}

.tmzs .anBtn .tmzsResult .ball_box {
    float: left;
    display: inline-block;
    padding: 2px;
    width: 10%;
    text-align: center;
}

.tmzs .tmzsTable table {
    margin: 10px 0 2px 0;
    width: 100%;
    border: 1px solid #c9c9c9;
    border-collapse: collapse;
    text-align: center;
}

.tmzs .tmzsTable table tr.borTop {
    border-top: 1px solid #c9c9c9;
}

.tmzs .tmzsTable table tr.borBtm {
    border-bottom: 1px solid #c9c9c9;
}

.tmzs .tmzsTable table tr td {
    padding: 0 5px;
    text-align: center;
}

.tmzs .tmzsTable table tr.borBtm td>div {
    margin-bottom: 8px;
}

.tmzs .tmzsTable table tr td h3 {
    color: red;
    font-size: 16px;
}

.tmzs .tmzsTable table tr td span {
    display: inline-block;
    margin: 8px 0;
    width: 50%;
    height: 37px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #79c4be;
    color: #fff;
    font-size: 18px;
    line-height: 37px;
}

.tmzs .tmzsTable table tr td div {
    margin-top: 8px;
    width: 100%;
    height: 27px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #f6f6f6;
    font-size: 13px;
    line-height: 27px;
}

.tmzs .tmzsTable table tr td.borRgt {
    border-right: 1px solid #c9c9c9;
}

.tmzs .tmzsTable table tr td.borRgt div {
    margin-top: 6px;
    margin-bottom: 6px;
}

.tmzs .tmzsTable table tr td .hover {
    border: 1px solid #e57149;
    background-color: #e57149;
    color: #fff;
}

.blueBall,
.greenBall,
.redBall {
    display: inline-block;
    width: 27px;
    height: 27px;
    background: url(../images/ball.png) no-repeat 0 0;
    background-size: 55px 55px;
    color: #303030;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    line-height: 23px;
}

.greenBall {
    background-position: -28px 0;
}

.redBall {
    background-position: 0 -28px;
}
.tool_background {          
            position: fixed;
            top: 0;
            left: 10;
			height: 100vh;
            z-index: 1000;
			background: rgb(0 0 0 / 93%);
}


#rainContainer {
            width: 100%;
            height: 100vh;
            overflow: hidden;
            position: relative;
	background: url(../images/hbbj.jpg) no-repeat;
    background-size: cover
        }
        .redpacket {
            position: absolute;
            width: 50px; 
            height: 80px;
            background: url('../images/hongbao.png'); 
            background-size: cover;
            animation: fall linear 5s forwards; 
        }
        @keyframes fall {
            0% {
                transform: translateY(-100vh) rotate(0deg);
                opacity: 1;
            }
            100% {
                transform: translateY(100vh) rotate(360deg);
                opacity: 0.7;
            }
        }
#resultPopup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 360px;
    transform: translate(-50%, -50%);
    background-color: rgb(5 73 3 / 80%);
    color: white;
    padding: 20px 28px;
    border-radius: 10px;
    font-size: 24px;
    font-family: Arial, sans-serif;
    z-index: 1000;
}

   #barrage-tanmucontainer {
            width: 480px;
            height: 100vh;
            position: fixed;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            overflow: hidden;
            z-index: 2100;
            display: none;
            pointer-events: none;
        }
.barrage {
            position: absolute;
            color: #000000;
            white-space: nowrap;
            font-size: 14px;          
            background-color: rgba(255, 255, 255, 0.8);
            padding: 0px 8px;
            border-radius: 12px;
            transition: transform 8s linear;
            pointer-events: auto;
}			
	
@media (max-width: 600px) {
    body, main,
    .header,
    .slideshow,
    .image-nav,
    .popup-content,
    .popup-form,
	.container,
	.marquee,
	.kaijiang-nav,
	.lishi_nav,
	.lottery-results,
	.ziliao_nav,
	.tiezi-results,
	.tool_background,
	.box_tool,
	.top_tool,
    .footer {
        max-width: 100%;
    }
     .linkweb_dialog {
        width: 99% !important;
        left: 50%;
        transform: translateX(-50%);
    }

    .slideshow-container {
        height: 150px;
    }
	
    .marquee-content span {
        font-size: 14px;
    }
    .nav-item {
        padding: 8px 10px;
        font-size: 14px;
    }
    .footer-item {
        padding: 25px 6px 6px;
        font-size: 12px;
    }
    .footer-icon {
        height: 25px;
        top: 6px;
    }
    .upload-icon {
        width: 50px;
        height: 50px;
        top: -25px;
        border-radius: 17.5px;
    }
    .popup-image {
        max-height: 70vh;
    }
    .nav-button {
        padding: 12px 6px;
        font-size: 14px;
    }
    .close-button {
        font-size: 20px;
        padding: 10px;
        bottom: 2vh;
    }
    .form-button {
        padding: 6px 12px;
        font-size: 12px;
    }
    .issue-input {
        width: 120px;
        font-size: 12px;
    }
	
	.bbslies td:nth-child(1) {
    width: 18%;
    }
	.bbslies td:nth-child(2) {
    width: 62%;
    }
    .bbslies td:nth-child(3) {
    width: 20%;
    }	
}

  .loading {
            text-align: center;
            padding: 20px;
            font-size: 1.2em;
            color: #666;
        }