body {
    margin: 0;
    padding: 0;
    font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Microsoft YaHei", sans-serif;
    background-color: #f5f6f8;
    color: #333;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
.defensecontainer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 10px;
    box-sizing: border-box;
}
.defenseheader {
    background-color: #00a651;
    border-bottom: 2px solid #008744;
    position: sticky;
    top: 0;
    z-index: 999;
}
.defenseheader .defenseinner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    height: 56px;
}
.defenselogo img {
    height: 24px;
    vertical-align: middle;
    filter: brightness(0) invert(1);
}
.defensenav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}
.defensenav li a {
    color: #d2f2dc;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}
.defensenav li a:hover, .defensenav li a.defenseactive {
    color: #ffffff;
    border-bottom: 2px solid #ffffff;
    padding-bottom: 16px;
}
.defensenoticebar {
    background-color: #ffffff;
    border: 1px solid #e3e4e6;
    padding: 10px 15px;
    margin: 10px auto 20px;
    border-radius: 4px;
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
}
.defensenoticebar::before {
    content: "公告";
    background-color: #00a651;
    color: #fff;
    padding: 2px 6px;
    font-size: 11px;
    border-radius: 2px;
    margin-right: 10px;
}
.defensesectitle {
    font-size: 15px;
    font-weight: bold;
    color: #111;
    margin: 25px 0 15px;
    border-left: 3px solid #00a651;
    padding-left: 10px;
    text-transform: uppercase;
}
.defensesubcatbar {
    background: linear-gradient(135deg, #00a651, #00c25a);
    color: #fff;
    padding: 12px 15px;
    border-radius: 4px 4px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 14px;
}
.defensesubcatlinks {
    display: flex;
    gap: 10px;
    font-size: 11px;
    font-weight: normal;
    overflow-x: auto;
    white-space: nowrap;
}
.defensesubcatlinks span {
    border: 1px solid rgba(255,255,255,0.3);
    padding: 2px 6px;
    border-radius: 2px;
}
.defensegridmega {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    background: #ffffff;
    border: 1px solid #e3e4e6;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 25px;
}
.defensecardmega {
    text-decoration: none;
    text-align: center;
    display: block;
}
.defensecardmega img {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 2px;
    margin-bottom: 6px;
}
.defensetitlemega {
    font-size: 11px;
    color: #555;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.defensepricemega {
    color: #00a651;
    font-weight: bold;
    font-size: 11px;
    margin-top: 4px;
}
.defensegriddirectory {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}
.defensedircol {
    background: #ffffff;
    border: 1px solid #e3e4e6;
    border-radius: 4px;
    padding: 15px;
}
.defensedirtitle {
    font-size: 13px;
    font-weight: bold;
    color: #00a651;
    border-bottom: 1px solid #e3e4e6;
    padding-bottom: 10px;
    margin-bottom: 10px;
}
.defensedirrow {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px dashed #f0f0f0;
}
.defensedirrow:last-child {
    border-bottom: none;
}
.defensedirrow::before {
    content: "•";
    color: #00a651;
    font-weight: bold;
}
.defensedirname {
    font-size: 12px;
    color: #555;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
}
.defensegridtwo {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    background: #ffffff;
    border: 1px solid #e3e4e6;
    border-top: none;
    padding: 15px;
    border-radius: 0 0 4px 4px;
    margin-bottom: 25px;
}
.defensecardtwo {
    text-decoration: none;
    text-align: center;
    display: block;
}
.defensecardtwo img {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 2px;
    margin-bottom: 6px;
}
.defensetitletwo {
    font-size: 11px;
    color: #555;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.defensepricetwo {
    color: #00a651;
    font-weight: bold;
    font-size: 11px;
    margin-top: 4px;
}
.defensegridread {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}
.defensereadleft, .defensereadright {
    background: #ffffff;
    border: 1px solid #e3e4e6;
    border-radius: 4px;
    padding: 15px;
}
.defensereadrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #f0f0f0;
}
.defensereadrow:last-child {
    border-bottom: none;
}
.defensereadrow img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 2px;
    margin-right: 10px;
}
.defensereadname {
    font-size: 12px;
    color: #555;
    text-decoration: none;
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.defensedetailwrap {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-top: 20px;
}
.defensecard {
    background: #ffffff;
    border: 1px solid #e3e4e6;
    border-radius: 4px;
    padding: 20px;
}
.defenseprodtitle {
    font-size: 20px;
    font-weight: bold;
    color: #111;
    margin-bottom: 12px;
}
.defensemeta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #888;
    border-bottom: 1px dashed #e3e4e6;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.defensefield {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}
.defensefield label {
    width: 100px;
    font-size: 13px;
    color: #555;
}
.defensefield input, .defensefield select {
    flex: 1;
    height: 38px;
    border: 1px solid #e3e4e6;
    border-radius: 4px;
    padding: 0 10px;
    outline: none;
    box-sizing: border-box;
}
.defensefield input:focus {
    border-color: #00a651;
}
.defensebuybtn {
    width: 100%;
    height: 44px;
    background: #00a651;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}
.defensebuybtn:hover {
    background: #008744;
}
.defensefooter {
    background: #1a1a1a;
    border-top: 3px solid #00a651;
    padding: 30px 0;
    text-align: center;
    margin-top: 40px;
}
.defensefooterlinks {
    margin-bottom: 12px;
}
.defensefooterlinks a {
    color: #bbb;
    text-decoration: none;
    font-size: 13px;
    margin: 0 10px;
}
.defensefooterlinks a:hover {
    color: #ffffff;
}
.defensecopyright {
    color: #777;
    font-size: 11px;
}
.defenseorderbox {
    background: #ffffff;
    border: 1px solid #e3e4e6;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 12px;
}
.defensekami {
    color: #2fba2f;
    font-weight: bold;
}
@media (max-width: 768px) {
    .defensegridmega { grid-template-columns: repeat(3, 1fr); }
    .defensegriddirectory { grid-template-columns: 1fr; }
    .defensegridtwo { grid-template-columns: repeat(3, 1fr); }
    .defensegridread { grid-template-columns: 1fr; }
    .defensedetailwrap { grid-template-columns: 1fr; }
}