/* P1N Community Engine 0.1.8 — rich forum directories and unified activity. All colors inherit community themes. */
.ce-structure-plus{padding:18px 20px 10px;position:relative;overflow:hidden}
.ce-structure-plus::before{content:"";position:absolute;inset:0 0 auto;height:2px;background:linear-gradient(90deg,var(--brand-accent),transparent 78%);pointer-events:none;opacity:.9}
.ce-mini-eyebrow{display:block;color:var(--brand-accent);font-weight:800;letter-spacing:.14em;font-size:.62rem;margin-bottom:4px}
.ce-space-summary{display:flex;align-items:center;gap:13px;flex-wrap:wrap;margin-left:auto;font-size:.73rem;color:var(--muted)}
.ce-space-summary>span{padding:6px 9px;border-radius:8px;background:color-mix(in srgb,var(--brand-accent) 8%,var(--surface));border:1px solid var(--line);white-space:nowrap}
.ce-space-summary>a{color:var(--brand-accent);font-weight:750;display:inline-flex;align-items:center;gap:3px;white-space:nowrap}
.ce-forum-category{margin:15px 0 25px}
.ce-forum-category-enhanced{display:flex;align-items:center;gap:12px;padding:13px 13px 12px;margin-bottom:11px;border-radius:12px;background:linear-gradient(110deg,color-mix(in srgb,var(--brand-accent) 7%,var(--surface-2)),var(--surface-2));border:1px solid var(--line)}
.ce-forum-category-enhanced>span{background:color-mix(in srgb,var(--brand-accent) 12%,var(--surface));font-size:1.2rem}
.ce-forum-cat-copy{flex:1;min-width:0}.ce-forum-cat-copy h3 a{font-size:.99rem}.ce-forum-cat-copy small{display:block;overflow-wrap:anywhere}
.ce-cat-counts{margin-left:auto;display:flex;align-items:center;gap:12px;font-size:.71rem;color:var(--muted);white-space:nowrap}
.ce-cat-counts span+span{border-left:1px solid var(--line);padding-left:12px}
.ce-forum-grid-enhanced{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ce-rich-forum{border-color:color-mix(in srgb,var(--card-accent) 25%,var(--line));background:linear-gradient(145deg,color-mix(in srgb,var(--card-accent) 8%,transparent),transparent 68%),var(--surface);display:flex;flex-direction:column;min-width:0}
.ce-rich-forum .ce-forum-card-main{min-height:87px;padding:15px;align-items:flex-start}
.ce-rich-forum .ce-forum-card-main>span:nth-child(2){padding-top:3px}
.ce-rich-forum .ce-forum-card-main strong{font-size:.95rem;line-height:1.4;color:var(--ink)}
.ce-rich-forum .ce-forum-card-main small{line-height:1.45;max-width:45ch}
.ce-rich-forum .ce-forum-icon{width:46px;height:46px;border:1px solid color-mix(in srgb,var(--card-accent) 32%,var(--line));font-size:1.25rem}
.ce-forum-data{margin-top:auto;display:flex;flex-wrap:wrap;align-items:center;gap:12px;border-top:1px solid var(--line);padding:11px 14px;background:color-mix(in srgb,var(--surface-2) 55%,transparent)}
.ce-forum-metrics{display:flex;align-items:center;gap:12px;white-space:nowrap;flex:0 0 auto;font-size:.72rem;color:var(--muted)}
.ce-forum-metrics b{font-variant-numeric:tabular-nums;color:var(--ink);font-size:.83rem}
.ce-forum-latest{min-width:160px;flex:1;border-left:1px solid var(--line);padding-left:12px;display:grid;gap:2px}
.ce-forum-latest>small{font-size:.56rem;letter-spacing:.11em;color:var(--muted);font-weight:800}
.ce-forum-latest>a{font-size:.77rem;font-weight:750;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink);display:block}
.ce-forum-latest>a:hover{color:var(--brand-accent)}
.ce-forum-latest>span{font-size:.68rem;line-height:1.35;color:var(--muted)}
.ce-subforum-list{padding:9px 14px}.ce-subforum-list>a{background:color-mix(in srgb,var(--card-accent) 5%,var(--surface));max-width:100%;overflow-wrap:anywhere}
.ce-feed-item{display:flex!important;align-items:center;gap:12px;min-width:0;padding:14px 16px;border-bottom:1px solid var(--line);transition:background .15s}
.ce-feed-item:last-child{border-bottom:0}.ce-feed-item:hover{background:color-mix(in srgb,var(--brand-accent) 5%,transparent)}
.ce-feed-avatar{display:flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;min-width:40px}
.ce-feed-avatar>.avatar{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;max-width:40px!important;max-height:40px!important;object-fit:cover}
.ce-feed-copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:4px;overflow:hidden}
.ce-feed-title{display:flex;align-items:baseline;gap:6px;min-width:0;flex-wrap:wrap;font-size:.81rem;line-height:1.4}
.ce-feed-title strong{font-size:inherit}.ce-feed-title span:not(.ce-feed-type){color:var(--ink)}
.ce-feed-type{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:7px;background:color-mix(in srgb,var(--brand-accent) 12%,var(--surface));color:var(--brand-accent);font-weight:800;flex:0 0 auto}
.ce-feed-preview{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.77rem;color:var(--muted)}
.ce-feed-preview:hover{color:var(--brand-accent)}
.ce-feed-item>time{font-size:.72rem;color:var(--muted);margin-left:auto;white-space:nowrap;flex:0 0 auto}
.ce-activity-full{border:1px solid var(--line);border-radius:15px;background:var(--surface);overflow:hidden}
.ce-activity-header{display:flex;justify-content:space-between;align-items:center;font-size:.73rem;color:var(--muted);margin:18px 0 10px;gap:10px}
.ce-activity-full .ce-feed-item{min-height:76px}.ce-activity-full .ce-feed-avatar{width:44px;height:44px;flex-basis:44px}
.ce-activity-full .ce-feed-avatar .avatar{width:44px!important;height:44px!important;min-height:44px!important;min-width:44px!important;max-width:44px!important;max-height:44px!important}
.ce-admin-member-badges{margin-top:6px;display:flex;flex-wrap:wrap;gap:4px}
.ce-staff-badge{margin-left:4px}
.ce-rich-forum:focus-within,.ce-feed-item:focus-within{outline:2px solid var(--brand-accent);outline-offset:2px}
@media(max-width:1200px){.ce-forum-data{flex-direction:column;align-items:stretch;gap:7px}.ce-forum-latest{border-left:0;padding-left:0;border-top:1px solid var(--line);padding-top:9px}.ce-space-summary{justify-content:flex-start}}
@media(max-width:800px){.ce-forum-grid-enhanced{grid-template-columns:1fr}.ce-space-heading{align-items:flex-start;flex-direction:column}.ce-cat-counts{font-size:.65rem;gap:7px}.ce-cat-counts span+span{padding-left:7px}.ce-forum-category-enhanced{flex-wrap:wrap}.ce-cat-counts{width:100%;margin-left:0;padding-left:52px}.ce-feed-item{padding:11px 10px;gap:9px}.ce-feed-item>time{font-size:.64rem;align-self:flex-start}.ce-feed-title{font-size:.75rem}.ce-feed-avatar{flex-basis:34px;width:34px;height:34px}.ce-feed-avatar>.avatar{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;max-width:34px!important;max-height:34px!important}}
@media(max-width:480px){.ce-space-summary{gap:5px}.ce-cat-counts{padding-left:0}.ce-feed-item{flex-wrap:wrap}.ce-feed-item>time{margin-left:43px}.ce-feed-copy{width:calc(100% - 43px);flex:1}.ce-forum-data{gap:10px}}

.ce-member-directory-badge{display:block;margin-top:5px}.ce-member-directory-badge .role-badge{font-size:.62rem}.member-card{min-width:0}.member-card>span{min-width:0}.member-card strong{overflow-wrap:anywhere}

.ce-forum-latest span b{font-weight:700}
