/* 组局搭子（V3.27.0）H5 样式 —— 供 H5 与小程序 wxss 生成器共用 */
.bd-page{padding-bottom:78px;font-size:14px;color:#22262e;background:linear-gradient(180deg,#f5f7fb 0%,#eceff6 100%)}
.bd-head{display:flex;align-items:center;justify-content:space-between;padding:14px 12px 8px}
.bd-head h1{font-size:20px;margin:0;font-weight:700}
.bd-publish{color:#fff;background:#ff6a3d;border-radius:18px;padding:6px 14px;font-size:13px;text-decoration:none;white-space:nowrap}
.bd-search{display:flex;gap:8px;padding:6px 12px 10px}
.bd-search input{flex:1;border:1px solid #e8eaf0;border-radius:20px;padding:8px 14px;font-size:14px;background:#f5f6f8;outline:none}
.bd-search button{border:0;background:#2f7bff;color:#fff;border-radius:18px;padding:0 16px;font-size:14px}
.bd-chips{display:flex;gap:8px;padding:0 16px 10px;overflow-x:auto;white-space:nowrap}
.bd-chip{padding:6px 12px;border-radius:16px;background:#f0f2f6;color:#5b6273;font-size:13px;text-decoration:none;flex:0 0 auto}
.bd-chip.on{background:#2f7bff;color:#fff}
/* 分类宫格（V3.27.0）：白卡 + 彩色图标底衬 + 顶部色条，5 列；选中橙红渐变 */
.bd-catgrid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;padding:4px 12px 12px}
.bd-catcell{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:82px;padding:10px 2px 8px;border-radius:13px;background:#fff;text-decoration:none;color:#4a5160;box-shadow:0 2px 8px rgba(30,40,80,.05);overflow:hidden}
.bd-catcell .bd-catbar{position:absolute;top:0;left:0;right:0;height:3px;background:var(--cc,#ff8a56)}
.bd-caticon-wrap{width:38px;height:38px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:var(--cb,#fff1ea)}
.bd-catcell .bd-caticon{font-size:22px;line-height:1;display:flex;align-items:center;justify-content:center;width:100%;height:100%}
.bd-catcell .bd-caticon img{width:26px;height:26px;object-fit:contain;display:block}
.bd-catcell .bd-catname{font-size:11px;margin-top:6px;white-space:nowrap;color:#555c6b}
.bd-catcell.on{background:linear-gradient(135deg,#ff9a5c,#ff5636);color:#fff;box-shadow:0 4px 12px rgba(255,96,54,.3)}
.bd-catcell.on .bd-catbar{background:rgba(255,255,255,.6)}
.bd-catcell.on .bd-caticon-wrap{background:rgba(255,255,255,.22)}
.bd-catcell.on .bd-catname{color:#fff}
.bd-catcell .bd-catnum{position:absolute;top:5px;right:4px;min-width:15px;height:15px;line-height:15px;text-align:center;padding:0 3px;border-radius:8px;background:#f0f2f6;color:#9aa0ac;font-size:9px}
.bd-catcell.on .bd-catnum{background:rgba(255,255,255,.3);color:#fff}
/* 筛选栏：整体白色卡片底，5 个筛选项各自独立描边框，一行均分 */
.bd-filters{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin:0 12px 12px;padding:8px;background:#fff;border-radius:12px;box-shadow:0 2px 10px rgba(28,42,80,.06)}
.bd-filters select{width:100%;min-width:0;border:1px solid #e4e8f0;border-radius:8px;padding:7px 2px;font-size:11px;text-align:center;text-align-last:center;background:#f8f9fc;color:#5b6273;appearance:none;-webkit-appearance:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bd-list{padding:0 12px}
.bd-loading,.bd-empty{text-align:center;color:#9aa0ac;padding:40px 10px;font-size:14px}
.bd-empty a{color:#2f7bff}
.bd-more{text-align:center;color:#2f7bff;padding:16px;cursor:pointer}
/* 卡片：白色大卡 + 封面图 + 状态浮层 + 信息条 + 报名进度条（多层次，紧凑 4:3） */
.bd-card{display:block;position:relative;background:#fff;border-radius:14px;margin:0 0 10px;overflow:hidden;text-decoration:none;color:inherit;box-shadow:0 3px 14px rgba(28,42,80,.09)}
.bd-card-img{position:relative;height:118px;overflow:hidden;background:linear-gradient(135deg,#eef2ff,#f7f9ff)}
.bd-card-img img{width:100%;height:100%;object-fit:cover;display:block}
.bd-card-ph{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:48px}
.bd-tag{display:inline-block;font-size:11px;padding:2px 8px;border-radius:10px;background:#f0f2f6;color:#8a90a6}
.bd-tag.hot{background:#fff0eb;color:#ff6a3d}.bd-tag.on{background:#eaf8ee;color:#1a7f3c}
.bd-card-topbar{position:absolute;left:0;right:0;top:0;height:46px;background:linear-gradient(rgba(12,20,40,.34),transparent);pointer-events:none}
.bd-top{position:absolute;right:0;top:0;background:linear-gradient(135deg,#ff9a5c,#ff5b3d);color:#fff;font-size:10px;padding:3px 9px;border-radius:0 14px 0 10px;z-index:2;box-shadow:0 2px 6px rgba(255,96,54,.3)}
.bd-card .bd-tag{position:absolute;left:10px;top:10px;margin:0;z-index:2;font-size:11px;padding:3px 9px;border-radius:11px;box-shadow:0 2px 6px rgba(0,0,0,.12)}
.bd-card-body{padding:10px 12px 11px}
.bd-card-title{font-size:15px;font-weight:700;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bd-card-meta{display:flex;gap:12px;color:#8a90a6;font-size:11.5px;margin-top:5px}
.bd-card-meta span{display:inline-flex;align-items:center;gap:3px}
.bd-card-info{display:flex;align-items:center;gap:8px;background:#f6f8fc;border-radius:8px;padding:6px 9px;margin-top:8px}
.bd-pbar{flex:1;height:5px;background:#e8ecf4;border-radius:4px;overflow:hidden}
.bd-pbar-in{display:block;height:100%;border-radius:4px;background:linear-gradient(90deg,#ff9a5c,#ff5b3d)}
.bd-pbar-in.full{background:linear-gradient(90deg,#3ecf8e,#1a9e63)}
.bd-card-progress{color:#8a90a6;font-size:11px;white-space:nowrap}
.bd-card-foot{display:flex;align-items:center;gap:8px;margin-top:8px}
/* 覆盖 biz.css 同名 .bd-fee：紧凑价格小框，突出层次（免费绿 / 付费橙红） */
.bd-card .bd-fee{display:inline-block;background:#fff2ed;border:1px solid #ffd6c8;padding:3px 9px;border-radius:8px;color:#f2595b;font-weight:700;font-size:13px;line-height:1.3}
.bd-card .bd-fee small{font-size:10px;font-weight:400;color:#c98a80;margin-left:1px}
.bd-card .bd-fee.free{background:#eaf8ee;border-color:#c6ecd2;color:#1a9e63}
/* 差异化费用（女免费男AA / 男免费女AA）：紫色系与纯免费、纯收费都区分开 */
.bd-card .bd-fee.gender{background:#f3f0ff;border-color:#dcd3ff;color:#6b4ed4}
/* 男女名额进度：有配额时才出现，紧跟时间地点一行 */
.bd-card-gender{color:#8a90a6;font-size:11.5px;margin-top:4px}
/* 顶部幻灯片广告：与页面其他组件统一左右 12px 边距，圆角跟卡片一致 */
.bd-page .sq-ad-slideshow{margin:0 12px 12px;border-radius:12px;overflow:hidden;box-shadow:0 3px 14px rgba(28,42,80,.08)}
.bd-card-go{margin-left:auto;color:#2f7bff;font-size:11px}
.bd-card-num{display:none;color:#8a90a6;font-size:11.5px;white-space:nowrap}
/* 视图切换条：左侧局数量 + 右侧大图/小图切换 */
.bd-viewbar{display:flex;align-items:center;justify-content:space-between;padding:0 12px 9px}
.bd-vcount{color:#8a90a6;font-size:12px}
.bd-vsw{display:flex;padding:2px;background:#fff;border:1px solid #e6eaf2;border-radius:9px;box-shadow:0 2px 8px rgba(28,42,80,.06)}
.bd-vbtn{font-size:11.5px;line-height:1.4;color:#7b8296;padding:3px 10px;border-radius:7px;cursor:pointer;transition:background .15s,color .15s}
.bd-vbtn.on{background:#2f7bff;color:#fff;font-weight:600}
/* 小图模式：左图右文的横向紧凑卡 */
.bd-list.view-sm .bd-card{display:flex;align-items:center;gap:10px;padding:10px;border-radius:12px}
.bd-list.view-sm .bd-card-img{width:96px;flex:0 0 96px;height:96px;min-height:0;border-radius:9px}
.bd-list.view-sm .bd-card-ph{font-size:32px}
.bd-list.view-sm .bd-card-topbar{display:none}
.bd-list.view-sm .bd-top{left:0;right:auto;border-radius:9px 0 9px 0;font-size:9.5px;padding:2px 7px}
.bd-list.view-sm .bd-card-body{flex:1;min-width:0;padding:0;display:flex;flex-direction:column;justify-content:center}
.bd-list.view-sm .bd-card-title{font-size:14.5px}
.bd-list.view-sm .bd-card-meta{margin-top:5px;gap:10px}
.bd-list.view-sm .bd-card-info{display:none}
.bd-list.view-sm .bd-card-foot{margin-top:auto;padding-top:8px;gap:7px}
.bd-list.view-sm .bd-card-num{display:inline}
.bd-list.view-sm .bd-card-go{display:none}
.bd-list.view-sm .bd-card .bd-tag{left:auto;top:auto;right:10px;bottom:11px;box-shadow:none;font-size:10.5px;padding:2px 8px}
.bd-mine-entry{margin:14px 12px;text-align:center}
.bd-mine-entry a{color:#2f7bff;font-size:13px;text-decoration:none}
.bd-toast .toast{position:fixed;left:50%;top:45%;transform:translate(-50%,-50%);background:rgba(20,24,32,.9);color:#fff;padding:10px 18px;border-radius:8px;font-size:14px;z-index:9999;max-width:80%;text-align:center}

/* 详情 */
.bd-detail-cover{height:210px;background:#eef2ff;overflow:hidden}
.bd-detail-cover img{width:100%;height:100%;object-fit:cover;display:block}
.bd-cover-ph{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:70px}
.bd-detail-inner{background:#fff;border-radius:16px 16px 0 0;margin-top:-14px;position:relative;padding:18px 16px}
.bd-detail-title{font-size:20px;font-weight:700;line-height:1.4;margin-bottom:10px}
.bd-owner{display:flex;align-items:center;gap:8px;font-size:14px;color:#4a5160;margin-bottom:16px}
.bd-ava{display:inline-flex;width:28px;height:28px;border-radius:50%;background:#e8ecf5;color:#6b7280;align-items:center;justify-content:center;font-size:12px;overflow:hidden;flex:0 0 auto}
.bd-ava img{width:100%;height:100%;object-fit:cover}
.bd-ava.lg{width:36px;height:36px;font-size:15px}
.bd-master{background:#eef4ff;color:#2f7bff;font-size:11px;padding:2px 7px;border-radius:10px}
.bd-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;background:#f8f9fc;border-radius:10px;padding:14px;margin-bottom:16px}
.bd-detail-grid label{display:block;font-size:11px;color:#9aa0ac;margin-bottom:3px}
.bd-detail-grid b{font-size:13.5px;font-weight:600;color:#2a2f3a;word-break:break-all}
.bd-section{margin-bottom:18px}
.bd-section h3{font-size:15px;margin:0 0 10px;font-weight:700}
.bd-avas{display:flex;gap:8px;flex-wrap:wrap}
.bd-muted{color:#9aa0ac;font-size:13px}
.bd-imgs{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.bd-imgs img{width:100%;height:90px;object-fit:cover;border-radius:8px;display:block}
.bd-content{color:#4a5160;line-height:1.7;font-size:14px}
.bd-contact{background:#fff8ec;border:1px solid #f5dfae;color:#8a6a2a;padding:10px 12px;border-radius:8px;font-size:13px;margin-bottom:14px}
.bd-detail-actions{display:flex;gap:10px;position:sticky;bottom:0;background:#fff;padding:10px 0;border-top:1px solid #f0f2f6}
.bd-btn{border:1px solid #e2e6ee;background:#fff;color:#4a5160;border-radius:22px;padding:9px 18px;font-size:14px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex:1}
.bd-btn.primary{background:#2f7bff;color:#fff;border-color:#2f7bff;font-weight:600}
.bd-btn.block{width:100%;display:flex;margin-top:16px}
.bd-btn[disabled]{opacity:.55}

/* 发布 */
.bd-pub-head{display:flex;align-items:center;gap:12px;padding:14px 16px;background:#fff;border-bottom:1px solid #f0f2f6;position:sticky;top:0;z-index:10}
.bd-pub-head a{color:#2f7bff;text-decoration:none;font-size:14px}
.bd-pub-head h1{font-size:17px;margin:0;flex:1}
.bd-pub-body{padding:16px}
.bd-tip{background:#eef4ff;border-left:3px solid #2f7bff;color:#3a63c0;font-size:12.5px;padding:10px 12px;border-radius:6px;margin-bottom:16px;line-height:1.6}
.bd-f{margin-bottom:14px;flex:1;min-width:0}
.bd-f label{display:block;font-size:13px;font-weight:600;color:#4a5160;margin-bottom:6px}
.bd-f input,.bd-f select,.bd-f textarea{width:100%;border:1px solid #e2e6ee;border-radius:8px;padding:9px 10px;font-size:14px;background:#fff;color:#22262e;outline:none;box-sizing:border-box}
.bd-f textarea{resize:vertical}
.bd-row{display:flex;gap:10px}
.bd-ups{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:8px}
.bd-up-item{position:relative;width:66px;height:66px}
.bd-up-item img{width:100%;height:100%;object-fit:cover;border-radius:8px}
.bd-up-item span{position:absolute;right:-4px;top:-4px;background:#f2595b;color:#fff;width:18px;height:18px;border-radius:50%;text-align:center;line-height:18px;font-size:13px;cursor:pointer}
.bd-up-btn{display:inline-flex;align-items:center;justify-content:center;width:66px;height:66px;border:1px dashed #c9d0de;border-radius:8px;color:#8a90a6;font-size:22px;cursor:pointer}

/* 我的局 */
.bd-tabs{display:flex;border-bottom:1px solid #eef0f4;padding:0 16px}
.bd-tabs a{flex:1;text-align:center;padding:10px 0;font-size:14px;color:#8a90a6;text-decoration:none;border-bottom:2px solid transparent}
.bd-tabs a.on{color:#2f7bff;border-color:#2f7bff;font-weight:600}
.bd-mine-item{display:flex;align-items:center;gap:10px;background:#fff;border-radius:10px;padding:10px;margin-top:10px;text-decoration:none;color:inherit}
.bd-mi-img{width:52px;height:52px;border-radius:8px;overflow:hidden;background:#eef2ff;display:flex;align-items:center;justify-content:center;font-size:24px;flex:0 0 auto}
.bd-mi-img img{width:100%;height:100%;object-fit:cover}
.bd-mi-body{flex:1;min-width:0}
.bd-mi-title{font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bd-mi-meta{font-size:12px;color:#9aa0ac;margin-top:4px}
.bd-badge{font-size:11px;color:#ff6a3d;background:#fff0eb;padding:3px 8px;border-radius:10px;white-space:nowrap}

/* 管理 */
.bd-manage-ops{display:flex;gap:8px;margin-bottom:16px;flex-wrap:wrap}
.bd-manage-ops .bd-btn{flex:1;min-width:90px;padding:8px 6px;font-size:12.5px}
.bd-join-row{display:flex;align-items:center;gap:10px;background:#fff;border-radius:10px;padding:10px;margin-bottom:8px}
.bd-jr-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.bd-jr-body b{font-size:14px}.bd-jr-body span{font-size:12px;color:#8a90a6}
.bd-jr-op{display:flex;flex-direction:column;gap:4px;align-items:flex-end}
.bd-status{font-size:11px;color:#8a90a6}.bd-status.s0{color:#f0a020}.bd-status.s1{color:#1a7f3c}.bd-status.s2,.bd-status.s3,.bd-status.s4{color:#b0b6c2}
.bd-mini{border:0;border-radius:12px;padding:3px 9px;font-size:11.5px;cursor:pointer}
.bd-mini.ok{background:#eaf8ee;color:#1a7f3c}.bd-mini.no{background:#fff0f0;color:#f2595b}

/* 聊天 */
.bd-chat{display:flex;flex-direction:column;height:100vh}
.bd-chat-list{flex:1;overflow-y:auto;padding:14px 16px}
.bd-msg{margin-bottom:14px}
.bd-msg-nick{font-size:11px;color:#9aa0ac;margin-bottom:3px}
.bd-msg-bubble{display:inline-block;max-width:75%;background:#fff;border-radius:10px;padding:9px 12px;font-size:14px;line-height:1.5;box-shadow:0 1px 3px rgba(20,30,60,.05)}
.bd-msg.mine{text-align:right}
.bd-msg.mine .bd-msg-bubble{background:#dceaff;text-align:left}
.bd-chat-tip{text-align:center;color:#9aa0ac;font-size:12px;margin:10px 0}
.bd-chat-input{display:flex;gap:8px;padding:10px 16px;background:#fff;border-top:1px solid #eef0f4}
.bd-chat-input input{flex:1;border:1px solid #e2e6ee;border-radius:18px;padding:9px 14px;font-size:14px;outline:none}
.bd-chat-input button{border:0;background:#2f7bff;color:#fff;border-radius:18px;padding:0 18px;font-size:14px}
