* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft Yahei', Arial, sans-serif;
}

body {
    background: #fff;
    min-height: 100vh;
    padding: 0;
    overflow-x: hidden;
}

.header {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: relative;
    z-index: 999;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
}
.octive{
    background: #2896F0;
    padding: 6px 10px; border-radius: 5px;
}
.menu-btn {
    width: 30px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    cursor: pointer;
    display: none;
}

.menu-btn span {
    width: 100%;
    height: 3px;
    background: #333;
    border-radius: 2px;
}
.search-box {
color: #666;
margin-bottom:15px;
max-width: 940px;
margin-left: auto;
margin-right: auto;;border-bottom: 1px solid #ddd;padding-bottom:12px;
}
.search-box a {
font-size: 16px;
transition: all 0.3s ease;
cursor: pointer;
position: relative;
padding-left: 14px;
text-decoration: none;
padding-right: 28px;
display: inline-block;
background: url(https://www.wpsin.com/style/images/hot.gif) no-repeat right center;
background-size: 26px 13px;
}

.search-box a:hover::after {
color: #fa5555;
}
.title-box{display:none}
@keyframes blink-dot {
0%, 100% { opacity: 1; }
50% { opacity: 0.2; }
}
.search-box a::before {
content: "";
width: 8px;
height: 8px;
background: red;
border-radius: 50%;
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
animation: blink-dot 2s infinite;
}
.search-box a::after {
color:#ff0000;
content: "网购优惠券查询 - 下单查一查 购物省又省!";
}
.header-title {
    font-size: 22px;
    color: #333;
    text-align: center;
    flex: 1;
    margin: 0 20px;
}

.nav-bar {
    background: #2175d9;
    padding: 14.5px 20px;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 5px;
    justify-content: flex-start;
    max-width: 939.9px;
    margin: 0 auto;
}

.nav-list li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;padding: 6px 10px; 
}

.nav-list li a:hover {
   background: #2896F0;
   padding: 6px 10px; border-radius: 5px; 
}

.wrap {
    width: 1000px;
    margin: 0 auto;
    padding:10px 30px;
}

.input-wrap {
    margin-bottom: 20px;
}

.input-title {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

#input-box {
    width: 100%;
    height: 203px;
    min-height: 100px;
    max-height: 500px;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 28px;
    line-height: 1.5;
    resize: vertical;
    transition: border-color 0.3s ease;
}

#input-box:focus {
    outline: none;
    border-color: #4361ee;
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

#input-box::placeholder {
    font-size: 16px;
    color: #999;
    opacity: 1;
    line-height: 1.5;
}

.btn-wrap {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

button {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-blue {
    background: #4361ee;
    color: white;
}

.btn-blue:hover {
    background: #3a56d4;
}

.btn-gray {
    background: #f8f9fa;
    color: #333;
}

.btn-gray:hover {
    background: #e9ecef;
}

.result-wrap {
    background: #f8f9fa;
    padding: 1px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
}

.result-wrap.show {
    display: block;
}

.table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 6px;
    overflow: hidden;
    min-width: 600px;
}

.data-table th, .data-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.data-table th {
    background: #f9f9fa;
    font-size: 16px;
    color: #666;
    font-weight: 600;
}

.data-table th:nth-child(1), .data-table td:nth-child(1) {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.data-table th:nth-child(2), .data-table td:nth-child(2) {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.data-table th:nth-child(3), .data-table td:nth-child(3) {
    text-align: center;
}

.text-left {
    font-size: 20px;
    color: #333;
}
.text-right {
    font-size: 26px;
    color: #222;
}
.error-text {
    color: #dc3545;
    font-weight: 600;
}

.copy-btn {
    padding: 8px 12px;
    font-size: 14px;
    background: #4361ee;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease; 
}

.copy-btn:hover {
    background: #3a56d4;
}

.copy-btn.error {
    background: #dc3545;
    cursor: not-allowed;
}

.copy-btn.error:hover {
    background: #dc3545;
    transform: none;
}

.radio-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: normal;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    font-size: 14px;
    position: relative;
}

.radio-item input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: #4361ee;
    display: none;
}

.radio-dot {
    width: 16px;
    height: 16px;
    border: 2px solid #4361ee;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
}

.radio-item input[type="radio"]:checked + .radio-dot::after {
    content: '';
    width: 8px;
    height: 8px;
    background: #4361ee;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.radio-item label {
    margin: 0;
    font-weight: normal;
    cursor: pointer;
    margin-left: 5px;
}

.demo-wrap {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.demo-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
    text-align: left;
}

.grid-row {
    display: flex;
    flex-wrap: wrap;
    gap: 110px;
    margin-bottom: 30px;margin-left: 30px;
    justify-content: flex-start;
}

.index {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80px;
}

.big-text {
    width: 130px;
    height: 130px;
    border: 1px solid #ccc;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    font-weight: 500;
    margin-bottom: 8px;
    background: #fff;
}

.small-text {
    font-size: 26px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 5px;
}

.red-text {
    color: #d32f2f;
    font-weight: 600;
    font-size: 26px;
}

.sub-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 20px 0 15px 0;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.demo-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 20px;
}

.demo-table th,
.demo-table td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.demo-table th {
    background: #f9f9fa;
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.demo-table td {
    font-size: 15px;
    color: #555;
}

.demo-table td:nth-child(2) {
    color: #2175d9;
    font-weight: 500;
}

.demo-table tr:last-child td {
    border-bottom: none;
}

.intro-wrap {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.intro-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.intro-content {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.intro-content p {
    margin-bottom: 10px;
}

.intro-content ul {
    margin-left: 20px;
    margin-bottom: 10px;
}

.intro-content li {
    margin-bottom: 8px;
}

.record-wrap {
    margin: 25px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.history-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.record-list {
    font-size: 16px;
    color: #555;
    line-height: 1.8; word-wrap: break-word; 
white-space: normal;
}

.record-link {
    color: #2175d9;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease; 
}

.record-link:hover {
    color: #ff0000;
    text-decoration: none;
}

.auto-convert-tip {
    background: #e8f4fd;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #2175d9;
}

.auto-convert-tip h3 {
    font-size: 18px;
    color: #1756b8;
    margin-bottom: 10px;
}

.auto-convert-tip p {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

.auto-convert-result {
    color: #d32f2f;
    font-weight: 600;
    font-size: 18px;
}

.footer-box {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 14px;
    background: #f8f9fa;
    margin-top: 30px;
}
.link-text{
    color: #666;  text-decoration: none;
}
.link-text:hover{
    color: #ff0000;  
}

.tip-box {
    position: fixed;
    top: 36%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: rgba(46, 204, 113, 0.95);
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
}

.tip-box.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: #fff;
    box-shadow: 2px 0 10px rgba(0,0,0,0.2);
    padding-top: 70px;
    transition: left 0.3s ease;
    z-index: 9999;
}

.mobile-menu.active {
    left: 0;
}

.mobile-nav-list {
    list-style: none;
    padding: 0 20px;
}

.mobile-nav-list li {
    border-bottom: 1px solid #eee;
}

.mobile-nav-list li a {
    display: block;
    padding: 15px 0;
    color: #333;
    text-decoration: none;
    font-size: 16px;
}

.mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9998;
}

.mask.active {
    opacity: 1;
    visibility: visible;
}

.top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #4361ee;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
}

.top-btn.show {
    opacity: 1;
    visibility: visible;
}

.top-btn:hover {
    background: #3a56d4;
}

@media (max-width: 1024px) {
    .wrap {
        width: 100%;
        padding: 20px;
    }

    .menu-btn {
        display: flex;
    }

    .nav-bar {
        display: none;
    }
    
    .data-table th, .data-table td {
        padding: 12px;
    }
    
    .input-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    #input-box {
        font-size: 22px;
        line-height: 1.5;
    }
    
    #input-box::placeholder {
        font-size: 16px;
    }
    
    .text-left, .text-right {
        font-size: 18px;
    }
    
    .copy-btn {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .tip-box {
        padding: 12px 24px;
        font-size: 16px;
        min-width: 200px;
    }
    
    .grid-row {
        gap: 15px;
    }
    
    .index {
        width: 60px;
    }
    
    .big-text {
        width: 55px;
        height: 55px;
        font-size: 32px;
    }
    
    .small-text {
        font-size: 14px;
    }
    
    .red-text {
        font-size: 16px;
    }
    
    .intro-content {
        font-size: 14px;
    }

    .demo-table th,
    .demo-table td {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .top-btn {
        width: 45px;
        height: 45px;
        font-size: 20px;
        bottom: 20px;
        right: 20px;
    }
    
    .record-wrap {
        padding: 15px;
    }
    
    .history-title {
        font-size: 16px;
    }
    
    .record-list {
        font-size: 14px;
    }
    
    .auto-convert-tip {
        padding: 12px;
    }
    
    .auto-convert-tip h3 {
        font-size: 16px;
    }
    
    .auto-convert-tip p {
        font-size: 14px;
    }
    
    .auto-convert-result {
        font-size: 16px;
    }
} 
.zhuan{
    display: none;
}
h1 {font-size: 36px;margin-top: 20px;margin-bottom: 10px;text-align: center;}
h2 {font-size: 20px;margin-top: 20px;margin-bottom: 10px;text-align: left;}