/* 1.11.33 — community index: one card per forum, image on the left, details + subforums on the right */
html body .bsg-aurora-page .bsg-fcard{display:grid;grid-template-columns:320px minmax(0,1fr);gap:0;margin:0 0 16px;border:1px solid #8fb5d3;border-radius:14px;background:linear-gradient(180deg,#fff,#f4f9fd);overflow:hidden;box-shadow:0 6px 20px rgba(10,111,184,.07);transition:border-color .15s,box-shadow .15s}
html body .bsg-aurora-page .bsg-fcard:hover{border-color:#0a6fb8;box-shadow:0 10px 28px rgba(10,111,184,.16)}
html body .bsg-aurora-page .bsg-fcard__media{display:block;position:relative;width:320px;min-height:180px;background:linear-gradient(135deg,#0a6fb8,#12a7e8);text-decoration:none}
html body .bsg-aurora-page .bsg-fcard__media img{display:block;width:320px;height:100%;min-height:180px;max-width:100%;object-fit:cover;border:0;border-radius:0}
html body .bsg-aurora-page .bsg-fcard__placeholder{position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-size:54px;opacity:.92}
html body .bsg-aurora-page .bsg-fcard__placeholder svg,html body .bsg-aurora-page .bsg-fcard__placeholder i{width:1em;height:1em;font-size:inherit}
html body .bsg-aurora-page .bsg-fcard__body{display:flex;flex-direction:column;gap:8px;padding:16px 20px;min-width:0;color:#0b2a40}
html body .bsg-aurora-page .bsg-fcard__title{margin:0;font-size:1.2rem;line-height:1.25}
html body .bsg-aurora-page .bsg-fcard__title a{color:#0b2a40;text-decoration:none}
html body .bsg-aurora-page .bsg-fcard__title a:hover{color:#0a6fb8}
html body .bsg-aurora-page .bsg-fcard__desc{margin:0;color:#3d5a70;font-size:.92rem;line-height:1.5;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
html body .bsg-aurora-page .bsg-fcard__stats{display:flex;flex-wrap:wrap;gap:6px 22px;font-size:.82rem;color:#3d5a70}
html body .bsg-aurora-page .bsg-fcard__stats strong{color:#0b2a40;font-size:1rem;margin-right:3px}
html body .bsg-aurora-page .bsg-fcard__latest{display:flex;align-items:center;gap:8px;font-size:.85rem;color:#3d5a70;min-width:0}
html body .bsg-aurora-page .bsg-fcard__latest i{color:#0a6fb8;flex:none}
html body .bsg-aurora-page .bsg-fcard__latest span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body .bsg-aurora-page .bsg-fcard__latest a{color:#0a6fb8;font-weight:600;text-decoration:none}
html body .bsg-aurora-page .bsg-fcard__latest small{opacity:.8;margin-left:4px}
html body .bsg-aurora-page .bsg-fcard__subs{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:auto;padding-top:10px;border-top:1px solid #d8e6f1}
html body .bsg-aurora-page .bsg-fcard__subs>span{font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#3d5a70}
html body .bsg-aurora-page .bsg-fcard__subs a{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border:1px solid #cfe0ee;border-radius:999px;background:#fff;color:#0b2a40;font-size:.82rem;text-decoration:none}
html body .bsg-aurora-page .bsg-fcard__subs a:hover{border-color:#0a6fb8;color:#0a6fb8}
html body .bsg-aurora-page .bsg-fcard__subs a b{color:#0a6fb8;font-weight:700}
@media(max-width:820px){
  html body .bsg-aurora-page .bsg-fcard{grid-template-columns:1fr}
  html body .bsg-aurora-page .bsg-fcard__media{width:100%;min-height:0;aspect-ratio:16/9}
  html body .bsg-aurora-page .bsg-fcard__media img{width:100%;height:100%;min-height:0}
}

/* 1.11.37 — index without sidebar: announce notice + Members / Statistics panels */
html body .bsg-aurora-layout--full{display:block!important}
html body .bsg-aurora-layout--full>.bsg-aurora-layout__primary{width:100%;max-width:100%}
html body .bsg-announce{display:flex;align-items:flex-start;gap:14px;margin:0 0 18px;padding:14px 16px;border:1px solid #8fb5d3;border-left:4px solid #0a6fb8;border-radius:12px;background:linear-gradient(135deg,#eef6fd,#fff);color:#0b2a40;box-shadow:0 6px 20px rgba(10,111,184,.08)}
html body .bsg-announce[hidden]{display:none!important}
html body .bsg-announce__icon{flex:none;display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:linear-gradient(135deg,#0a6fb8,#12a7e8);color:#fff;font-size:1.1rem}
html body .bsg-announce__main{flex:1;min-width:0}
html body .bsg-announce__title{display:block;margin-bottom:4px;font-size:1rem}
html body .bsg-announce__text{font-size:.92rem;line-height:1.55;color:#2f4b60}
html body .bsg-announce__text>:first-child{margin-top:0}html body .bsg-announce__text>:last-child{margin-bottom:0}
html body .bsg-announce__text a{color:#0a6fb8}html body .bsg-announce__text img{max-width:100%;height:auto}
html body .bsg-announce__close{flex:none;border:0;background:transparent;color:#52708a;cursor:pointer;font-size:1rem;padding:4px 6px;border-radius:6px}
html body .bsg-announce__close:hover{background:#dcebf7;color:#0b2a40}
html body .bsg-info{margin-top:18px}
html body .bsg-info__body{display:flex;gap:22px;align-items:flex-start;padding:18px 22px;color:#0b2a40}
html body .bsg-info__icon{flex:none;display:grid;place-items:center;width:56px;height:56px;border-radius:14px;background:#e3f0fb;color:#0a6fb8;font-size:1.7rem}
html body .bsg-info__text{flex:1;min-width:0;font-size:.92rem;line-height:1.7}
html body .bsg-info__text p{margin:0 0 4px}
html body .bsg-info__text a{color:#0a6fb8;font-weight:600;text-decoration:none}
html body .bsg-info__legend{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;margin-top:6px!important}
html body .bsg-info__legend>span:first-child{color:#52708a}
html body .bsg-legend{display:inline-flex;align-items:center;gap:6px}
html body .bsg-legend i{width:10px;height:10px;border-radius:50%;display:inline-block}
html body .bsg-legend b{font-weight:700}
html body .bsg-info__stats{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:6px 28px}
html body .bsg-info__stats li{display:flex;justify-content:space-between;gap:12px;padding:5px 0;border-bottom:1px dashed #d8e6f1}
html body .bsg-info__stats li span{color:#52708a}html body .bsg-info__stats li strong{color:#0b2a40}
@media(max-width:600px){html body .bsg-info__body{flex-direction:column;align-items:stretch;gap:12px;padding:14px}html body .bsg-info__text{flex:none;width:100%}html body .bsg-announce{padding:12px}}
html body .bsg-forum-credit{margin:18px 0 6px;text-align:center;font-size:.82rem;color:#52708a}
html body .bsg-forum-credit a{color:#0a6fb8;font-weight:600;text-decoration:none}
html body .bsg-forum-credit a:hover{text-decoration:underline}
html body .bsg-legend-badge{display:inline-flex;align-items:center;gap:6px;vertical-align:middle}
html body .bsg-legend-badge .bsg-badge-png{display:block;height:22px!important;width:auto!important;max-width:150px!important;border-radius:4px}
html body .bsg-legend-badge.bsg-member-badge--image-only{padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
html body .bsg-info__legend{gap:8px 10px!important}
/* 1.11.40 — clearer statistics */
html body .bsg-stats{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(0,1.4fr) minmax(0,1fr);gap:22px 32px;align-items:start}
html body .bsg-stats__group h3{margin:0 0 10px;font-size:.74rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#52708a}
html body .bsg-stats__tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
html body .bsg-stat-tile{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:10px 12px;border:1px solid #d8e6f1;border-radius:10px;background:#fff}
html body .bsg-stat-tile i{color:#0a6fb8;font-size:1rem}
html body .bsg-stat-tile strong{font-size:1.5rem;line-height:1.15;color:#0b2a40;font-variant-numeric:tabular-nums}
html body .bsg-stat-tile span{font-size:.78rem;color:#52708a}
html body .bsg-stats__table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid #d8e6f1;border-radius:10px;overflow:hidden;background:#fff;font-size:.88rem}
html body .bsg-stats__table th,html body .bsg-stats__table td{padding:8px 12px;text-align:center;border:0;border-bottom:1px solid #e6eff7;background:none}
html body .bsg-stats__table thead th{font-size:.72rem;font-weight:700;color:#52708a;text-transform:uppercase;letter-spacing:.04em;background:#f2f8fd}
html body .bsg-stats__table tbody th{text-align:left;font-weight:600;color:#0b2a40}
html body .bsg-stats__table tbody tr:last-child th,html body .bsg-stats__table tbody tr:last-child td{border-bottom:0}
html body .bsg-stats__table td{font-weight:700;color:#0b2a40;font-variant-numeric:tabular-nums}
html body .bsg-stats__latest{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #d8e6f1;border-radius:10px;background:#fff}
html body .bsg-stats__latest img{width:40px;height:40px;border-radius:50%;max-width:none}
html body .bsg-stats__latest a{font-weight:700;min-width:0;overflow:hidden;text-overflow:ellipsis}
@media(max-width:1000px){html body .bsg-stats{grid-template-columns:1fr}}
@media(max-width:520px){html body .bsg-stats__tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){html body .bsg-info__icon{display:none}}
/* legend badges: always inline, in a row (the post-author badge stack styles must not apply here) */
body.bbpress main.bsg-aurora-page .bsg-info__legend{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-start!important;gap:8px 10px!important}
body.bbpress main.bsg-aurora-page .bsg-info__legend .bsg-legend-badge{display:inline-flex!important;align-items:center!important;width:auto!important;max-width:none!important;margin:0!important;flex:none!important;align-self:center!important}
body.bbpress main.bsg-aurora-page .bsg-info__legend .bsg-legend-badge.bsg-member-badge--image-only{padding:0!important;border:0!important;background:none!important;box-shadow:none!important;overflow:visible!important}
body.bbpress main.bsg-aurora-page .bsg-info__legend .bsg-legend-badge img.bsg-badge-png{display:block!important;width:auto!important;height:auto!important;max-width:170px!important;max-height:34px!important;margin:0!important;object-fit:contain!important}
/* 1.11.42 — configurable legend (Forums → Legend) */
body.bbpress main.bsg-aurora-page .bsg-info__legend-title{color:#52708a;margin-right:2px}
body.bbpress main.bsg-aurora-page .bsg-legend-item{display:inline-flex!important;align-items:center;gap:6px;flex:none;margin:0!important}
body.bbpress main.bsg-aurora-page .bsg-legend-item--name i{width:10px;height:10px;border-radius:50%;display:inline-block}
body.bbpress main.bsg-aurora-page .bsg-legend-item--name b{font-weight:700}
body.bbpress main.bsg-aurora-page .bsg-legend-item--image img{display:block!important;width:auto!important;max-width:220px!important;height:26px;object-fit:contain!important;margin:0!important}

/* 1.11.43 — mobile: Statistics/Members content uses the full panel width */
@media(max-width:600px){html body .bsg-info__body{align-items:stretch!important}html body .bsg-info__text{width:100%!important;flex:none!important}html body .bsg-stats__latest a{overflow-wrap:anywhere}}
