* { min-width: 0; box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; }
img:not([src]), img[src=""] { display: none !important; }
[style*="nowrap"], div[class*="title"], p[class*="title"], a[class*="title"] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

:root {
    --clb-primary: #ff385c;
    --clb-primary-dark: #d90b36;
    --clb-light: #f7f7f9;
    --clb-dark: #222222;
    --clb-text: #484848;
    --clb-border: #ebebeb;
    --clb-shadow: 0 6px 16px rgba(0,0,0,0.06);
    --clb-radius: 24px;
}

body { background: #ffffff; color: var(--clb-text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 14px; line-height: 1.6; }
a { color: inherit; text-decoration: none; transition: 0.2s; }
a:hover { color: var(--clb-primary); }

.clb-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.clb-header { border-bottom: 1px solid var(--clb-border); position: sticky; top: 0; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); z-index: 100; }
.clb-header-inner { display: flex; justify-content: space-between; align-items: center; height: 70px; }
.clb-logo { font-size: 20px; font-weight: 800; color: var(--clb-primary); display: flex; align-items: center; gap: 8px; }
.clb-nav { display: flex; gap: 24px; font-weight: 600; color: var(--clb-dark); }
.clb-nav a:hover { color: var(--clb-primary); }

.clb-notice { background: var(--clb-light); padding: 12px 0; text-align: center; font-size: 13px; color: var(--clb-dark); font-weight: 500; border-bottom: 1px solid var(--clb-border); }

.clb-sec-title { margin: 40px 0 20px; font-size: 22px; font-weight: 800; color: var(--clb-dark); }

/* Bento 核心网格布局 */
.clb-bento-hero { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 20px; }
.clb-bento-2x2 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 20px; }
.clb-bento-4col { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 20px; }
.clb-bento-asym { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.clb-bento-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 20px; }

/* 统一卡片样式 */
.clb-card { background: #fff; border: 1px solid var(--clb-border); border-radius: var(--clb-radius); padding: 20px; box-shadow: var(--clb-shadow); transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; justify-content: space-between; }
.clb-card:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.clb-card-img { width: 100%; height: 120px; background: var(--clb-light); border-radius: 16px; margin-bottom: 15px; display: flex; align-items: center; justify-content: center; }
.clb-card-img img { max-width: 90px; max-height: 90px; object-fit: contain; }
.clb-card-title { font-size: 15px; font-weight: 700; color: var(--clb-dark); margin-bottom: 8px; line-height: 1.4; height: 42px; overflow: hidden; }
.clb-card-price { font-size: 18px; font-weight: 800; color: var(--clb-primary); }
.clb-btn { display: inline-block; background: var(--clb-primary); color: #fff; padding: 8px 16px; border-radius: 20px; font-size: 13px; font-weight: 600; text-align: center; }
.clb-btn:hover { background: var(--clb-primary-dark); color: #fff; }

.clb-list-item { display: flex; align-items: center; gap: 15px; padding: 15px; background: #fff; border: 1px solid var(--clb-border); border-radius: 16px; margin-bottom: 15px; box-shadow: var(--clb-shadow); }
.clb-list-item img { width: 50px; height: 50px; background: var(--clb-light); border-radius: 10px; padding: 5px; }

/* 详情与内页 */
.clb-panel { max-width: 800px; margin: 50px auto; background: #fff; border-radius: var(--clb-radius); box-shadow: var(--clb-shadow); padding: 40px; border: 1px solid var(--clb-border); }
.clb-input { width: 100%; padding: 14px 20px; border: 1px solid var(--clb-border); border-radius: 12px; font-size: 14px; margin-bottom: 20px; outline: none; transition: border-color 0.2s; }
.clb-input:focus { border-color: var(--clb-primary); }
.clb-desc { margin-top: 40px; padding: 30px; background: var(--clb-light); border-radius: 20px; font-size: 14px; line-height: 1.8; color: #555; }
.clb-desc p { margin-bottom: 16px; word-break: break-word; }

.clb-footer { text-align: center; padding: 50px 0; border-top: 1px solid var(--clb-border); margin-top: 60px; color: var(--clb-text-muted); font-size: 13px; }
.clb-footer a { margin: 0 10px; font-weight: 600; }

@media (max-width: 900px) {
    .clb-bento-hero, .clb-bento-2x2, .clb-bento-4col, .clb-bento-asym, .clb-bento-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
    .clb-bento-hero, .clb-bento-2x2, .clb-bento-4col, .clb-bento-asym, .clb-bento-row { grid-template-columns: 1fr; }
}
