* { box-sizing: border-box; margin: 0; padding: 0; min-width: 0; }
body { background-color: #050a15; color: #edf2f7; font-family: Tahoma, Arial, 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; }

.cln-nav-wrap { background: #0c1529; border-bottom: 1px solid #19294d; width: 100%; position: sticky; top: 0; z-index: 1000; }
.cln-nav-inner { max-width: 1240px; margin: 0 auto; height: 60px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; }
.cln-logo { height: 26px; }
.cln-menu { display: flex; list-style: none; gap: 20px; align-items: center; }
.cln-menu a { color: #718096; font-weight: 500; font-size: 13px; }
.cln-menu a:hover, .cln-menu a.active { color: #3b82f6; }

.cln-container { max-width: 1240px; margin: 30px auto; padding: 0 20px; min-height: 75vh; }
.cln-frame { display: flex; flex-direction: row; gap: 24px; }
.cln-sidebar { width: 240px; flex-shrink: 0; display: flex; flex-direction: column; gap: 10px; }
.cln-side-card { background: #0c1529; border: 1px solid #19294d; border-radius: 6px; padding: 16px; box-shadow: 0 6px 20px rgba(0,0,0,0.5); }
.cln-side-link { display: block; padding: 10px 14px; border-radius: 6px; color: #718096; font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.cln-side-link:hover, .cln-side-link.active { background: rgba(59, 130, 246, 0.12); color: #3b82f6; }
.cln-main { flex: 1; min-width: 0; }

.cln-notice { background: #0c1529; border: 1px solid #19294d; border-left: 3px solid #3b82f6; border-radius: 6px; padding: 14px 20px; margin-bottom: 24px; font-size: 13px; color: #718096; box-shadow: 0 6px 20px rgba(0,0,0,0.5); }
.cln-cat-title { font-size: 16px; font-weight: 700; color: #edf2f7; margin: 25px 0 15px; display: flex; align-items: center; gap: 10px; }
.cln-cat-title::before { content: ""; width: 6px; height: 14px; background: #3b82f6; border-radius: 2px; }

.cln-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 30px; }
.cln-card { background: #0c1529; border: 1px solid #19294d; border-radius: 6px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 6px 20px rgba(0,0,0,0.5); transition: transform 0.2s, border-color 0.2s; }
.cln-card:hover { transform: translateY(-2px); border-color: #3b82f6; }
.cln-card-top { display: flex; gap: 14px; margin-bottom: 14px; }
.cln-card-img { width: 56px; height: 56px; border-radius: 6px; background: #050a15; border: 1px solid #19294d; padding: 6px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.cln-card-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cln-card-info { flex: 1; min-width: 0; }
.cln-card-name { font-size: 13px; font-weight: 600; color: #edf2f7; line-height: 1.4; height: 36px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cln-card-tag { display: inline-block; font-size: 10px; padding: 1px 6px; border-radius: 2px; background: rgba(59, 130, 246, 0.12); color: #3b82f6; margin-top: 4px; }
.cln-card-btm { display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed #19294d; padding-top: 12px; margin-top: 4px; }
.cln-price { font-size: 16px; font-weight: 700; color: #3b82f6; }
.cln-buy-btn { background: #3b82f6; color: #050a15; padding: 4px 14px; border-radius: 6px; font-size: 12px; font-weight: 600; flex-shrink: 0; }

.cln-table-wrap { background: #0c1529; border: 1px solid #19294d; border-radius: 6px; overflow: hidden; margin-top: 20px; }
.cln-table-row { display: flex; align-items: center; padding: 14px 20px; border-bottom: 1px solid #19294d; justify-content: space-between; font-size: 13px; }
.cln-table-row:last-child { border-bottom: none; }
.cln-table-row:hover { background: rgba(59, 130, 246, 0.12); }

.cln-dt-panel { background: #0c1529; border: 1px solid #19294d; border-radius: 6px; padding: 30px; display: flex; gap: 30px; margin-bottom: 24px; box-shadow: 0 6px 20px rgba(0,0,0,0.5); }
.cln-dt-media { width: 220px; flex-shrink: 0; background: #050a15; border: 1px solid #19294d; border-radius: 6px; padding: 20px; display: flex; align-items: center; justify-content: center; }
.cln-dt-form { flex: 1; min-width: 0; }
.cln-dt-title { font-size: 18px; font-weight: 700; color: #edf2f7; margin-bottom: 12px; }
.cln-dt-price-bar { background: #050a15; border: 1px solid #19294d; border-radius: 6px; padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.cln-input-box { width: 100%; height: 42px; border: 1px solid #19294d; border-radius: 6px; padding: 0 14px; background: #0c1529; color: #edf2f7; margin-bottom: 14px; font-size: 13px; outline: none; }
.cln-input-box:focus { border-color: #3b82f6; }
.cln-btn-submit { width: 100%; height: 44px; background: #3b82f6; color: #050a15; border: none; border-radius: 6px; font-size: 14px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; }

.cln-desc-card { background: #0c1529; border: 1px solid #19294d; border-radius: 6px; padding: 25px; font-size: 13px; line-height: 1.8; color: #718096; }
.cln-desc-card p { margin-bottom: 14px; }

.cln-query-box { max-width: 560px; margin: 40px auto; background: #0c1529; border: 1px solid #19294d; border-radius: 6px; padding: 30px; box-shadow: 0 6px 20px rgba(0,0,0,0.5); }
.cln-query-tab { display: flex; border-bottom: 1px solid #19294d; margin-bottom: 24px; }
.cln-query-tab a { flex: 1; text-align: center; padding: 10px 0; font-size: 13px; color: #718096; font-weight: 600; border-bottom: 2px solid transparent; }
.cln-query-tab a.active { color: #3b82f6; border-bottom-color: #3b82f6; }

.cln-footer { background: #0c1529; border-top: 1px solid #19294d; padding: 35px 20px; margin-top: 60px; text-align: center; font-size: 12px; color: #718096; }
.cln-ft-links { display: flex; justify-content: center; gap: 20px; margin-bottom: 12px; }

@media (max-width: 960px) {
  .cln-frame { flex-direction: column !important; }
  .cln-sidebar { width: 100%; }
  .cln-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .cln-dt-panel { flex-direction: column; align-items: center; }
  .cln-dt-media { width: 100%; max-width: 240px; }
}
@media (max-width: 560px) {
  .cln-grid { grid-template-columns: 1fr !important; }
  .cln-nav-inner { padding: 0 15px; }
  .cln-container { padding: 0 12px; margin-top: 15px; }
}
