/* TavernWall v6.3.96 Profile / Member Card Polish
   Asset-based polish. Scoped to profile/member/friend pages by JS body class. */

body.tw-profile-member-polish .profile-card,
body.tw-profile-member-polish .member-card,
body.tw-profile-member-polish .friend-card,
body.tw-profile-member-polish .user-card,
body.tw-profile-member-polish .profile-panel,
body.tw-profile-member-polish .member-panel,
body.tw-profile-member-polish .directory-card,
body.tw-profile-member-polish .members-card {
    border: 1px solid rgba(255, 217, 85, .18);
    border-radius: 18px;
    background:
        radial-gradient(circle at 12% 0%, rgba(255, 217, 85, .07), transparent 40%),
        linear-gradient(180deg, rgba(38, 24, 11, .96), rgba(20, 12, 5, .96));
    box-shadow: 0 10px 28px rgba(0,0,0,.22);
    overflow: hidden;
}

body.tw-profile-member-polish .profile-header,
body.tw-profile-member-polish .member-header,
body.tw-profile-member-polish .profile-top,
body.tw-profile-member-polish .member-top,
body.tw-profile-member-polish .user-top {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    min-width: 0;
}

body.tw-profile-member-polish .profile-banner,
body.tw-profile-member-polish .cover-photo,
body.tw-profile-member-polish .banner,
body.tw-profile-member-polish .profile-cover {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 217, 85, .18);
    background: rgba(0,0,0,.14);
}

body.tw-profile-member-polish .profile-banner img,
body.tw-profile-member-polish .cover-photo img,
body.tw-profile-member-polish .banner img,
body.tw-profile-member-polish .profile-cover img {
    width: 100%;
    height: auto;
    max-height: 260px;
    object-fit: cover;
    display: block;
}

body.tw-profile-member-polish .avatar,
body.tw-profile-member-polish .profile-avatar,
body.tw-profile-member-polish .member-avatar,
body.tw-profile-member-polish .user-avatar {
    border: 2px solid rgba(255, 217, 85, .42);
    background: rgba(0,0,0,.18);
    box-shadow: 0 6px 20px rgba(0,0,0,.30);
}

body.tw-profile-member-polish .profile-name,
body.tw-profile-member-polish .member-name,
body.tw-profile-member-polish .user-name,
body.tw-profile-member-polish .profile-title,
body.tw-profile-member-polish .member-title,
body.tw-profile-member-polish .card-title {
    overflow-wrap: anywhere;
}

body.tw-profile-member-polish .profile-name,
body.tw-profile-member-polish .member-name,
body.tw-profile-member-polish .user-name {
    color: var(--gold, #ffd955);
    line-height: 1.05;
}

body.tw-profile-member-polish .profile-meta,
body.tw-profile-member-polish .member-meta,
body.tw-profile-member-polish .user-meta,
body.tw-profile-member-polish .profile-subtitle,
body.tw-profile-member-polish .member-subtitle {
    color: var(--muted, #bfae86);
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    align-items: center;
}

body.tw-profile-member-polish .quick-actions,
body.tw-profile-member-polish .profile-actions,
body.tw-profile-member-polish .member-actions,
body.tw-profile-member-polish .friend-actions,
body.tw-profile-member-polish .user-actions,
body.tw-profile-member-polish .action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

body.tw-profile-member-polish .quick-actions .mini-button,
body.tw-profile-member-polish .profile-actions .button,
body.tw-profile-member-polish .member-actions .button,
body.tw-profile-member-polish .friend-actions .button,
body.tw-profile-member-polish .user-actions .button,
body.tw-profile-member-polish .quick-actions button,
body.tw-profile-member-polish .profile-actions button,
body.tw-profile-member-polish .member-actions button,
body.tw-profile-member-polish .friend-actions button,
body.tw-profile-member-polish .user-actions button {
    min-height: 34px;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body.tw-profile-member-polish .tiny-inline-form,
body.tw-profile-member-polish .quick-actions form,
body.tw-profile-member-polish .profile-actions form,
body.tw-profile-member-polish .member-actions form {
    margin: 0;
    display: inline-flex;
}

body.tw-profile-member-polish .mini-pill,
body.tw-profile-member-polish .status-pill,
body.tw-profile-member-polish .badge,
body.tw-profile-member-polish .profile-badge,
body.tw-profile-member-polish .member-badge,
body.tw-profile-member-polish .class-badge,
body.tw-profile-member-polish .guild-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(255, 217, 85, .18);
    border-radius: 999px;
    padding: 5px 9px;
    background: rgba(0,0,0,.15);
    color: var(--paper, #eadfbf);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

body.tw-profile-member-polish .online,
body.tw-profile-member-polish .is-online,
body.tw-profile-member-polish .status-online,
body.tw-profile-member-polish [data-status="online"] {
    color: #9eff91 !important;
}

body.tw-profile-member-polish .offline,
body.tw-profile-member-polish .is-offline,
body.tw-profile-member-polish .status-offline,
body.tw-profile-member-polish [data-status="offline"] {
    color: var(--muted, #bfae86) !important;
}

body.tw-profile-member-polish .tw-online-dot,
body.tw-profile-member-polish .tw-offline-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
    box-shadow: 0 0 0 2px rgba(0,0,0,.25);
}

body.tw-profile-member-polish .tw-online-dot {
    background: #80e873;
    box-shadow: 0 0 8px rgba(128, 232, 115, .55);
}

body.tw-profile-member-polish .tw-offline-dot {
    background: #8e7e61;
}

body.tw-profile-member-polish .members-grid,
body.tw-profile-member-polish .member-grid,
body.tw-profile-member-polish .friends-grid,
body.tw-profile-member-polish .directory-grid,
body.tw-profile-member-polish .users-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 14px;
}

body.tw-profile-member-polish .member-card,
body.tw-profile-member-polish .friend-card,
body.tw-profile-member-polish .user-card {
    padding: 13px;
    display: grid;
    gap: 10px;
}

body.tw-profile-member-polish .member-card .quick-actions,
body.tw-profile-member-polish .friend-card .quick-actions,
body.tw-profile-member-polish .user-card .quick-actions {
    margin-top: 5px;
}

body.tw-profile-member-polish .profile-sections,
body.tw-profile-member-polish .profile-grid,
body.tw-profile-member-polish .profile-content-grid {
    display: grid;
    gap: 14px;
}

body.tw-profile-member-polish .profile-info-box,
body.tw-profile-member-polish .stats-box,
body.tw-profile-member-polish .music-box,
body.tw-profile-member-polish .about-box,
body.tw-profile-member-polish .guild-box,
body.tw-profile-member-polish .battle-box {
    border: 1px solid rgba(255, 217, 85, .14);
    border-radius: 16px;
    background: rgba(0,0,0,.13);
    padding: 12px;
}

body.tw-profile-member-polish .profile-music iframe,
body.tw-profile-member-polish .music-embed iframe,
body.tw-profile-member-polish .youtube-embed iframe,
body.tw-profile-member-polish iframe {
    max-width: 100%;
    border-radius: 14px;
}

body.tw-profile-member-polish .empty,
body.tw-profile-member-polish .empty-state,
body.tw-profile-member-polish .no-results,
body.tw-profile-member-polish .no-members {
    border: 1px dashed rgba(255, 217, 85, .24);
    border-radius: 16px;
    padding: 18px;
    text-align: center;
    color: var(--muted, #bfae86);
    background: rgba(0,0,0,.12);
}

body.tw-profile-member-polish .tw-owner-shortcuts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 10px;
}

body.tw-profile-member-polish .tw-owner-shortcuts a {
    min-height: 34px;
    border-radius: 999px;
    padding: 7px 12px;
}

body.tw-profile-member-polish .tw-profile-note {
    border: 1px solid rgba(255, 217, 85, .16);
    border-radius: 14px;
    padding: 10px;
    background: rgba(0,0,0,.12);
    color: var(--muted, #bfae86);
    font-size: 13px;
}

body.tw-profile-member-polish .danger,
body.tw-profile-member-polish .button.danger,
body.tw-profile-member-polish button.danger,
body.tw-profile-member-polish .mini-button.danger {
    border-color: rgba(255, 102, 102, .42);
}

@media (max-width: 800px) {
    body.tw-profile-member-polish .profile-header,
    body.tw-profile-member-polish .member-header,
    body.tw-profile-member-polish .profile-top,
    body.tw-profile-member-polish .member-top,
    body.tw-profile-member-polish .user-top {
        grid-template-columns: 1fr;
        text-align: left;
    }

    body.tw-profile-member-polish .members-grid,
    body.tw-profile-member-polish .member-grid,
    body.tw-profile-member-polish .friends-grid,
    body.tw-profile-member-polish .directory-grid,
    body.tw-profile-member-polish .users-grid {
        grid-template-columns: 1fr;
    }

    body.tw-profile-member-polish .quick-actions .mini-button,
    body.tw-profile-member-polish .profile-actions .button,
    body.tw-profile-member-polish .member-actions .button,
    body.tw-profile-member-polish .friend-actions .button,
    body.tw-profile-member-polish .user-actions .button,
    body.tw-profile-member-polish .quick-actions button,
    body.tw-profile-member-polish .profile-actions button,
    body.tw-profile-member-polish .member-actions button {
        flex: 1 1 auto;
    }
}
