.daa-community-shell {
    max-width: 1040px;
    margin: 0 auto;
    color: #203553;
}

.daa-community-hero,
.daa-community-heading,
.daa-member-detail {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 22px;
    border: 1px solid #91b8ec;
    border-radius: 16px;
    background: linear-gradient(135deg, #fafdff, #e9f3ff);
    box-shadow: 0 10px 28px rgba(24, 75, 145, .12);
}

.daa-community-heading { justify-content: space-between; }
.daa-community-hero h1,
.daa-community-heading h1,
.daa-member-detail h1 { margin: 2px 0 8px; color: #174a9d; }

.daa-community-avatar {
    display: grid;
    width: 78px;
    height: 78px;
    flex: 0 0 auto;
    place-items: center;
    overflow: hidden;
    border: 3px solid #fff;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(145deg, #347ce0, #174a9d);
    box-shadow: 0 6px 15px rgba(23, 74, 157, .28);
    font-size: 26px;
    font-weight: 800;
}

.daa-community-avatar--large { width: 104px; height: 104px; border-radius: 22px; font-size: 34px; }
.daa-community-avatar--detail { width: 140px; height: 140px; border-radius: 26px; font-size: 42px; }
.daa-community-avatar img { width: 100%; height: 100%; object-fit: cover; }

.daa-rank {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 10px;
    border: 1px solid #91a5bf;
    border-radius: 999px;
    color: #3c4e64;
    background: #edf2f7;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .035em;
}

.daa-rank--solutions { border-color: #ab7a00; color: #694900; background: #fff2bd; }
.daa-rank--administrator { border-color: #2c7d43; color: #195d30; background: #dff4e4; }

.daa-community-message {
    margin: 16px 0;
    padding: 12px 15px;
    border-left: 4px solid #29994b;
    border-radius: 7px;
    color: #15592b;
    background: #e5f6e9;
    font-weight: 700;
}

.daa-community-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(250px, .8fr);
    gap: 18px;
    margin-top: 18px;
}

.daa-profile-form,
.daa-community-info {
    padding: 22px;
    border: 1px solid #b7c8df;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(35, 72, 121, .09);
}

.daa-field { display: grid; gap: 6px; margin-bottom: 18px; }
.daa-field label { color: #173d75; font-weight: 800; }
.daa-field input[type="text"],
.daa-field input[type="file"],
.daa-field textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 10px 11px;
    border: 1px solid #91a8c6;
    border-radius: 6px;
    color: #1f324d;
    background: #fff;
    font: inherit;
}
.daa-field textarea { resize: vertical; min-height: 125px; }
.daa-field input:focus,
.daa-field textarea:focus { outline: 3px solid rgba(45, 114, 219, .2); border-color: #2d72db; }
.daa-field small { color: #5d6f87; line-height: 1.4; }
.daa-profile-check { display: flex; gap: 8px; margin: -5px 0 18px; align-items: center; }

.daa-community-info h2 { margin-top: 0; color: #174a9d; }
.daa-community-info dl { margin: 18px 0; }
.daa-community-info dl div { padding: 9px 0; border-bottom: 1px solid #dce5f0; }
.daa-community-info dt { color: #64758c; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.daa-community-info dd { margin: 3px 0 0; font-weight: 700; }
.daa-community-info .xp-button { display: block; margin-bottom: 10px; text-align: center; }
.daa-community-account-link { display: block; text-align: center; }

.daa-member-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.daa-member-card {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 14px;
    padding: 17px;
    border: 1px solid #aec2dc;
    border-radius: 13px;
    color: inherit;
    background: #fff;
    box-shadow: 0 6px 18px rgba(36, 77, 127, .08);
    text-decoration: none;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.daa-member-card:hover { transform: translateY(-2px); border-color: #347ce0; box-shadow: 0 10px 24px rgba(31, 83, 153, .16); }
.daa-member-card h2 { overflow: hidden; margin: 4px 0 2px; color: #174a9d; font-size: 20px; text-overflow: ellipsis; }
.daa-member-card > p { grid-column: 1 / -1; margin: 0; color: #52677f; line-height: 1.5; }
.daa-username { color: #66788d; }

.daa-community-back { display: inline-block; margin-bottom: 14px; font-weight: 700; }
.daa-member-detail { align-items: flex-start; }
.daa-member-bio { max-width: 700px; line-height: 1.65; }
.daa-member-bio--empty { color: #687a90; font-style: italic; }

.start-menu__rank { display: block; margin-top: 2px; color: #dceaff; font-size: 11px; font-weight: 600; }

@media (max-width: 760px) {
    .daa-community-layout { grid-template-columns: 1fr; }
    .daa-community-heading { align-items: flex-start; flex-direction: column; }
    .daa-member-detail { flex-direction: column; }
    .daa-community-avatar--detail { width: 104px; height: 104px; }
}

@media (max-width: 520px) {
    .daa-community-hero { align-items: flex-start; flex-direction: column; }
    .daa-profile-form, .daa-community-info { padding: 16px; }
    .daa-member-grid { grid-template-columns: 1fr; }
}
.daa-intern-community {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto auto;
    align-items: center;
    gap: 12px;
    margin: 0 0 24px;
    padding: 16px 18px;
    border: 1px solid #9dbce8;
    border-left: 5px solid #2f8c31;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8fbff, #e8f2ff);
    box-shadow: 0 8px 20px rgba(27, 76, 145, .1);
}
.daa-intern-community div { display: grid; gap: 4px; }
.daa-intern-community strong { color: #174d98; font-size: 1.05rem; }
.daa-intern-community span { color: #526783; line-height: 1.4; }

@media (max-width: 720px) {
    .daa-intern-community { grid-template-columns: 1fr; }
    .daa-intern-community .xp-button { justify-content: center; }
}
