* { box-sizing: border-box; margin: 0; padding: 0; min-width: 0; }
body { background-color: #0b131a; color: #e0f2fe; font-family: system-ui, -apple-system, sans-serif; line-height: 1.6; font-size: 14px; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: all 0.2s ease; }
img { max-width: 100%; height: auto; display: block; }

.bld-nav-wrap { background: #111c26; border-bottom: 1px solid #1e3245; width: 100%; position: sticky; top: 0; z-index: 1000; }
.bld-nav-inner { max-width: 1240px; margin: 0 auto; height: 60px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; }
.bld-logo { height: 26px; }
.bld-menu { display: flex; list-style: none; gap: 20px; align-items: center; }
.bld-menu a { color: #67849e; font-weight: 500; font-size: 13px; }
.bld-menu a:hover, .bld-menu a.active { color: #38bdf8; }

.bld-container { max-width: 1240px; margin: 30px auto; padding: 0 20px; min-height: 75vh; }
.bld-frame { display: flex; flex-direction: row-reverse; gap: 24px; }
.bld-sidebar { width: 230px; flex-shrink: 0; display: flex; flex-direction: column; gap: 10px; }
.bld-side-card { background: #111c26; border: 1px solid #1e3245; border-radius: 6px; padding: 16px; box-shadow: 0 4px 16px rgba(0,0,0,0.4); }
.bld-side-link { display: block; padding: 10px 14px; border-radius: 6px; color: #67849e; font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.bld-side-link:hover, .bld-side-link.active { background: rgba(56, 189, 248, 0.12); color: #38bdf8; }
.bld-main { flex: 1; min-width: 0; }

.bld-notice { background: #111c26; border: 1px solid #1e3245; border-left: 3px solid #38bdf8; border-radius: 6px; padding: 14px 20px; margin-bottom: 24px; font-size: 13px; color: #67849e; box-shadow: 0 4px 16px rgba(0,0,0,0.4); }
.bld-cat-title { font-size: 16px; font-weight: 700; color: #e0f2fe; margin: 25px 0 15px; display: flex; align-items: center; gap: 10px; }
.bld-cat-title::before { content: ""; width: 6px; height: 14px; background: #38bdf8; border-radius: 2px; }

.bld-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 30px; }
.bld-card { background: #111c26; border: 1px solid #1e3245; border-radius: 6px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 4px 16px rgba(0,0,0,0.4); transition: transform 0.2s, border-color 0.2s; }
.bld-card:hover { transform: translateY(-2px); border-color: #38bdf8; }
.bld-card-top { display: flex; gap: 14px; margin-bottom: 14px; }
.bld-card-img { width: 56px; height: 56px; border-radius: 6px; background: #0b131a; border: 1px solid #1e3245; padding: 6px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.bld-card-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.bld-card-info { flex: 1; min-width: 0; }
.bld-card-name { font-size: 13px; font-weight: 600; color: #e0f2fe; line-height: 1.4; height: 36px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.bld-card-tag { display: inline-block; font-size: 10px; padding: 1px 6px; border-radius: 2px; background: rgba(56, 189, 248, 0.12); color: #38bdf8; margin-top: 4px; }
.bld-card-btm { display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed #1e3245; padding-top: 12px; margin-top: 4px; }
.bld-price { font-size: 16px; font-weight: 700; color: #38bdf8; }
.bld-buy-btn { background: #38bdf8; color: #0b131a; padding: 4px 14px; border-radius: 6px; font-size: 12px; font-weight: 600; flex-shrink: 0; }

.bld-table-wrap { background: #111c26; border: 1px solid #1e3245; border-radius: 6px; overflow: hidden; margin-top: 15px; margin-bottom: 30px; }
.bld-table-row { display: flex; align-items: center; padding: 14px 20px; border-bottom: 1px solid #1e3245; justify-content: space-between; font-size: 13px; }
.bld-table-row:last-child { border-bottom: none; }
.bld-table-row:hover { background: rgba(56, 189, 248, 0.12); }

.bld-dt-panel { background: #111c26; border: 1px solid #1e3245; border-radius: 6px; padding: 30px; display: flex; gap: 30px; margin-bottom: 24px; box-shadow: 0 4px 16px rgba(0,0,0,0.4); }
.bld-dt-media { width: 220px; flex-shrink: 0; background: #0b131a; border: 1px solid #1e3245; border-radius: 6px; padding: 20px; display: flex; align-items: center; justify-content: center; }
.bld-dt-form { flex: 1; min-width: 0; }
.bld-dt-title { font-size: 18px; font-weight: 700; color: #e0f2fe; margin-bottom: 12px; }
.bld-dt-price-bar { background: #0b131a; border: 1px solid #1e3245; border-radius: 6px; padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.bld-input-box { width: 100%; height: 42px; border: 1px solid #1e3245; border-radius: 6px; padding: 0 14px; background: #111c26; color: #e0f2fe; margin-bottom: 14px; font-size: 13px; outline: none; }
.bld-input-box:focus { border-color: #38bdf8; }
.bld-btn-submit { width: 100%; height: 44px; background: #38bdf8; color: #0b131a; border: none; border-radius: 6px; font-size: 14px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; }

.bld-desc-card { background: #111c26; border: 1px solid #1e3245; border-radius: 6px; padding: 25px; font-size: 13px; line-height: 1.8; color: #67849e; }
.bld-desc-card p { margin-bottom: 14px; }

.bld-query-box { max-width: 560px; margin: 40px auto; background: #111c26; border: 1px solid #1e3245; border-radius: 6px; padding: 30px; box-shadow: 0 4px 16px rgba(0,0,0,0.4); }
.bld-query-tab { display: flex; border-bottom: 1px solid #1e3245; margin-bottom: 24px; }
.bld-query-tab a { flex: 1; text-align: center; padding: 10px 0; font-size: 13px; color: #67849e; font-weight: 600; border-bottom: 2px solid transparent; }
.bld-query-tab a.active { color: #38bdf8; border-bottom-color: #38bdf8; }

.bld-footer { background: #111c26; border-top: 1px solid #1e3245; padding: 35px 20px; margin-top: 60px; text-align: center; font-size: 12px; color: #67849e; }
.bld-ft-links { display: flex; justify-content: center; gap: 20px; margin-bottom: 12px; }

@media (max-width: 960px) {
  .bld-frame { flex-direction: column !important; }
  .bld-sidebar { width: 100%; }
  .bld-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .bld-dt-panel { flex-direction: column; align-items: center; }
  .bld-dt-media { width: 100%; max-width: 240px; }
}
@media (max-width: 560px) {
  .bld-grid { grid-template-columns: 1fr !important; }
  .bld-nav-inner { padding: 0 15px; }
  .bld-container { padding: 0 12px; margin-top: 15px; }
}
