/* BFB community layer (preview) */
.page-wrap{grid-template-columns:minmax(0,1fr)!important}
.community-bar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;background:var(--card,#fff);border:1px solid var(--border,#ddd);border-radius:14px;padding:10px 14px;margin:0 0 14px;font-size:14px}
.community-bar a.submit-link{font-weight:700}
.sort-bar{display:flex;gap:6px;align-items:center;font-size:13px;margin:0 0 10px}
.sort-bar button{border:1px solid var(--border,#ccc);background:#fff;border-radius:999px;padding:4px 12px;cursor:pointer;font:inherit}
.sort-bar button[aria-pressed="true"]{background:var(--green-900,#1f4d2b);color:#fff;border-color:transparent}
.vote{display:flex;gap:6px;align-items:center;margin:6px 0;font-size:13px}
.vote button{border:1px solid var(--border,#ccc);background:#fff;border-radius:8px;padding:3px 8px;cursor:pointer;font:inherit;line-height:1.3}
.vote button.on{background:#e8f3ea;border-color:#2e7d32}
.vote .vmsg{font-size:12px;color:var(--muted,#666)}
.deal-details{display:inline-block;margin-top:6px;font-size:13px;font-weight:600}
.dp{background:var(--card,#fff);border:1px solid var(--border,#ddd);border-radius:14px;box-shadow:var(--shadow,none);padding:18px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:22px}
.dp-photo{background:#fff;border-radius:10px;display:flex;align-items:center;justify-content:center;min-height:280px}
.dp-photo img{max-width:100%;max-height:460px;object-fit:contain}
.dp h1{margin:0 0 6px;font-size:24px;line-height:1.25;color:var(--green-900,#1f4d2b)}
.dp .meta span{margin-right:8px}
.dp .prices{font-size:20px;margin:10px 0}.dp .prices .sale{font-weight:800;font-size:28px;margin-right:10px}.dp .prices .was{text-decoration:line-through;color:var(--muted,#777)}
.dp .verified{font-size:13px;color:var(--muted,#555);margin:6px 0}
.dp .btn{display:inline-block;margin-top:8px}
.expired-banner{background:#fff4e5;border:1px solid #f0b46c;border-radius:10px;padding:10px 12px;margin:0 0 12px;font-weight:600}
.dp-section{background:var(--card,#fff);border:1px solid var(--border,#ddd);border-radius:14px;padding:16px 18px;margin-top:16px}
.dp-section h2{margin:0 0 8px;font-size:17px;color:var(--green-900,#1f4d2b)}
.ph-table{border-collapse:collapse;font-size:13px}.ph-table td,.ph-table th{padding:3px 12px 3px 0;text-align:left}
.cmt{border-top:1px solid var(--border,#eee);padding:8px 0}.cmt .who{font-size:12px;color:var(--muted,#666)}
.cmt p{margin:4px 0;white-space:pre-wrap}
.cform label,.sform label{display:block;font-size:13px;font-weight:600;margin:10px 0 4px}
.cform input,.cform textarea,.sform input,.sform textarea{width:100%;box-sizing:border-box;padding:8px;border:1px solid var(--border,#ccc);border-radius:8px;font:inherit}
.cform button,.sform button{margin-top:10px;padding:8px 16px;border:0;border-radius:8px;background:var(--green-900,#1f4d2b);color:#fff;font-weight:700;cursor:pointer}
.formmsg{margin-top:8px;font-size:14px;font-weight:600}
.small-note{font-size:12px;color:var(--muted,#666);margin-top:8px}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
@media (max-width:760px){.dp{grid-template-columns:1fr}}
.cflag{border:0;background:none;color:var(--muted,#777);font-size:11px;cursor:pointer;padding:0;text-decoration:underline}
/* ---- engagement add-on (eng:css) ---- */
.vote.vote-big{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:10px 0;font-size:15px}
.vote.vote-big button{font-family:inherit;display:inline-flex;align-items:center;gap:7px;min-height:46px;padding:8px 14px;border-radius:12px;border:2px solid #cfd8dc;background:#fff;color:#12323d;font-weight:800;font-size:15px;line-height:1.1;cursor:pointer;transition:transform .08s,background .15s,border-color .15s}
.vote.vote-big button:hover{transform:translateY(-1px)}
.vote.vote-big button:active{transform:scale(.97)}
.vote.vote-big .vb-up{border-color:#e8b84a;background:#fff8e6}
.vote.vote-big .vb-up:hover{background:#ffefc2}
.vote.vote-big .vb-down{border-color:#cfd8dc;background:#f6f8f9}
.vote.vote-big .vb-emoji{font-size:20px}
.vote.vote-big .vb-label{white-space:nowrap}
.vote.vote-big .vb-count{min-width:26px;text-align:center;background:#12323d;color:#fff;border-radius:999px;padding:3px 8px;font-size:14px}
.vote.vote-big .vb-down .vb-count{background:#5f6b70}
.vote.vote-big button.on{border-color:#2e7d32;background:#e8f3ea}
.vote.vote-big .vmsg{flex-basis:100%;font-size:13px;font-weight:700;color:#2e7d32;min-height:0}
.vote.vote-big .vmsg:empty{display:none}
.deal-side .vote.vote-big{justify-content:flex-end}
.dp .vote.vote-big button{min-height:54px;font-size:17px;padding:10px 18px}
.dp .vote.vote-big .vb-emoji{font-size:24px}
.eng-boxes{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:0 0 18px}
.eng-box{background:#fff;border:3px solid #12323d;border-radius:16px;padding:16px 18px;box-shadow:0 4px 14px rgba(18,50,61,.10)}
.eng-box h2{margin:0 0 4px;font-size:22px;font-weight:900;color:#12323d}
.eng-box .eng-sub{margin:0 0 10px;font-size:13px;color:#5f6b70;font-weight:600}
.eng-list{margin:0;padding:0 0 0 22px;font-size:15px}
.eng-list li{margin:0 0 8px;font-weight:700}
.eng-list li a{color:#12323d;text-decoration:none}
.eng-list li a:hover{text-decoration:underline}
.eng-list .eng-n{display:inline-block;margin-left:8px;font-size:13px;font-weight:800;color:#9a2f2a;white-space:nowrap}
.eng-empty{display:block;border:2px dashed #b0bec5;border-radius:12px;padding:14px;text-align:center;font-weight:800;color:#12323d;text-decoration:none;background:#f6f8f9}
.eng-empty:hover{background:#fff8e6;border-color:#e8b84a}
.wyb{margin:14px 0;border:3px solid #e8b84a;border-radius:16px;padding:14px 16px;background:#fffaf0;max-width:520px}
.wyb .wyb-q{font-size:20px;font-weight:900;color:#12323d;margin:0 0 10px}
.wyb .wyb-btns{display:flex;gap:10px;flex-wrap:wrap}
.wyb .wyb-b{font-family:inherit;flex:1 1 0;min-width:0;min-height:52px;border-radius:12px;border:2px solid #12323d;background:#fff;color:#12323d;font-weight:900;font-size:18px;cursor:pointer}
.wyb .wyb-b:hover{background:#12323d;color:#fff}
.wyb .wyb-b:disabled{opacity:.6;cursor:wait}
.wyb .wyb-row{display:grid;grid-template-columns:84px 1fr 48px;gap:10px;align-items:center;margin:0 0 8px;font-weight:800;color:#12323d}
.wyb .wyb-row.mine .wyb-l{color:#2e7d32}
.wyb .wyb-bar{height:16px;background:#eceff1;border-radius:999px;overflow:hidden}
.wyb .wyb-bar i{display:block;height:100%;background:#e8b84a;border-radius:999px}
.wyb .wyb-row.mine .wyb-bar i{background:#2e7d32}
.wyb .wyb-pct{text-align:right}
.wyb .wyb-foot{margin-top:8px;font-size:13px;font-weight:700;color:#5f6b70}
@media (max-width:700px){.eng-boxes{grid-template-columns:1fr}.deal-side .vote.vote-big{justify-content:flex-start}.vote.vote-big{flex-wrap:wrap}.vote.vote-big button{flex:1 1 0;min-width:0;justify-content:center;padding:8px 10px;gap:5px}.wyb{max-width:none}.wyb .wyb-b{font-size:17px}}
@media (max-width:820px){.deal-side{flex-wrap:wrap}.deal-side .vote.vote-big{order:5;flex:1 1 100%;width:100%;justify-content:flex-start;margin:4px 0 0}}
@media (max-width:420px){.vote.vote-big button,.dp .vote.vote-big button{font-size:15px;padding:8px 8px;min-height:50px}.vote.vote-big .vb-emoji,.dp .vote.vote-big .vb-emoji{font-size:20px}}
/* ---- end engagement add-on ---- */
