* { 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 {
    --bg: #0f172a;
    --card: #1e293b;
    --border: #334155;
    --text: #f8fafc;
    --text-sub: #94a3b8;
    --accent: #0ea5e9;
}

body { background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 13px; line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; transition: 0.2s; }
a:hover { color: var(--accent); }

.cry-container { max-width: 1220px; margin: 0 auto; padding: 0 15px; }
.cry-header { background: var(--card); border-bottom: 1px solid var(--border); padding: 15px 0; }
.cry-header-inner { display: flex; justify-content: space-between; align-items: center; }
.cry-logo { font-size: 18px; font-weight: 800; color: var(--accent); letter-spacing: 1px; }
.cry-nav { display: flex; gap: 20px; font-weight: 600; font-size: 13px; }

.cry-notice { background: var(--card); border-bottom: 1px solid var(--border); padding: 8px 0; text-align: center; color: var(--accent); font-size: 12px; }

.cry-card { background: var(--card); border: 1px solid var(--border); border-radius: 6px; padding: 15px; display: flex; flex-direction: column; justify-content: space-between; transition: transform 0.2s; }
.cry-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.cry-thumb { width: 100%; height: 90px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; background: rgba(0,0,0,0.02); }
.cry-thumb img { max-width: 80px; max-height: 80px; object-fit: contain; }
.cry-name { font-size: 13px; font-weight: 700; height: 36px; overflow: hidden; margin-bottom: 6px; }
.cry-price { font-size: 15px; font-weight: 800; color: var(--accent); margin-bottom: 8px; }
.cry-btn { display: block; text-align: center; background: var(--accent); color: #fff; padding: 6px 0; border-radius: 4px; font-weight: 600; font-size: 12px; }

/* 详情页与表单 */
.cry-panel { max-width: 860px; margin: 40px auto; background: var(--card); border: 1px solid var(--border); border-radius: 8px; padding: 35px; }
.cry-detail-flex { display: flex; gap: 30px; margin-bottom: 30px; }
.cry-detail-img { width: 220px; height: 220px; object-fit: contain; background: rgba(0,0,0,0.02); border: 1px solid var(--border); padding: 10px; }
.cry-form-control { width: 100%; height: 40px; border: 1px solid var(--border); background: var(--bg); color: var(--text); padding: 0 12px; border-radius: 4px; outline: none; margin-bottom: 15px; font-size: 13px; }
.cry-desc { border-top: 1px solid var(--border); padding-top: 25px; margin-top: 25px; line-height: 1.8; color: var(--text-sub); }
.cry-desc p { margin-bottom: 15px; word-break: break-word; }

.cry-footer { background: var(--card); border-top: 1px solid var(--border); padding: 30px 0; text-align: center; color: var(--text-sub); font-size: 12px; margin-top: 50px; }
