* { box-sizing: border-box; margin: 0; padding: 0; }
body { background-color: #f4f6f9; font-family: "PingFang SC", "Lantinghei SC", "Microsoft YaHei", sans-serif; color: #2c3e50; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
.stockwrap { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.stocktopbar { background: #1a2a3a; color: #a0b2c6; font-size: 13px; line-height: 34px; height: 34px; }
.stocktopbar .stockwrap { display: flex; justify-content: space-between; align-items: center; }
.stocksep { margin: 0 8px; color: #34495e; }
.stockheader { background: #ffffff; padding: 18px 0; border-bottom: 1px solid #e1e8ed; }
.stockheadflex { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.stocklogo img { height: 42px; max-width: 200px; object-fit: contain; display: block; }
.stocksearchform { display: flex; flex: 1; max-width: 450px; border: 2px solid #0091ea; border-radius: 4px; overflow: hidden; }
.stocksearchinput { flex: 1; border: none; padding: 0 14px; height: 34px; outline: none; font-size: 13px; color: #333; }
.stocksearchbtn { background: #0091ea; color: #ffffff; border: none; padding: 0 18px; height: 34px; cursor: pointer; font-size: 13px; font-weight: bold; }
.stocknavbar { background: #0091ea; height: 46px; }
.stocknavflex { display: flex; align-items: center; gap: 4px; overflow-x: auto; white-space: nowrap; }
.stocknavitem { color: #ffffff; padding: 0 18px; line-height: 46px; height: 46px; font-size: 14px; font-weight: bold; display: inline-block; transition: background 0.2s; }
.stocknavitem:hover, .stocknavitem.active { background: #0064b7; }
.stockmain { margin: 25px auto; }
.stockherocard { display: block; position: relative; border-radius: 6px; overflow: hidden; border: 1px solid #e1e8ed; margin-bottom: 25px; height: 240px; background: #1a2a3a; }
.stockherocard img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.stockheroinfo { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.85)); color: #ffffff; padding: 20px; display: flex; justify-content: space-between; align-items: flex-end; }
.stockherotitle { font-size: 18px; font-weight: bold; }
.stockheroprice { color: #ffeb3b; font-size: 20px; font-weight: bold; }
.stocksec { background: #ffffff; border-radius: 8px; border: 1px solid #e1e8ed; padding: 18px; margin-bottom: 25px; }
.stocksectitle { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid #0091ea; padding-bottom: 8px; margin-bottom: 15px; }
.stocksectitle span { font-size: 15px; font-weight: bold; color: #0091ea; }
.stockmore { font-size: 12px; color: #7f8c8d; }
.stockmore:hover { color: #0091ea; }
.stocksplit2 { display: grid; grid-template-columns: 1fr 320px; gap: 20px; }
@media (max-width: 992px) { .stocksplit2 { grid-template-columns: 1fr; } }
.stockrowlist { display: flex; flex-direction: column; gap: 10px; }
.stockrowitem { display: flex; gap: 12px; align-items: center; background: #fafbfc; border: 1px solid #eef2f5; border-radius: 6px; padding: 8px 12px; }
.stockrowimg { width: 48px; height: 48px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.stockrowinfo { flex: 1; overflow: hidden; }
.stockrowtitle { font-size: 13px; font-weight: bold; color: #2c3e50; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-bottom: 4px; }
.stockrowprice { color: #e53e3e; font-size: 13px; font-weight: bold; }
.stockfeaturedright { border: 1px solid #e1e8ed; border-radius: 6px; overflow: hidden; position: relative; height: 100%; min-height: 200px; }
.stockfeaturedright img { width: 100%; height: 100%; object-fit: cover; }
.stockfeaturedinfo { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,0.75); color: #fff; padding: 10px; text-align: center; }
.stockgrid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 768px) { .stockgrid4 { grid-template-columns: repeat(2, 1fr); } }
.stockiconcard { border: 1px solid #eef2f5; border-radius: 6px; padding: 12px; text-align: center; background: #fafbfc; transition: transform 0.2s; }
.stockiconcard:hover { transform: translateY(-3px); border-color: #0091ea; }
.stockiconimg { width: 44px; height: 44px; object-fit: cover; border-radius: 50%; margin: 0 auto 8px auto; display: block; border: 1px solid #d1e9fa; }
.stockicontitle { font-size: 12px; font-weight: bold; color: #333; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-bottom: 4px; }
.stockwidebanner { display: block; border-radius: 6px; overflow: hidden; border: 1px solid #e1e8ed; margin-bottom: 25px; height: 100px; position: relative; background: #263238; }
.stockwidebanner img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }
.stockwideinfo { position: absolute; inset: 0; display: flex; justify-content: space-between; align-items: center; padding: 0 25px; color: #fff; }
.stockgrid7 { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
@media (max-width: 1200px) { .stockgrid7 { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .stockgrid7 { grid-template-columns: repeat(2, 1fr); } }
.stockcard { background: #ffffff; border: 1px solid #e1e8ed; border-radius: 6px; padding: 10px; text-align: center; transition: transform 0.2s, border-color 0.2s; display: flex; flex-direction: column; justify-content: space-between; }
.stockcard:hover { transform: translateY(-3px); border-color: #0091ea; }
.stockimgbox { width: 100%; height: 95px; overflow: hidden; background: #fafafa; border-radius: 4px; margin-bottom: 8px; display: flex; align-items: center; justify-content: center; }
.stockimgbox img { max-width: 100%; max-height: 85px; object-fit: contain; }
.stocktitle { font-size: 12px; font-weight: bold; color: #2c3e50; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-bottom: 4px; }
.stockprice { color: #e53e3e; font-size: 13px; font-weight: bold; }
.stocktextgrid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (max-width: 768px) { .stocktextgrid2 { grid-template-columns: 1fr; } }
.stockcardbox { background: #ffffff; border-radius: 8px; border: 1px solid #e1e8ed; padding: 30px; max-width: 650px; margin: 0 auto; }
.stockfooter { background: #1a2a3a; color: #a0b2c6; padding: 25px 0; text-align: center; font-size: 13px; margin-top: 40px; border-top: 2px solid #0091ea; }
.stockfooter a { color: #ffffff; margin-bottom: 6px; display: inline-block; }
.stockfooter p { color: #7f8c8d; font-size: 12px; margin-top: 4px; }
