* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    background-color: #f8f9fb;
    color: #2d3436;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}
a {
    color: inherit;
    text-decoration: none;
}
.threadcontainer {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 15px;
}
.threadheader {
    background: #ffffff;
    border-bottom: 2px solid #ff3f34;
}
.threadtopbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}
.threadlogo img {
    max-height: 38px;
    max-width: 100%;
    object-fit: contain;
}
.threadnav {
    display: flex;
    align-items: center;
    gap: 15px;
}
.threadnavlink {
    font-size: 15px;
    font-weight: 600;
    color: #2d3436;
    padding: 18px 12px;
    transition: color 0.2s;
}
.threadnavlink:hover, .threadnavlink.active {
    color: #ff3f34;
}
.threadsearchinput {
    height: 34px;
    padding: 0 12px;
    border: 1px solid #ff3f34;
    border-radius: 4px 0 0 4px;
    outline: none;
    font-size: 13px;
    width: 200px;
}
.threadsearchbtn {
    height: 34px;
    padding: 0 15px;
    background: #ff3f34;
    color: #ffffff;
    border: none;
    font-weight: 700;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}
.threadnotice {
    background: #ffffff;
    border-left: 4px solid #ff3f34;
    padding: 12px 18px;
    margin: 15px 0;
    border-radius: 4px;
    color: #555555;
    font-size: 13px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}
.threadherogrid {
    display: grid;
    grid-template-columns: 2fr 1.2fr;
    gap: 15px;
    margin-bottom: 20px;
}
.threadbox {
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    padding: 15px;
}
.threadboxtitle {
    font-size: 15px;
    font-weight: 700;
    color: #ff3f34;
    padding-bottom: 8px;
    border-bottom: 2px solid #ff3f34;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.threadheroimgbox {
    width: 100%;
    height: 220px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}
.threadheroimg {
    max-height: 180px;
    max-width: 85%;
    object-fit: contain;
}
.threadlayout2col {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
}
.threadgrid4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}
.threadgrid5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}
.threadcard {
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    padding: 8px;
    position: relative;
    overflow: hidden;
    transition: all 0.2s;
}
.threadcard:hover {
    border-color: #ff3f34;
    box-shadow: 0 4px 12px rgba(255,63,52,0.12);
}
.threadcardimg {
    width: 100%;
    height: 120px;
    object-fit: cover;
    margin-bottom: 8px;
    display: block;
    border-radius: 4px;
}
.threadcardimg.round {
    border-radius: 50%;
    height: 80px;
    width: 80px;
    margin: 0 auto 8px;
    object-fit: cover;
}
.threadcardtitle {
    font-size: 13px;
    font-weight: 600;
    color: #2d3436;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 6px;
}
.threadprice {
    color: #ff3f34;
    font-weight: 700;
}
.threadbadge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: #ff3f34;
    color: #ffffff;
    font-size: 10px;
    padding: 1px 4px;
    border-radius: 2px;
}
.threadautotag {
    font-size: 10px;
    background: #ffeef0;
    color: #ff3f34;
    padding: 2px 6px;
    border-radius: 3px;
    border: 1px solid #ff3f34;
}
.threadsidebox {
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    padding: 15px;
    margin-bottom: 20px;
}
.threadsidetitle {
    font-size: 14px;
    font-weight: 700;
    color: #ff3f34;
    padding-bottom: 8px;
    border-bottom: 2px solid #ff3f34;
    margin-bottom: 12px;
}
.threadrankitem {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed #f1f2f6;
    font-size: 13px;
}
.threadrankitem:last-child {
    border-bottom: none;
}
.threadranknum {
    width: 20px;
    height: 20px;
    background: #cbd5e0;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    margin-right: 10px;
}
.threadranknum.top3 {
    background: #ff3f34;
}
.threadfooter {
    background: #ffffff;
    color: #95a5a6;
    padding: 30px 0;
    margin-top: 40px;
    text-align: center;
    font-size: 13px;
    border-top: 1px solid #e2e8f0;
}
.threadfooterlinks {
    margin-bottom: 10px;
}
.threadfooterlinks a {
    color: #2d3436;
}
.threadcardbox {
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    padding: 25px;
    margin-bottom: 20px;
}
.threadformgroup {
    margin-bottom: 15px;
}
.threadlabel {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #2d3436;
}
.threadinput {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #2d3436;
    border-radius: 4px;
    outline: none;
}
.threadbtn {
    display: inline-block;
    width: 100%;
    height: 42px;
    line-height: 42px;
    text-align: center;
    background: #ff3f34;
    color: #ffffff;
    border-radius: 4px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}
.threadtabs {
    display: flex;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 20px;
}
.threadtabitem {
    padding: 10px 20px;
    font-weight: 600;
    color: #95a5a6;
}
.threadtabitem.active {
    color: #ff3f34;
    border-bottom: 2px solid #ff3f34;
    margin-bottom: -2px;
}
@media (max-width: 992px) {
    .threadherogrid {
        grid-template-columns: 1fr;
    }
    .threadlayout2col {
        grid-template-columns: 1fr;
    }
    .threadgrid4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .threadgrid5 {
        grid-template-columns: repeat(3, 1fr);
    }
}
