/* Guild profile and recruitment, using the existing EvoMU palette. */
.guild-recruit-admin,.guild-profile__card { color:#c7c9d6; }
.guild-recruit-intro { margin:0 0 22px; color:#a6afc2; font-size:14px; line-height:1.7; }
.guild-recruit-section-title,.guild-profile__section { margin:0 0 14px; color:#c7d5ed; font-size:18px; font-weight:400; }
.guild-recruit-list { display:grid; gap:10px; }
.guild-recruit-card { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:18px; background:rgba(11,16,26,.75); border:1px solid rgba(159,181,218,.2); }
.guild-recruit-card__content { display:flex; flex-wrap:wrap; align-items:center; gap:10px 14px; min-width:0; }
.guild-recruit-card__content strong { color:#d6dfed; font-size:16px; font-weight:500; }
.guild-recruit-card__content > span:not(.guild-recruit-status) { color:#98a4b8; font-size:12px; }
.guild-recruit-status,.guild-recruit-badge { display:inline-block; padding:3px 8px; border:1px solid #424a5a; color:#a4adbc; font-size:11px; line-height:1.4; white-space:nowrap; }
.guild-recruit-status.is-open,.guild-recruit-badge { color:#b9d5ee; background:rgba(112,151,190,.12); border-color:rgba(139,177,214,.38); }
.guild-recruit-link { color:#a9c3e7; font-size:12px; overflow-wrap:anywhere; flex-basis:100%; }
.guild-recruit-form .guild-recruit-card { margin:16px 0 20px; }
.guild-recruit-form label { display:block; color:#bbc6d8; margin-bottom:8px; }
.guild-recruit-form input { width:100%; box-sizing:border-box; }
.guild-recruit-form small { display:block; margin-top:9px; color:#98a6bb; font-size:12px; line-height:1.6; }
.guild-profile__card { margin:0 20px 20px; padding:22px; background:rgba(10,15,24,.84); border:1px solid #354556; }
.guild-profile__header { display:flex; align-items:center; gap:20px; flex-wrap:wrap; padding-bottom:20px; border-bottom:1px solid rgba(159,181,218,.2); }
.guild-profile__mark { width:96px; height:96px; flex:none; background:#0a0f18; border:1px solid #364454; }
.guild-profile__mark img { display:block; width:100%; height:100%; image-rendering:pixelated; }
.guild-profile__identity { flex:1; min-width:140px; }
.guild-profile__identity h2 { margin:4px 0 8px; color:#d7e3f4; font-size:26px; font-weight:300; overflow-wrap:anywhere; }
.guild-profile__eyebrow { color:#96a9c5; font-size:11px; }
.guild-profile__discord { display:inline-flex; padding:11px 15px; border:1px solid #5f7391; background:rgba(113,141,181,.16); color:#d6e5f8; text-decoration:none; font-size:13px; }
.guild-profile__discord:hover { background:rgba(113,141,181,.3); color:#fff; }
.guild-profile__stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin:20px 0 28px; }
.guild-profile__stats > div { padding:12px; min-width:0; background:rgba(6,10,18,.4); border:1px solid rgba(159,181,218,.14); }
.guild-profile__stats dt { color:#939daf; font-size:11px; margin-bottom:5px; }
.guild-profile__stats dd { margin:0; color:#d0d7e5; font-size:14px; overflow-wrap:anywhere; }
.guild-profile__stats a { color:#b6cbed; }
.guild-profile__table-scroll { overflow-x:auto; }
.guild-profile__members { width:100%; min-width:620px; border-collapse:collapse; }
.guild-profile__members th,.guild-profile__members td { padding:12px 9px !important; text-align:center; border:0; border-bottom:1px solid rgba(159,181,218,.13); background:transparent; font-size:12px; }
.guild-profile__members th { background:rgba(159,181,218,.06); color:#a4aec2; font-size:11px; font-weight:400; line-height:1.5; }
.guild-profile__members td:nth-child(2),.guild-profile__members td:nth-child(3) { text-align:left; }
.guild-profile__members tbody tr:nth-child(even) td { background:rgba(159,181,218,.035); }
.guild-profile__members a { color:#c8d7ef; }
.guild-profile__metric { display:flex; flex-direction:column; gap:3px; line-height:1.4; font-variant-numeric:tabular-nums; }
.guild-profile__metric small,.guild-profile__members th small { color:#9caec9; font-size:10px; }
@media(max-width:700px){ .guild-profile__card { margin:0 10px 14px; padding:16px; } .guild-profile__stats { grid-template-columns:repeat(2,minmax(0,1fr)); } .guild-profile__mark { width:72px;height:72px; } .guild-recruit-card { align-items:flex-start; flex-direction:column; } }

.guild-ranking-scroll { overflow-x:auto; }
.guild-ranking-table { width:100%; min-width:500px; border-collapse:collapse; }
.guild-ranking-table th,.guild-ranking-table td { padding:13px 10px !important; border:0; border-bottom:1px solid rgba(159,181,218,.13); background:transparent; color:#c7d0df; font-size:12px; }
.guild-ranking-table th { background:rgba(159,181,218,.06); color:#a4aec2; font-size:11px; font-weight:400; }
.guild-ranking-table tbody tr:nth-child(even) td { background:rgba(159,181,218,.035); }
.guild-ranking-table a { color:#c8d7ef; }
.guild-ranking-table .guild-recruit-badge { margin-top:5px; }
/* Match the main ranking table rather than the legacy bright striped rows. */
.guild-profile .guild-profile__members { color:#c5c4ce; font-size:12px; line-height:1.5; }
.guild-profile .guild-profile__members thead tr { background:transparent; }
.guild-profile .guild-profile__members th { background:rgba(0,0,0,.28); color:#a7a5b6; }
.guild-profile .guild-profile__members tbody tr:nth-child(n) { background:transparent; }
.guild-profile .guild-profile__members tbody tr:nth-child(even) { background:rgba(172,173,221,.035); }
.guild-profile .guild-profile__members tbody tr:hover { background:rgba(172,173,221,.09); }
.guild-profile .guild-profile__members tbody tr:nth-child(n) td { background:transparent; border-bottom:1px solid rgba(172,173,221,.09); }
.guild-profile .guild-profile__members a { color:#dfdae9; }