/* P1N Community Engine 0.3.1 Alpha.8.2
   Long-title-safe discussion summaries, theme-variable-aware. */
/* Prefix and pin status form their own predictable line, never stealing title width. */
.ce320-topic-labels{display:flex;align-items:center;flex-wrap:wrap;gap:5px 7px;min-width:0;max-width:100%;}
.ce320-topic-labels .ce304-prefix{display:inline-flex;flex:0 1 auto;max-width:min(100%,190px);margin:0;font-size:.68rem;line-height:1.35;min-height:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.ce320-topic-labels .pin-label,.ce320-topic-labels .ce-rail-pin{flex:none;margin:0;}
/* Compact browse/home conversation lists. */
a.ce-home-topic.ce320-home-topic{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;column-gap:12px;min-width:0;max-width:100%;padding:11px 14px;}
.ce320-home-topic>.ce-home-topic-icon{grid-column:1;grid-row:1;width:38px;min-width:38px;min-height:38px;align-self:center;}
.ce320-home-topic>.ce-home-topic-text{display:flex;flex-direction:column;gap:4px;grid-column:2;grid-row:1;min-width:0;max-width:100%;overflow:hidden;}
.ce320-home-topic .ce320-topic-title{display:-webkit-box!important;flex:none!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;white-space:normal!important;overflow:hidden!important;text-overflow:ellipsis!important;overflow-wrap:anywhere;word-break:normal;font-size:.85rem;line-height:1.42;color:var(--ink,#eaf7ff);font-weight:760;min-width:0;max-width:100%;}
.ce320-home-topic .ce-home-topic-text>small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;max-width:100%;line-height:1.4;}
.ce320-home-topic .ce320-topic-aside{grid-column:3;grid-row:1;display:flex;align-items:center;gap:10px;justify-content:flex-end;min-width:96px;flex:none;align-self:center;}
.ce320-home-topic .ce320-topic-aside .ui-icon{flex:0 0 15px;width:15px;height:15px;color:var(--brand-accent,#39d1ee)}
.ce320-home-topic .ce-home-topic-count{min-width:0;white-space:nowrap;text-align:right;line-height:1.2;font-size:.76rem;}
/* Dedicated forum discussion list rows. The title gets 3 full lines. */
a.thread-item.ce320-thread-item{display:grid;grid-template-columns:44px minmax(0,1fr) 82px;align-items:center;column-gap:13px;row-gap:8px;min-width:0;padding:14px 16px;}
.ce320-thread-item>.topic-icon{grid-column:1;grid-row:1;align-self:center;}
.ce320-thread-item>.thread-summary{grid-column:2;grid-row:1;min-width:0;overflow:hidden;}
.ce320-thread-item .thread-summary>.ce320-topic-labels{margin-bottom:5px;}
.ce320-thread-item .thread-summary>.ce320-topic-title{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden!important;overflow-wrap:anywhere;word-break:normal;line-height:1.45;font-size:.9rem;min-width:0;max-width:100%;white-space:normal!important;text-overflow:ellipsis!important;color:var(--ink,#ecf7ff)}
.ce320-thread-item .thread-summary>p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;line-clamp:1;overflow:hidden;min-width:0;max-width:100%;overflow-wrap:anywhere;}
.ce320-thread-item .thread-summary>small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;max-width:100%;line-height:1.55;}
.ce320-thread-item>.ce320-thread-side{grid-column:3;grid-row:1;display:flex;flex-direction:column;justify-content:center;align-items:flex-end;gap:10px;min-width:0;max-width:82px;white-space:nowrap;}
.ce320-thread-item>.ce320-thread-side small{font-size:.73rem;line-height:1.3;color:var(--muted,#99bad6);white-space:nowrap;text-align:right}
.ce320-thread-item>.ce320-thread-side .ui-icon{width:17px;height:17px;color:var(--brand-accent,#39d1ee)}
/* Featured and recent discussion widgets in the right rail. */
.ce-rail-compact a.ce-rail-row.ce320-rail-topic{display:flex;flex-direction:column;align-items:stretch;gap:5px;min-width:0;max-width:100%;padding:11px 12px;}
.ce320-rail-topic .ce320-topic-labels .ce304-prefix{max-width:160px;font-size:.62rem;}
.ce320-rail-topic>.ce320-rail-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;white-space:normal;overflow-wrap:anywhere;line-height:1.4;max-width:100%;font-weight:750;color:var(--ink,#e9f5ff)}
.ce320-rail-topic>small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;max-width:100%;}
/* Full discussion heading: no truncation, the prefix sits above a long heading. */
.thread-hero .ce320-thread-heading{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0;max-width:100%;}
.thread-hero .ce320-thread-heading .ce304-prefix{max-width:100%;}
.thread-hero .ce320-thread-heading .ce305-thread-heading-text{display:block;flex:none;max-width:100%;min-width:0;white-space:normal;overflow-wrap:anywhere;word-break:normal;}
@media(max-width:760px){
  a.ce-home-topic.ce320-home-topic{grid-template-columns:34px minmax(0,1fr) auto;column-gap:10px;}
  a.thread-item.ce320-thread-item{grid-template-columns:40px minmax(0,1fr) 70px;column-gap:10px;}
  .ce320-thread-item>.ce320-thread-side{display:flex;max-width:70px;}
  .ce320-home-topic .ce320-topic-aside{min-width:62px;gap:5px;}
  .ce320-home-topic .ce-home-topic-count span{display:none;}
}
@media(max-width:480px){
  a.ce-home-topic.ce320-home-topic{grid-template-columns:31px minmax(0,1fr) auto;column-gap:9px;padding:11px 10px;}
  .ce320-home-topic>.ce-home-topic-icon{width:31px;min-width:31px;min-height:34px;font-size:16px;}
  .ce320-home-topic .ce320-topic-title{font-size:.79rem;line-height:1.4;}
  .ce320-home-topic .ce320-topic-aside{min-width:24px;gap:0;}
  .ce320-home-topic .ce320-topic-aside .ui-icon{display:none;}
  a.thread-item.ce320-thread-item{grid-template-columns:34px minmax(0,1fr) 43px;column-gap:9px;padding:12px 10px;}
  .ce320-thread-item>.topic-icon{width:34px;height:34px;min-width:34px;font-size:1rem;}
  .ce320-thread-item>.ce320-thread-side{display:flex;max-width:43px;gap:5px;}
  .ce320-thread-item .ce320-thread-side .ui-icon{display:none;}
  .ce320-thread-item>.ce320-thread-side small{white-space:normal;text-align:right;font-size:.69rem;overflow-wrap:anywhere;}
  .ce320-thread-item .ce320-topic-title{font-size:.8rem;}
  .ce320-thread-item .ce320-topic-labels{gap:5px;}
  .ce320-topic-labels .ce304-prefix{max-width:min(100%,154px);}
}
@media(prefers-reduced-motion:reduce){.ce320-home-topic,.ce320-thread-item,.ce320-rail-topic{transition:none!important;}}
