/* Account settings */
.account-body,
.account-settings-page,
.profile-page {
    color: #fff;
    background: #202126;
}

.account-settings-page {
    min-height: 75svh;
}

.account-settings-shell {
    max-width: 1380px;
    padding-top: clamp(42px, 6vw, 82px) !important;
    padding-bottom: clamp(55px, 7vw, 94px) !important;
}

.account-settings-sidebar {
    position: sticky;
    top: 22px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 13px;
    background: #17181c;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
}

.account-settings-user {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.account-settings-user img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.account-settings-user strong,
.account-settings-user span {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-settings-user strong {
    font-size: 0.78rem;
}

.account-settings-user span {
    margin-top: 4px;
    color: #7e7f86;
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 0.68rem;
}

.account-settings-label {
    display: block;
    margin: 0 10px 11px;
    color: #62636a;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.account-settings-link {
    position: relative;
    display: flex;
    min-height: 43px;
    align-items: center;
    margin-bottom: 4px;
    padding: 10px 12px;
    color: #a5a6ac;
    font-size: 0.75rem;
    text-decoration: none;
    border-radius: 8px;
    transition: color 140ms ease, background-color 140ms ease;
}

.account-settings-link::before {
    position: absolute;
    top: 11px;
    bottom: 11px;
    left: 0;
    width: 2px;
    background: #ffc107;
    content: "";
    opacity: 0;
}

.account-settings-link:hover,
.account-settings-link:focus,
.account-settings-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.account-settings-link.active::before {
    opacity: 1;
}

.account-settings-profile-link {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    padding: 16px 10px 3px;
    color: #85868d;
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 0.72rem;
    text-decoration: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.account-settings-profile-link:hover {
    color: #ffc107;
}

.account-settings-heading {
    max-width: 760px;
    margin-bottom: 37px;
}

.account-settings-heading > span,
.profile-kicker,
.profile-panel-label {
    display: block;
    color: #ffc107;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.account-settings-heading h1 {
    margin: 11px 0 15px;
    font-size: clamp(2.5rem, 5vw, 4.8rem);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: 0;
}

.account-settings-heading p {
    margin: 0;
    color: #a0a1a7;
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 1rem;
    line-height: 1.65;
}

.account-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.account-overview-card {
    position: relative;
    min-height: 235px;
    padding: 28px;
    color: #fff;
    text-decoration: none;
    border-top: 3px solid #ffc107;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    background: #18191d;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    transition: border-color 160ms ease, transform 160ms ease;
}

.account-overview-card:hover,
.account-overview-card:focus {
    color: #fff;
    border-color: rgba(255, 193, 7, 0.3);
    transform: translateY(-3px);
}

.account-overview-card > span {
    color: #ffc107;
    font-size: 0.68rem;
}

.account-overview-card h2 {
    margin: 37px 0 11px;
    font-size: 1.15rem;
    font-weight: 700;
}

.account-overview-card p {
    margin-bottom: 21px;
    color: #8f9097;
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 0.86rem;
    line-height: 1.6;
}

.account-overview-card strong {
    color: #d3d4d8;
    font-size: 0.7rem;
}

.account-settings-card {
    width: 100%;
    max-width: 760px;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 13px;
    background: #18191d !important;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
}

.account-settings-card .card-body {
    padding: clamp(25px, 4vw, 42px);
}

.account-settings-card .card-title,
.account-settings-card .form-label {
    font-weight: 700;
}

.account-settings-card .form-label {
    margin-bottom: 8px;
    color: #c9cace;
    font-size: 0.72rem;
}

.account-settings-card .form-control {
    min-height: 48px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px;
    background: #292a2f !important;
}

.account-settings-card .form-control:focus {
    border-color: rgba(255, 193, 7, 0.55) !important;
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.1);
}

.account-settings-card .form-check {
    padding: 12px 14px 12px 42px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    background: #222328;
}

.account-settings-card .form-check-input {
    margin-top: 0.15em;
    margin-left: -1.7em;
    cursor: pointer;
    border-color: rgba(255, 255, 255, 0.22) !important;
    background-color: #292a2f !important;
}

.account-settings-card .form-check-input:checked {
    border-color: #ffc107 !important;
    background-color: #ffc107 !important;
}

.account-settings-card .form-check-input:focus {
    border-color: #ffc107 !important;
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.12);
}

.account-settings-card .form-check-label,
.account-settings-card .text-secondary {
    font-family: system-ui, -apple-system, sans-serif;
    line-height: 1.6;
}

.account-settings-card .btn-light {
    min-height: 46px;
    font-weight: 700;
    border-radius: 8px;
}

.passkey-list {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.passkey-list > strong {
    color: #f2f2f4;
    font-size: 0.86rem;
}

.passkey-list > p {
    margin: 0;
    color: #85868d;
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 0.82rem;
}

.passkey-list-item {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: #222328;
}

.passkey-list-item > div {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.passkey-list-item span {
    color: #fff;
    font-size: 0.86rem;
    font-weight: 700;
}

.passkey-list-item small {
    color: #8f9097;
    font-family: system-ui, -apple-system, sans-serif;
}

.passkey-expire-button {
    min-width: 78px;
    color: #ffb0b8;
    border: 1px solid rgba(220, 53, 69, 0.35);
    border-radius: 8px;
    background: rgba(220, 53, 69, 0.12);
    font-size: 0.76rem;
    font-weight: 700;
}

.passkey-expire-button:hover,
.passkey-expire-button:focus {
    color: #fff;
    border-color: #dc3545;
    background: #dc3545;
}

.profile-picture-card {
    max-width: 850px;
    overflow: hidden;
}

.profile-picture-intro {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: clamp(25px, 5vw, 48px);
    align-items: center;
    padding-bottom: 34px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-picture-preview-frame {
    position: relative;
    width: 190px;
    aspect-ratio: 1;
    padding: 7px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(255, 193, 7, 0.28), rgba(255, 255, 255, 0.035) 58%);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.28);
}

.profile-picture-preview-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 21px;
    background: #292a2f;
}

.profile-picture-preview-frame > span {
    position: absolute;
    right: 17px;
    bottom: 17px;
    padding: 7px 10px;
    color: #111;
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 0.63rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    border-radius: 999px;
    background: #ffc107;
    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.3);
}

.profile-picture-eyebrow {
    display: block;
    margin-bottom: 12px;
    color: #ffc107;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.profile-picture-copy h2 {
    max-width: 470px;
    margin: 0 0 13px;
    font-size: clamp(1.55rem, 3vw, 2.35rem);
    line-height: 1.08;
    letter-spacing: 0;
}

.profile-picture-copy p {
    max-width: 520px;
    margin: 0;
    color: #9b9ca3;
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 0.9rem;
    line-height: 1.7;
}

.profile-picture-upload-form {
    padding-top: 30px;
}

.profile-picture-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.profile-picture-dropzone {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    min-height: 94px;
    padding: 18px 20px;
    cursor: pointer;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 13px;
    background: #222328;
    transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.profile-picture-dropzone:hover,
.profile-picture-file-input:focus-visible + .profile-picture-dropzone {
    border-color: rgba(255, 193, 7, 0.7);
    background: #27282d;
    transform: translateY(-1px);
}

.profile-picture-file-input:focus-visible + .profile-picture-dropzone {
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.12);
}

.profile-picture-upload-icon {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    color: #ffc107;
    border-radius: 12px;
    background: rgba(255, 193, 7, 0.1);
}

.profile-picture-upload-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.profile-picture-upload-copy strong,
.profile-picture-upload-copy small {
    display: block;
}

.profile-picture-upload-copy strong {
    margin-bottom: 6px;
    font-size: 0.84rem;
}

.profile-picture-upload-copy small {
    max-width: 390px;
    overflow: hidden;
    color: #8e8f96;
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 0.72rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-picture-browse {
    padding: 10px 15px;
    color: #e9e9eb;
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
}

.profile-picture-save-button {
    min-height: 50px;
    margin-top: 16px;
    color: #111;
    font-weight: 800;
    border-color: #ffc107;
    border-radius: 9px;
    background: #ffc107;
}

.profile-picture-save-button:hover,
.profile-picture-save-button:focus {
    color: #111;
    border-color: #ffd044;
    background: #ffd044;
}

.profile-picture-danger-zone {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-picture-danger-zone strong {
    display: block;
    margin-bottom: 5px;
    font-size: 0.78rem;
}

.profile-picture-danger-zone p {
    margin: 0;
    color: #85868d;
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 0.75rem;
}

.profile-picture-delete-button {
    min-width: 135px;
    color: #ff9ca6;
    font-size: 0.72rem;
    font-weight: 700;
    border: 1px solid rgba(220, 53, 69, 0.45);
    border-radius: 8px;
    background: rgba(220, 53, 69, 0.08);
}

.profile-picture-delete-button:hover,
.profile-picture-delete-button:focus {
    color: #fff;
    border-color: #dc3545;
    background: #dc3545;
}

@media (max-width: 575.98px) {
    .profile-picture-intro {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .profile-picture-preview-frame {
        width: min(190px, 72vw);
        margin: 0 auto;
    }

    .profile-picture-copy p {
        margin-right: auto;
        margin-left: auto;
    }

    .profile-picture-dropzone {
        grid-template-columns: 46px minmax(0, 1fr);
        padding: 16px;
        text-align: left;
    }

    .profile-picture-upload-icon {
        width: 46px;
        height: 46px;
    }

    .profile-picture-browse {
        display: none;
    }

    .profile-picture-danger-zone {
        align-items: stretch;
        flex-direction: column;
    }

    .profile-picture-danger-zone form,
    .profile-picture-delete-button {
        width: 100%;
    }
}

.age-verification-status {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 10px;
    background: #222328;
}

.age-verification-status > span {
    display: grid;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    place-items: center;
    color: #111;
    font-size: 0.9rem;
    font-weight: 800;
    border-radius: 50%;
    background: #ffc107;
}

.age-verification-status.is-verified > span {
    color: #071d11;
    background: #47d987;
}

.age-verification-status h2 {
    margin: 0 0 5px;
    font-size: 1.15rem;
}

.age-verification-status p,
.age-verification-privacy p {
    margin: 0;
    color: #a0a1a7;
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 0.85rem;
    line-height: 1.6;
}

.age-verification-privacy {
    margin: 22px 0;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.age-verification-privacy strong {
    display: block;
    margin-bottom: 7px;
    font-size: 0.8rem;
}

.account-identity-form {
    width: 100%;
    max-width: 760px;
}

.account-identity-form .form-check-label {
    cursor: pointer;
}

.account-identity-consent {
    padding: 16px 18px 16px 46px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
}

.account-identity-consent .form-check-input {
    margin-top: 0.25rem;
}

.account-identity-consent .form-check-label {
    color: #c9cbd1;
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 0.88rem;
    line-height: 1.55;
}

.account-identity-submit {
    min-height: 50px;
    color: #111;
    font-weight: 700;
    border-color: #ffc107;
    border-radius: 8px;
    background: #ffc107;
}

.account-identity-submit:hover,
.account-identity-submit:focus {
    color: #111;
    border-color: #ffd044;
    background: #ffd044;
}

/* Public profile */
.profile-page {
    padding-bottom: clamp(60px, 8vw, 105px);
}

.profile-cover {
    position: relative;
    height: clamp(260px, 34vw, 450px);
    overflow: hidden;
    background: #18191d;
}

.profile-cover > img,
.profile-cover-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.profile-cover > img {
    object-fit: cover;
    object-position: center 38%;
}

.profile-cover-overlay {
    background:
        linear-gradient(90deg, rgba(7, 8, 11, 0.42), rgba(7, 8, 11, 0.08)),
        linear-gradient(0deg, #202126 0%, rgba(32, 33, 38, 0.08) 58%);
}

.profile-container {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin-top: -86px;
}

.profile-header-card {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr) auto;
    gap: 28px;
    align-items: end;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    background: rgba(24, 25, 29, 0.96);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(16px);
}

.profile-header-card.is-premium-member {
    border-color: rgba(244, 199, 80, 0.68);
    background:
        linear-gradient(115deg, transparent 18%, rgba(255, 226, 132, 0.11) 40%, transparent 62%) 190% 0 / 220% 100%,
        linear-gradient(145deg, rgba(53, 42, 17, 0.98), rgba(24, 25, 29, 0.97) 62%);
    box-shadow: 0 25px 70px rgba(174, 122, 15, 0.22), inset 0 0 0 1px rgba(255, 236, 169, 0.06);
    animation: premiumAccountShimmer 5.8s ease-in-out infinite;
}

.profile-header-card.is-premium-member .profile-avatar {
    border-color: #f4c750;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.38), 0 0 30px rgba(244, 199, 80, 0.25);
}

@keyframes premiumAccountShimmer {
    0%, 18% {
        background-position: 200% 0, 0 0;
    }
    55%, 100% {
        background-position: -35% 0, 0 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-account-button.is-premium-member,
    .team-member-card.is-premium-member,
    .profile-header-card.is-premium-member {
        animation: none;
    }
}

.profile-avatar {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border: 4px solid #ffc107;
    border-radius: 50%;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.38);
}

.profile-heading-copy {
    min-width: 0;
    padding-bottom: 7px;
}

.profile-heading-copy h1 {
    margin: 9px 0 7px;
    overflow-wrap: anywhere;
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
}

.profile-heading-copy > p {
    margin: 0;
    color: #96979d;
    font-family: system-ui, -apple-system, sans-serif;
}

.profile-roles,
.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 15px;
}

.profile-roles span,
.profile-tags span {
    padding: 6px 9px;
    color: #d8ba5f;
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 0.65rem;
    border: 1px solid rgba(255, 193, 7, 0.18);
    border-radius: 999px;
    background: rgba(255, 193, 7, 0.07);
}

.profile-verification-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 12px;
}

.profile-age-status {
    display: inline-flex;
    padding: 6px 10px;
    color: #9a9ba1;
    font-size: 0.66rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
}

.profile-age-status.is-identity-verified {
    color: #79c7ff;
    border-color: rgba(63, 169, 245, 0.32);
    background: rgba(63, 169, 245, 0.1);
}

.profile-age-status.is-verified {
    color: #77e7a8;
    border-color: rgba(71, 217, 135, 0.28);
    background: rgba(71, 217, 135, 0.08);
}

.profile-age-status.is-premium-member {
    color: #17130a;
    border-color: #f4c750;
    background: #f4c750;
    box-shadow: 0 5px 18px rgba(244, 199, 80, 0.18);
}

.profile-actions {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.profile-primary-action,
.profile-secondary-action {
    min-width: 155px;
    padding: 11px 15px;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 8px;
}

.profile-primary-action {
    color: #111;
    background: #fff;
}

.profile-primary-action:hover {
    color: #111;
    background: #ffc107;
}

.profile-secondary-action {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: #27282d;
}

.profile-secondary-action:hover {
    color: #fff;
    background: #33343a;
}

.profile-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
    gap: 22px;
    margin-top: 24px;
}

.profile-panel {
    padding: clamp(27px, 4vw, 44px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 13px;
    background: #18191d;
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.18);
}

.profile-panel h2 {
    margin: 11px 0 17px;
    font-size: clamp(1.55rem, 3vw, 2.55rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: 0;
}

.profile-about-panel > p,
.profile-identity-group > p {
    color: #999aa0;
    font-family: system-ui, -apple-system, sans-serif;
    line-height: 1.7;
}

.profile-details {
    margin: 30px 0 0;
}

.profile-details div {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-details dt {
    color: #76777e;
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
}

.profile-details dd {
    margin: 0;
    font-size: 0.75rem;
    text-align: right;
}

.profile-identity-group + .profile-identity-group {
    margin-top: 30px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-identity-group h2 {
    margin: 0 0 13px;
    font-size: 0.82rem;
    letter-spacing: 0;
}

.profile-tags {
    margin-top: 0;
}

.profile-channels-panel {
    margin-top: 24px;
}

.profile-channels-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 22px;
}

.profile-channels-heading h2 {
    margin-bottom: 0;
}

.profile-channels-heading > span {
    flex: 0 0 auto;
    color: #999aa0;
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 0.78rem;
}

.profile-channel-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.profile-channel-card {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 13px;
    padding: 14px;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.profile-channel-card:hover,
.profile-channel-card:focus {
    color: #fff;
    border-color: rgba(255, 193, 7, 0.36);
    background: rgba(255, 193, 7, 0.08);
    transform: translateY(-1px);
}

.profile-channel-card img {
    width: 54px;
    height: 54px;
    flex: 0 0 auto;
    object-fit: cover;
    border: 2px solid rgba(255, 193, 7, 0.42);
    border-radius: 50%;
    background: #24252a;
}

.profile-channel-card span {
    min-width: 0;
}

.profile-channel-card strong,
.profile-channel-card small {
    display: block;
}

.profile-channel-card strong {
    overflow: hidden;
    font-size: 0.92rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-channel-card small {
    margin-top: 3px;
    color: #9a9ba1;
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 0.74rem;
}

.profile-community-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    margin-top: 24px;
    padding: clamp(30px, 5vw, 52px);
    border-left: 4px solid #ffc107;
    background: #292a30;
}

.profile-community-note h2 {
    max-width: 720px;
    margin: 10px 0 0;
    font-size: clamp(1.7rem, 3vw, 3rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: 0;
}

.profile-community-note .btn {
    flex: 0 0 auto;
}

@media (max-width: 991.98px) {
    .account-settings-sidebar {
        position: static;
    }

    .profile-header-card {
        grid-template-columns: 140px minmax(0, 1fr);
    }

    .profile-avatar {
        width: 140px;
        height: 140px;
    }

    .profile-actions {
        grid-column: 1 / -1;
        flex-direction: row;
    }

    .profile-content-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .profile-channel-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .account-overview-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .account-overview-card {
        min-height: 210px;
    }

    .profile-cover {
        height: 280px;
    }

    .profile-container {
        margin-top: -60px;
    }

    .profile-header-card {
        display: block;
        padding: 24px;
        text-align: center;
    }

    .profile-avatar {
        width: 128px;
        height: 128px;
        margin-top: -84px;
        margin-bottom: 20px;
    }

    .profile-roles {
        justify-content: center;
    }

    .profile-actions {
        display: grid;
        margin-top: 22px;
    }

    .profile-community-note {
        display: block;
    }

    .profile-community-note .btn {
        margin-top: 22px;
    }

    .profile-channels-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .profile-channel-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .account-settings-link,
    .account-overview-card {
        transition: none;
    }
}

/* Profile image correction */
.profile-cover > img {
    opacity: 1;
}

