/* AETHYR — community module (forum + guilds). Builds on site.css tokens. */
.grow{flex:1;min-width:0}
.crumbs{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--dim);margin-bottom:22px}
.crumbs a{color:#9fb2bc}.crumbs a:hover{color:#fff}.crumbs b{font-weight:500;color:#c4d0d5;max-width:46ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chip.tiny{font-size:9.5px;padding:1px 6px;margin-left:6px;vertical-align:middle;letter-spacing:.1em;text-transform:uppercase}
mark{background:rgba(157,185,197,.22);color:#fff;padding:0 2px}

/* ---------- forum index / boards ---------- */
.forum-search{margin-bottom:30px}
.forum-search input{flex:1;min-width:0}
.row .last a{color:var(--ice)}
.row.guild-row{background:linear-gradient(90deg,rgba(201,164,106,.05),#080c10 45%)}
.row .flags{display:inline}
.row .flags .chip{vertical-align:2px}
.mobile-n{display:none}
.recent{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.recent li>a{display:block;font-size:14px;line-height:1.4}
.recent li .small{display:block;margin-top:2px}
.board-head,.guild-head{display:flex;gap:24px;align-items:flex-end;flex-wrap:wrap;margin-bottom:28px}
.board-head .h2,.guild-head .h2,.thread-head .h2{margin:0 0 8px;font-size:clamp(28px,3.6vw,46px)}
.board-head .guild-emblem{width:64px;height:64px;font-size:17px}

/* ---------- threads / posts ---------- */
.thread-head{margin-bottom:22px}
.thread-head .h2{overflow-wrap:anywhere}
.thread-meta{display:flex;gap:8px 18px;flex-wrap:wrap;align-items:center}
.mod-bar{display:flex;gap:8px;flex-wrap:wrap;align-items:center;padding:12px 14px;border:1px solid rgba(201,164,106,.35);background:rgba(201,164,106,.04);margin-bottom:22px}
.mod-bar>.label{color:#e8cf9f;margin-right:8px}
.mod-more{position:relative}
.mod-more>summary{list-style:none}.mod-more>summary::-webkit-details-marker{display:none}
.mod-forms{display:grid;gap:10px;margin-top:10px;padding:14px;border:1px solid var(--line2);background:#090d12;min-width:min(520px,80vw)}
.mod-forms form{display:flex;gap:8px}
.mod-forms input,.mod-forms select{padding:8px 10px;font-size:14px;flex:1;min-width:0}
.posts{margin-top:4px}
.post .who{display:flex;flex-direction:column;align-items:flex-start}
.post .who .avatar.big{width:64px;height:64px;font-size:26px}
.who-info{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0}
.who-info .name{margin:10px 0 0!important}
.as-char{font-size:12.5px;color:var(--muted);line-height:1.5}
.as-guild{display:flex;align-items:center;gap:6px;font-size:12px;color:#c4d0d5;margin-top:3px}
.guild-emblem.xs{width:14px;height:14px;font-size:0}
.who-stats{display:grid;grid-template-columns:auto 1fr;gap:2px 10px;margin:6px 0 0;font-size:11.5px}
.who-stats dt{color:var(--dim)}.who-stats dd{margin:0;color:#aebcc4}
.post .meta a{color:var(--muted)}.post .meta a:hover{color:#fff}
.post .content blockquote.q{margin:10px 0 14px}
.post .acts{align-items:center;flex-wrap:wrap}
.post .acts a{color:var(--ice)}
.report>summary{list-style:none;display:inline}.report>summary::-webkit-details-marker{display:none}
.report[open]{flex-basis:100%}
.report-form{display:flex;gap:8px;margin-top:10px}
.report-form input{padding:8px 10px;font-size:13px;flex:1;min-width:0}
.reply-box{margin-top:26px}
.reply-box textarea{min-height:150px}
.as-inline{display:flex;align-items:center;gap:8px}
.as-inline select{width:auto;max-width:260px;padding:7px 34px 7px 10px;font-size:13px}
.poster{display:flex;align-items:center;gap:10px;font-size:15px}
.as-select{max-width:420px}

/* ---------- search ---------- */
.search-results{display:grid;gap:1px;background:var(--line);border:1px solid var(--line)}
.hit{background:#080c10;padding:20px 24px}
.hit .title{font:500 18px Cinzel;color:#fff;display:block;margin-bottom:4px}
.hit .copy{margin:10px 0 0}

/* ---------- guilds ---------- */
.guild-head{align-items:center}
.guild-head .guild-emblem{width:96px;height:96px;font-size:20px;letter-spacing:.02em}
.motd{font:400 17px/1.5 Cinzel;color:#c4d0d5;margin:0;max-width:760px}
.guild-cell{display:flex;align-items:center;gap:14px;color:#fff}
.guild-cell span{display:flex;flex-direction:column;line-height:1.35}
.guild-cell b{font:500 16px Cinzel}
.guild-cell em{font-style:normal}
.guild-table td:first-child .chip{margin-left:48px;margin-top:4px}
.guild-emblem.sm{font-size:9.5px;letter-spacing:0}
.grade-block{margin-bottom:28px}
.grade-title{font:500 12px Inter;letter-spacing:.24em;text-transform:uppercase;color:#9fb2bc;margin-bottom:10px}
table.data.members{min-width:480px;table-layout:fixed}
.members th:nth-child(1){width:30%}.members th:nth-child(2){width:24%}.members th:nth-child(3){width:12%}.members th:nth-child(4){width:16%}
.manage-members th:nth-child(5){width:18%}.manage-members th:nth-child(1){width:26%}.manage-members th:nth-child(2){width:16%}.manage-members th:nth-child(3){width:28%}.manage-members th:nth-child(4){width:12%}
.gtitle{font-style:italic;color:#c4d0d5}
.guild-desc{margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}
.inline-row{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 0;border-bottom:1px solid var(--line)}
.inline-row:last-child{border-bottom:0}
.app{border-bottom:1px solid var(--line);padding-bottom:6px;margin-bottom:6px}.app:last-child{border-bottom:0}
.app .inline-row{border:0}
.app blockquote.q{margin:0 0 8px}
.color-pick{display:flex;align-items:center;gap:16px}
.title-form{display:flex;gap:8px;align-items:center}
.title-form input{padding:6px 10px;font-size:13px;min-width:120px}
.manage-members td .linkbtn+.linkbtn,.manage-members td form+form{margin-left:12px}
.danger-zone{border-color:rgba(196,80,90,.35)}
.panel .toolbar input.grow{min-width:0}

@media(max-width:900px){
  .mobile-n{display:inline}
  .row .last{font-size:12px}
  .post .who{flex-direction:row;align-items:center}
  .post .who .avatar.big{width:44px;height:44px;font-size:18px}
  .who-info{flex-direction:row;flex-wrap:wrap;align-items:center;gap:4px 10px}
  .who-info .name{margin:0!important}
  .who-stats{display:none}
  .as-char{flex-basis:100%}
  .as-guild{display:inline-flex;margin:0 0 0 6px}
  .post .body{padding:18px}
  .guild-head .guild-emblem{width:64px;height:64px;font-size:17px}
  .board-head,.guild-head{gap:16px}
  .mod-forms{min-width:0;width:calc(100vw - 12vw - 30px)}
}
@media(max-width:520px){
  .forum-search{flex-wrap:nowrap}
  .forum-search input{min-width:0}
  .report-form,.mod-forms form{flex-wrap:wrap}
  .as-inline select{max-width:190px}
  .hit{padding:16px}
}
.side>*,.cols2>*{min-width:0}   /* let .table-wrap scroll inside grid columns instead of widening the page */
.cols2>.panel+.panel{margin-top:0}
@media(max-width:900px){.board-head>.btn-row,.guild-head>.btn-row{flex-basis:100%}}
