/* 결 통합 화장품 DB (#/db) */
.pdb { padding: 4px var(--gut, 16px) 40px; }
.pdb-hero { padding: 14px 0 6px; }
.pdb-hero small { font-size: 11px; letter-spacing: .12em; color: #999; font-weight: 700; }
.pdb-hero h2 { font-size: 20px; margin: 4px 0 6px; line-height: 1.35; }
.pdb-hero p { font-size: 13px; color: #666; margin: 0; line-height: 1.5; }
.pdb-search { margin: 12px 0 0; }
.pdb-links { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.pdb-links .btn { width: auto; flex: 1 1 auto; }
.pdb-cats { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin: 4px 0 8px; scrollbar-width: none; }
.pdb-cats button { white-space: nowrap; }
.pdb-cats small { color: #999; font-weight: 500; margin-left: 2px; }
.pdb-list { list-style: none; margin: 8px 0; padding: 0; }
.pdb-row { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #f0f0f0; }
.pdb-rowl { display: flex; gap: 12px; align-items: center; padding: 10px 0; flex: 1; min-width: 0; color: inherit; text-decoration: none; }
.pdb-th { width: 56px; height: 56px; flex: none; border-radius: 10px; background: #f6f6f6; overflow: hidden; display: grid; place-items: center; }
.pdb-th img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.pdb-noimg { font-size: 10px; color: #aaa; text-align: center; padding: 4px; }
.pdb-rb { display: grid; gap: 2px; min-width: 0; }
.pdb-rb small { font-size: 11px; color: #888; }
.pdb-rb b { font-size: 14px; font-weight: 600; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pdb-rb span { font-size: 11px; color: #777; display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.pdb-chip { font-style: normal; font-size: 10px; padding: 1px 6px; border-radius: 999px; background: #f2f2f2; color: #777; }
.pdb-chip.ok { background: #fde8ee; color: #c2385b; }
.pdb-x, .pdb-add { border: 1px solid #e5e5e5; background: #fff; border-radius: 999px; width: 32px; height: 32px; flex: none; font-size: 14px; cursor: pointer; }
.pdb-credit { font-size: 11px; color: #999; line-height: 1.55; margin-top: 24px; }
.pdb-credit a { color: inherit; }

.pdb-detail .pdb-img { margin: 8px 0 0; aspect-ratio: 1; max-height: 340px; width: 100%; background: #fafafa; border-radius: 16px; display: grid; place-items: center; overflow: hidden; }
.pdb-detail .pdb-img img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.pdb-imgcredit { font-size: 10.5px; color: #aaa; margin: 6px 0 0; }
.pdb-head { margin: 14px 0 6px; }
.pdb-head small { font-size: 13px; color: #888; }
.pdb-head h1 { font-size: 20px; line-height: 1.35; margin: 4px 0; word-break: keep-all; overflow-wrap: anywhere; }
.pdb-orig { font-size: 12px; color: #888; margin: 2px 0; }
.pdb-meta { font-size: 13px; color: #555; margin: 6px 0 0; }
.pdb-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0; }
.pdb-actions .btn { width: 100%; font-size: 13px; padding-left: 6px; padding-right: 6px; }
.pdb-facts { margin: 0; border-top: 1px solid #f0f0f0; }
.pdb-facts div { display: grid; grid-template-columns: 110px 1fr; gap: 8px; padding: 9px 0; border-bottom: 1px solid #f5f5f5; font-size: 13px; }
.pdb-facts dt { color: #888; } .pdb-facts dd { margin: 0; overflow-wrap: anywhere; }
.pdb-facts small { color: #999; }
.pdb-sec { margin-top: 22px; }
.pdb-sec h3 { font-size: 15px; margin: 0 0 8px; }
.pdb-sec h3 small { font-weight: 500; color: #999; font-size: 12px; margin-left: 4px; }
.pdb-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pdb-tags span, .pdb-tags button { font-size: 12px; padding: 5px 10px; border-radius: 999px; background: #f6f1f3; color: #7a3a4f; border: 0; }
.pdb-tags button { background: #f4f4f4; color: #333; cursor: pointer; } .pdb-tags button.on { background: #111; color: #fff; }
.pdb-flags { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0; }
.pdb-flags span { font-size: 11px; padding: 3px 8px; border-radius: 6px; background: #fff4e5; color: #9a5b00; }
.pdb-ings { list-style: none; padding: 0; margin: 0; }
.pdb-ings li { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid #f4f4f4; }
.pdb-ings em { font-style: normal; font-size: 11px; color: #aaa; width: 20px; flex: none; text-align: right; padding-top: 2px; }
.pdb-ings div { display: grid; gap: 2px; min-width: 0; }
.pdb-ings b { font-size: 13.5px; font-weight: 600; overflow-wrap: anywhere; }
.pdb-ings small { font-size: 11px; color: #888; overflow-wrap: anywhere; }
.pdb-fn { font-size: 11px; color: #5a6b7d; }
.pdb-w { font-size: 11px; color: #b4532a; }
.pdb-raw { color: #aaa !important; }
.pdb-src { list-style: none; padding: 0; margin: 0; font-size: 13px; }
.pdb-src li { display: grid; gap: 2px; padding: 6px 0; } .pdb-src small { color: #999; font-size: 11px; }

.pdb-find { border: 1px solid #eee; border-radius: 14px; padding: 12px 14px; margin: 8px 0; font-size: 13px; line-height: 1.55; }
.pdb-find p { margin: 4px 0; }
.pdb-find.bad { border-color: #f3c4cf; background: #fff7f9; }
.pdb-find.warn { border-color: #f5dfb5; background: #fffaf0; }
.pdb-find.good { border-color: #cfe8d6; background: #f6fcf8; }
.pdb-find.info { background: #f6f8fb; }
.pdb-lv { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #fff; border: 1px solid currentColor; margin-right: 6px; }
.pdb-find.bad .pdb-lv { color: #c2385b; } .pdb-find.warn .pdb-lv { color: #a8680a; } .pdb-find.good .pdb-lv { color: #2f7d4a; } .pdb-find.info .pdb-lv { color: #46607d; }
.pdb-pair { color: #777; font-size: 12px; }
.pdb-ev { font-size: 11.5px; color: #777; border-top: 1px dashed #e7e7e7; padding-top: 6px; margin-top: 8px !important; }
.pdb-per { list-style: none; padding: 0; margin: 0; }
.pdb-per li { display: grid; gap: 2px; padding: 9px 0; border-bottom: 1px solid #f4f4f4; font-size: 13px; }
.pdb-per span { color: #666; font-size: 12px; }
.pdb-order { padding-left: 20px; font-size: 13px; line-height: 1.8; margin: 0; }
.pdb-order small { color: #999; }
.pdb-limit ul { padding-left: 18px; font-size: 12px; color: #666; line-height: 1.7; margin: 0; }
.pdb-req label { display: block; font-size: 13px; font-weight: 600; margin: 14px 0 6px; }
.pdb-req .field { width: 100%; box-sizing: border-box; }
.pdb-sheet { margin-top: 14px; border-top: 1px solid #f0f0f0; padding-top: 10px; }
.pdb-sh-h { font-size: 13px; font-weight: 700; margin: 0 0 4px; }
.pdb-sh-h small { color: #999; font-weight: 500; }
.pdb-sheet .tile img { width: 100%; height: 100%; object-fit: contain; }
