/* Classic table colors/header rules adapted from the archived NOUNBLOX forum
   skin. Credits and pinned sources: /assets/community/sources.json and
   legacy/community/README.md. Layout and application behavior are EpikBlox. */
.community-page { color:#253447; }
.community-heading { display:flex; justify-content:space-between; gap:18px; align-items:center; margin:0 0 16px; }
.community-heading h1 { margin:0 0 5px; font-size:25px; font-weight:bold; color:#254f83; }
.community-heading p { margin:0; }
.breadcrumbs { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:14px; font-size:12px; overflow-wrap:anywhere; }
.community-panel { border:1px solid #013da4; margin:18px 0; background:#fff; }
.community-bar { margin:0; padding:7px 12px; color:white; font:bold 13px Verdana,Arial,sans-serif; background:#4455aa url('/assets/community/forumHeaderBackground.gif') repeat-x left top; }
.community-icon { object-fit:contain; width:27px; height:27px; flex-shrink:0; image-rendering:auto; }
.forum-section { display:grid; grid-template-columns:36px minmax(0,1fr) 88px; align-items:center; gap:10px; padding:15px; background:#def; color:inherit; border-top:1px solid #b5c7e0; }
.forum-section:nth-child(even) { background:#dae7fd; }
.forum-section:hover { background:#d4d9ec; text-decoration:none; }
.forum-section h3 { font-size:14px; color:#013da4; margin:0 0 4px; }
.forum-section p { margin:0; }
.section-total { text-align:right; color:#365173; font-size:11px; }
.table-scroll { overflow-x:auto; }
.community-table { width:100%; border-collapse:collapse; text-align:left; }
.community-table th { background:#ebedf6 url('/assets/community/forumHeaderBackgroundAlternate.gif') repeat-x; padding:7px 12px; font-size:11px; color:#1c3c63; }
.community-table td { padding:13px 12px; border-top:1px solid #d2dceb; }
.community-table tbody tr:nth-child(even) { background:#f1f6fd; }
.community-table .topic-cell { display:flex; gap:10px; align-items:center; min-width:0; }
.topic-title { font-weight:bold; font-size:13px; overflow-wrap:anywhere; }
.topic-detail { font-size:11px; color:#64738a; margin-top:4px; }
.number-column { width:65px; text-align:center; }
.last-column { width:185px; }
.last-column time { font-size:11px; }
.community-page #editor { margin:0 0 20px; border:1px solid #8da5bf; border-top:3px solid #527caa; padding:15px; background:#f1f5fa; }
.community-composer h2 { font-size:16px; color:#234f80; }
.composer-fields { display:grid; grid-template-columns:210px minmax(0,1fr); gap:14px; }
.community-composer label { font-size:12px; }
.community-composer input,.community-composer select { width:100%; margin-bottom:10px; }
.community-composer textarea { min-height:90px; background:#fff; }
.composer-actions { display:flex; align-items:center; flex-wrap:wrap; gap:12px; }
.composer-actions span { font-size:11px; }
.empty-state { margin:0; padding:18px; color:#66788b; }
.list-more { margin:14px; }
.thread-tools { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:12px; }
.forum-post { display:grid; grid-template-columns:145px minmax(0,1fr); border:1px solid #99afd0; margin:10px 0; background:#fff; scroll-margin-top:15px; }
.post-author { background:#def; border-right:1px solid #b3c6de; display:flex; flex-direction:column; align-items:center; gap:4px; padding:12px 6px; text-align:center; }
.post-author .author-name { font-weight:bold; font-size:12px; overflow-wrap:anywhere; max-width:100%; }
.post-author img { display:block; width:90px; height:130px; object-fit:contain; }
.post-author span { font-size:10px; }
.post-content { min-width:0; }
.post-meta { display:flex; gap:8px; justify-content:space-between; flex-wrap:wrap; background:#ebedf6; color:#5a6b81; padding:7px 12px; font-size:11px; border-bottom:1px solid #d2dceb; }
.post-meta time { font-size:11px; }
.post-message { padding:16px; margin:0; white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.65; }
#reply-count { margin-top:18px; }
#earlier { margin:0 0 5px; }
#composer-bottom { margin-top:20px; }
.member-filters { display:flex; align-items:end; flex-wrap:wrap; gap:10px; padding:14px; margin-bottom:18px; border:1px solid #9fb4ce; background:#eaf0f8; }
.member-filters > div:first-child { flex:1; min-width:150px; }
.member-filters input { width:100%; }
.member-filters label { font-size:12px; }
.member-filters button { min-height:36px; }
.member-badge { display:inline-block; padding:4px 9px; border:1px solid #b3c4db; background:#edf3fc; color:#38577f; font-size:11px; white-space:nowrap; }
.member-card { align-items:center; background:#f7f9fd; border:1px solid #b4c3d7; padding:10px; gap:8px; }
.member-card h2 { margin:4px 0 8px; font-size:14px; }
.member-card .member-number { color:#526b8b; font-size:10px; font-weight:bold; text-transform:uppercase; letter-spacing:.4px; }
.member-card .member-portrait { flex-shrink:0; }
.member-card img { width:80px; height:120px; }
.member-card .member-badge { padding:2px 5px; font-size:9px; margin-top:8px; }
.member-card p.muted { font-size:10px; }
.profile-layout { display:grid; grid-template-columns:240px minmax(0,1fr); gap:18px; }
.profile-layout .community-panel { margin:0; }
.profile-character { text-align:center; background:#f4f7fb; }
.profile-character img { display:block; object-fit:contain; width:210px; height:300px; margin:12px auto; }
.profile-details { padding:18px; }
.profile-details dl { display:grid; grid-template-columns:145px minmax(0,1fr); gap:12px; margin:0 0 24px; }
.profile-details dt { font-weight:bold; color:#4f6580; }
.profile-details dd { margin:0; }
.profile-details h3 { font-size:13px; }
.profile-stats { display:grid; grid-template-columns:repeat(3,1fr); border:1px solid #c5d2e3; margin:12px 0 20px; }
.profile-stats div { display:flex; flex-direction:column; align-items:center; gap:3px; padding:14px 6px; background:#edf3fc; }
.profile-stats div+div { border-left:1px solid #c5d2e3; }
.profile-stats strong { font-size:23px; color:#345f92; }
.profile-stats span { font-size:11px; }
.profile-badges-panel { margin-top:18px; }
.profile-badges { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:16px; list-style:none; margin:0; padding:18px; }
.profile-badges:empty { display:none; }
.profile-badge { display:flex; flex-direction:column; align-items:center; gap:7px; text-align:center; }
.profile-badge img { width:64px; height:64px; object-fit:contain; }
.profile-badge span { color:#4f6580; font-size:11px; max-width:240px; }
.recent-topics { list-style:none; margin:0; padding:0; }
.recent-topics li { display:flex; justify-content:space-between; gap:12px; padding:13px 16px; border-bottom:1px solid #d5dfec; }
.recent-topics a { overflow-wrap:anywhere; }
.recent-topics time { flex-shrink:0; font-size:11px; }
@media(max-width:720px) {
  .composer-fields { grid-template-columns:180px minmax(0,1fr); }
  .profile-layout { grid-template-columns:190px minmax(0,1fr); }
  .profile-character img { width:165px; height:245px; }
  .profile-details dl { grid-template-columns:1fr; gap:5px; }.profile-details dd { margin-bottom:10px; }
  .profile-details { padding:12px; }
}
@media(max-width:540px) {
  .community-heading h1 { font-size:21px; }.community-heading { align-items:start; }
  .composer-fields,.profile-layout { grid-template-columns:1fr; }
  .forum-section { grid-template-columns:28px minmax(0,1fr); padding:12px; gap:8px; }
  .section-total { grid-column:2; text-align:left; }
  .community-table th:last-child,.community-table .last-column { display:none; }
  .community-table td { padding:12px 8px; }
  .forum-post { grid-template-columns:93px minmax(0,1fr); }
  .post-author img { width:70px; height:100px; }.post-author .author-name { font-size:10px; }
  .post-message { padding:12px; }.post-meta { padding:6px 9px; }
  .member-filters > div { width:100%; }.member-filters select { width:100%; }
  .member-grid { grid-template-columns:1fr; }.member-card img { width:85px; height:120px; }
  .member-card h2 { font-size:16px; }
  .recent-topics li { flex-direction:column; gap:4px; }
}

.profile-bio-text{white-space:pre-wrap;overflow-wrap:anywhere;padding:0 20px 20px}.profile-tabs{display:flex;gap:0;list-style:none;padding:0}.profile-tabs a{display:block;padding:12px 24px;color:inherit}.profile-tabs .active{border-bottom:3px solid currentColor}.profile-games{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:20px;padding:20px}.profile-game{display:flex;flex-direction:column;gap:10px;color:inherit;overflow-wrap:anywhere}.profile-game img{width:100%;height:auto;aspect-ratio:8/5;object-fit:cover}.profile-creations>h3,.profile-creations>p{padding:0 20px}.tab-pane[hidden]{display:none!important}
