.hhg-profile-page {
    background: #111 !important;
}

.hhg-profile-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 34px auto 60px;
    color: #f7f7fb;
}

.hhg-profile-hero,
.hhg-profile-section {
    border: 1px solid #383838;
    background: #272727;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .22);
}

.hhg-profile-hero {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 26px;
    align-items: center;
    padding: 28px;
}

.hhg-profile-identity h1,
.hhg-profile-section h2,
.hhg-achievement-card h3,
.hhg-favorite-card h3 {
    margin: 0;
    color: #fff;
}

.hhg-profile-identity h1 {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.05;
}

.hhg-profile-eyebrow {
    margin: 0 0 8px;
    color: #ff2c68;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hhg-profile-title {
    margin: 10px 0 0;
    font-size: 15px;
    font-weight: 800;
}

.hhg-profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 14px;
    color: #bdbdbd;
    font-size: 13px;
}

.hhg-profile-followers-count {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.hhg-profile-level-bar,
.hhg-achievement-progress {
    overflow: hidden;
    background: #383838;
    border-radius: 999px;
}

.hhg-profile-level-bar {
    max-width: 560px;
    height: 8px;
    margin-top: 16px;
}

.hhg-profile-level-bar span,
.hhg-achievement-progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #ff0057, #8759ff, #18d9ef);
}

.hhg-profile-level-caption {
    margin: 7px 0 0;
    color: #a7a7a7;
    font-size: 12px;
}

.hhg-profile-avatar-area {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
}

.hhg-avatar-link {
    display: inline-flex;
    line-height: 0;
    text-decoration: none;
}

.hhg-avatar {
    --hhg-avatar-size: 140px;
    position: relative;
    display: block;
    flex: 0 0 var(--hhg-avatar-size);
    width: var(--hhg-avatar-size);
    height: var(--hhg-avatar-size);
    line-height: 0;
    vertical-align: middle;
    isolation: isolate;
}

.hhg-avatar-image {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: calc(var(--hhg-avatar-size) * .78);
    max-width: none;
    height: calc(var(--hhg-avatar-size) * .78);
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.hhg-avatar-frame,
.hhg-avatar-frame-fallback {
    position: absolute;
    inset: 0;
    display: block;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    max-width: none;
    pointer-events: none;
    z-index: 2;
}

.hhg-avatar-frame {
    inset: auto;
    top: 50%;
    left: 50%;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    aspect-ratio: auto;
    transform: translate(-50%, -50%);
}

.hhg-avatar-frame-fallback {
    inset: 7%;
    width: auto;
    height: auto;
    border: 5px solid #ba7a37;
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(215, 139, 56, .75), inset 0 0 8px rgba(255, 220, 151, .5);
}

.hhg-rarity-uncommon .hhg-avatar-frame-fallback { border-color: #63d47b; box-shadow: 0 0 14px rgba(99, 212, 123, .7); }
.hhg-rarity-rare .hhg-avatar-frame-fallback { border-color: #45a7ff; box-shadow: 0 0 15px rgba(69, 167, 255, .8); }
.hhg-rarity-epic .hhg-avatar-frame-fallback { border-color: #d55cff; box-shadow: 0 0 17px rgba(213, 92, 255, .85); }
.hhg-rarity-legendary .hhg-avatar-frame-fallback { border-color: #ffd33d; box-shadow: 0 0 18px rgba(255, 211, 61, .9); }

.hhg-profile-featured-badge {
    display: grid;
    width: 170px;
    min-height: 130px;
    padding: 16px;
    align-content: center;
    justify-items: center;
    border: 1px solid #383838;
    background: #1f1f1f;
    border-radius: 12px;
    text-align: center;
}

.hhg-profile-featured-badge img {
    width: 54px;
    height: 54px;
    margin-bottom: 8px;
    object-fit: contain;
}

.hhg-profile-featured-badge span {
    color: #aaa;
    font-size: 11px;
    text-transform: uppercase;
}

.hhg-profile-featured-badge strong {
    margin-top: 3px;
    color: #fff;
    font-size: 14px;
}

.hhg-profile-section {
    margin-top: 18px;
    padding: 24px;
}

.hhg-profile-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 13px;
    border-bottom: 1px solid #383838;
}

.hhg-profile-section-heading span {
    color: #aaa;
    font-size: 13px;
}

.hhg-profile-stat-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.hhg-profile-stat-grid article {
    display: grid;
    min-height: 94px;
    padding: 16px;
    place-content: center;
    border: 1px solid #383838;
    background: #1f1f1f;
    border-radius: 10px;
    text-align: center;
}

.hhg-profile-stat-grid strong {
    color: #fff;
    font-size: 27px;
}

.hhg-profile-stat-grid span {
    margin-top: 3px;
    color: #aaa;
    font-size: 12px;
}

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

.hhg-achievement-card {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 14px;
    min-height: 126px;
    padding: 16px;
    border: 1px solid #383838;
    background: #1f1f1f;
    border-radius: 11px;
}

.hhg-achievement-card.is-unlocked {
    border-color: rgba(255, 0, 87, .55);
    box-shadow: inset 0 0 22px rgba(255, 0, 87, .07);
}

.hhg-achievement-card.is-locked {
    opacity: .68;
}

.hhg-achievement-icon {
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    background: #383838;
}

.hhg-achievement-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hhg-achievement-icon span {
    color: #fff;
    font-size: 26px;
    font-weight: 900;
}

.hhg-achievement-copy p {
    margin: 6px 0 10px;
    color: #b5b5b5;
    font-size: 13px;
    line-height: 1.45;
}

.hhg-achievement-copy small {
    color: #999;
}

.hhg-achievement-progress {
    height: 5px;
    margin: 11px 0 5px;
}

.hhg-favorite-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.hhg-favorite-card a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.hhg-favorite-cover {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08);
    background: #1f1f1f;
    border-radius: 9px;
}

.hhg-favorite-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hhg-favorite-cover span {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: #888;
}

.hhg-favorite-card h3 {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.35;
}

.hhg-profile-empty {
    margin: 0;
    color: #aaa;
}

@media (max-width: 980px) {
    .hhg-profile-hero { grid-template-columns: auto minmax(0, 1fr); }
    .hhg-profile-featured-badge { grid-column: 1 / -1; width: auto; min-height: 0; }
    .hhg-profile-stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hhg-achievement-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hhg-favorite-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .hhg-profile-shell { width: min(100% - 20px, 1180px); margin-top: 18px; }
    .hhg-profile-hero { grid-template-columns: 1fr; justify-items: center; padding: 22px 16px; text-align: center; }
    .hhg-profile-meta { justify-content: center; }
    .hhg-profile-level-bar { margin-inline: auto; }
    .hhg-profile-section { padding: 18px 14px; }
    .hhg-profile-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hhg-achievement-grid { grid-template-columns: 1fr; }
    .hhg-favorite-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Integração visual com os comentários do tema ANE */
.comentarios .hhg-comment-avatar-link {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    display: block !important;
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    text-decoration: none !important;
    z-index: 8 !important;
}

.comentarios .hhg-comment-avatar {
    position: relative !important;
    display: block !important;
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    isolation: isolate !important;
}

.comentarios .hhg-comment-avatar img.comentario-thumb,
.comentarios div.comentarioConteudo .hhg-comment-avatar img.comentario-thumb {
    position: absolute !important;
    inset: 5px !important;
    top: 5px !important;
    left: 5px !important;
    display: block !important;
    width: 34px !important;
    max-width: none !important;
    height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    object-position: center !important;
    box-shadow: none !important;
    transform: none !important;
    z-index: 1 !important;
}

.comentarios .hhg-comment-avatar-frame,
.comentarios .hhg-comment-avatar-frame-fallback {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    box-sizing: border-box !important;
    width: 44px !important;
    max-width: none !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 50% !important;
    pointer-events: none !important;
    z-index: 2 !important;
}

.comentarios .hhg-comment-avatar-frame {
    inset: auto !important;
    top: 50% !important;
    left: 50% !important;
    width: auto !important;
    max-width: 44px !important;
    height: auto !important;
    max-height: 44px !important;
    border-radius: 0 !important;
    object-fit: contain !important;
    object-position: center !important;
    aspect-ratio: auto !important;
    transform: translate(-50%, -50%) !important;
}

.comentarios .hhg-comment-avatar-frame-fallback {
    inset: 2px !important;
    width: auto !important;
    height: auto !important;
    border: 3px solid #ba7a37 !important;
    box-shadow: 0 0 7px rgba(215, 139, 56, .75), inset 0 0 4px rgba(255, 220, 151, .45) !important;
}

.comentarios .hhg-comment-avatar.hhg-rarity-uncommon .hhg-comment-avatar-frame-fallback { border-color: #63d47b !important; box-shadow: 0 0 8px rgba(99, 212, 123, .75) !important; }
.comentarios .hhg-comment-avatar.hhg-rarity-rare .hhg-comment-avatar-frame-fallback { border-color: #45a7ff !important; box-shadow: 0 0 9px rgba(69, 167, 255, .8) !important; }
.comentarios .hhg-comment-avatar.hhg-rarity-epic .hhg-comment-avatar-frame-fallback { border-color: #d55cff !important; box-shadow: 0 0 10px rgba(213, 92, 255, .85) !important; }
.comentarios .hhg-comment-avatar.hhg-rarity-legendary .hhg-comment-avatar-frame-fallback { border-color: #ffd33d !important; box-shadow: 0 0 10px rgba(255, 211, 61, .9) !important; }

.comentarios .comentario-data {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 4px 6px !important;
    line-height: 1.2 !important;
}

.comentarios .hhg-comment-identity {
    display: inline-flex !important;
    align-items: center !important;
    min-width: 0 !important;
    gap: 5px !important;
}

.comentarios .hhg-comment-author {
    color: inherit !important;
    text-decoration: none !important;
}

.comentarios .hhg-comment-author:hover strong {
    color: #ff2c68 !important;
}

.comentarios .hhg-comment-title {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 20px !important;
    padding: 2px 7px !important;
    border: 1px solid rgba(255, 255, 255, .12) !important;
    background: rgba(255, 255, 255, .06) !important;
    border-radius: 999px !important;
    color: #d7d7df !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

.comentarios .hhg-comment-title.hhg-rarity-rare { color: #70bbff !important; border-color: rgba(69, 167, 255, .35) !important; }
.comentarios .hhg-comment-title.hhg-rarity-epic { color: #e486ff !important; border-color: rgba(213, 92, 255, .38) !important; }
.comentarios .hhg-comment-title.hhg-rarity-legendary { color: #ffe169 !important; border-color: rgba(255, 211, 61, .4) !important; }

.comentarios .hhg-comment-badge {
    display: inline-flex !important;
    width: 20px !important;
    height: 20px !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    font-size: 13px !important;
    line-height: 1 !important;
}

.comentarios .hhg-comment-badge img {
    position: static !important;
    display: block !important;
    width: 18px !important;
    max-width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    object-fit: contain !important;
}

.comentarios .hhg-comment-time {
    color: #777 !important;
    white-space: nowrap !important;
}

@media (max-width: 768px) {
    .comentarios .hhg-comment-avatar-link {
        top: 10px !important;
        left: 10px !important;
        width: 38px !important;
        height: 38px !important;
    }

    .comentarios .hhg-comment-avatar {
        width: 38px !important;
        height: 38px !important;
    }

    .comentarios .hhg-comment-avatar img.comentario-thumb,
    .comentarios div.comentarioConteudo .hhg-comment-avatar img.comentario-thumb {
        inset: 4px !important;
        top: 4px !important;
        left: 4px !important;
        width: 30px !important;
        height: 30px !important;
    }

    .comentarios .hhg-comment-avatar-frame,
    .comentarios .hhg-comment-avatar-frame-fallback {
        width: 38px !important;
        height: 38px !important;
    }

    .comentarios .hhg-comment-avatar-frame-fallback {
        inset: 1px !important;
        width: auto !important;
        height: auto !important;
    }

    .comentarios .hhg-comment-title {
        display: none !important;
    }
}

/* =========================================================
 * Minha Conta — gamificação
 * ========================================================= */
.hhg-account-shell {
    overflow: visible;
}

.hhg-account-layout,
.hhg-account-content,
.hhg-account-content * {
    box-sizing: border-box;
}

.hhg-account-menu a.active,
.hhg-account-menu a.active:hover {
    background: #ed2553;
    color: #fff;
    border-radius: 3px;
}

.hhg-account-content {
    color: #d9d9d9;
}

.hhg-account-notice {
    margin: 0 0 14px;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 6px;
}

.hhg-account-notice.is-success {
    color: #baf6cb;
    background: rgba(38, 158, 80, .15);
    border-color: rgba(72, 208, 115, .35);
}

.hhg-account-notice.is-error {
    color: #ffc3ca;
    background: rgba(202, 37, 61, .15);
    border-color: rgba(237, 37, 83, .4);
}

.hhg-account-hero,
.hhg-account-panel {
    border: 1px solid rgba(255,255,255,.09);
    background: #272727;
    border-radius: 10px;
}

.hhg-account-hero {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    padding: 22px;
}

.hhg-account-avatar {
    display: flex;
    justify-content: center;
}

.hhg-account-kicker {
    display: block;
    margin-bottom: 5px;
    color: #ed2553;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.hhg-account-identity h4,
.hhg-account-panel h4,
.hhg-inventory-card h4 {
    margin: 0;
    color: #fff;
}

.hhg-account-identity > h4 {
    font-size: 27px;
    line-height: 1.1;
}

.hhg-account-equipped-title {
    margin: 7px 0 0;
    color: #fff;
    font-weight: 700;
}

.hhg-account-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 14px;
    margin-top: 11px;
    color: #b8b8b8;
    font-size: 12px;
}

.hhg-account-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.hhg-account-button,
.hhg-account-link-button {
    appearance: none;
    border: 1px solid rgba(255,255,255,.16);
    background: #353535;
    color: #fff;
    cursor: pointer;
    font: inherit;
    text-decoration: none;
}

.hhg-account-button {
    display: inline-flex;
    min-height: 34px;
    padding: 7px 13px;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
}

.hhg-account-button:hover,
.hhg-account-button:focus {
    color: #fff;
    background: #404040;
    text-decoration: none;
}

.hhg-account-button.is-primary {
    background: #ed2553;
    border-color: #ed2553;
}

.hhg-account-button.is-primary:hover {
    background: #c61139;
    border-color: #c61139;
}

.hhg-account-link-button {
    margin-top: 7px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #ff6a8c;
    font-size: 11px;
}

.hhg-account-badge {
    display: grid;
    width: 150px;
    min-height: 116px;
    padding: 13px;
    align-content: center;
    justify-items: center;
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(255,255,255,.035);
    border-radius: 8px;
    text-align: center;
}

.hhg-account-badge img {
    width: 48px;
    height: 48px;
    margin-bottom: 7px;
    object-fit: contain;
}

.hhg-account-badge small {
    color: #a8a8a8;
    font-size: 10px;
    text-transform: uppercase;
}

.hhg-account-badge strong {
    margin-top: 3px;
    color: #fff;
}

.hhg-account-panel {
    margin-top: 14px;
    padding: 20px;
}

.hhg-account-heading {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 13px;
    border-bottom: 1px solid #383838;
}

.hhg-account-heading p {
    margin: 5px 0 0;
    color: #9f9f9f;
    font-size: 12px;
}

.hhg-account-counter,
.hhg-account-last-sync {
    color: #9f9f9f;
    font-size: 11px;
}

.hhg-account-last-sync {
    margin: -5px 0 14px;
}

.hhg-account-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.hhg-account-stat-grid article {
    display: grid;
    min-height: 84px;
    padding: 12px;
    place-content: center;
    border: 1px solid rgba(255,255,255,.08);
    background: #1f1f1f;
    border-radius: 7px;
    text-align: center;
}

.hhg-account-stat-grid strong {
    color: #fff;
    font-size: 24px;
}

.hhg-account-stat-grid span {
    color: #a8a8a8;
    font-size: 11px;
}

.hhg-account-achievements {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hhg-account-slots {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 10px;
    margin-bottom: 17px;
}

.hhg-account-slots article {
    min-height: 92px;
    padding: 14px;
    border: 1px solid rgba(255,255,255,.08);
    background: #1f1f1f;
    border-radius: 7px;
}

.hhg-account-slots small,
.hhg-account-slots strong {
    display: block;
}

.hhg-account-slots small {
    margin-bottom: 6px;
    color: #a8a8a8;
}

.hhg-account-slots strong {
    color: #fff;
}

.hhg-inventory-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 12px;
}

.hhg-inventory-card {
    display: grid;
    grid-template-columns: 84px minmax(0,1fr) auto;
    gap: 13px;
    align-items: center;
    padding: 14px;
    border: 1px solid rgba(255,255,255,.08);
    background: #1f1f1f;
    border-radius: 8px;
}

.hhg-inventory-card.is-equipped {
    border-color: rgba(237,37,83,.65);
    box-shadow: inset 0 0 20px rgba(237,37,83,.06);
}

.hhg-inventory-preview {
    display: grid;
    width: 84px;
    height: 84px;
    padding: 5px;
    place-items: center;
    overflow: hidden;
    box-sizing: border-box;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    background-color: #292929;
    background-image:
        linear-gradient(45deg, rgba(255,255,255,.035) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255,255,255,.035) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255,255,255,.035) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255,255,255,.035) 75%);
    background-position: 0 0, 0 6px, 6px -6px, -6px 0;
    background-size: 12px 12px;
}

.hhg-inventory-preview img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    aspect-ratio: auto;
}

.hhg-inventory-preview span {
    color: #fff;
    font-size: 30px;
    font-weight: 900;
}

.hhg-inventory-copy small {
    color: #a8a8a8;
    font-size: 10px;
    text-transform: uppercase;
}

.hhg-inventory-copy h4 {
    margin-top: 4px;
    font-size: 15px;
}

.hhg-inventory-copy p {
    margin: 6px 0 0;
    color: #a8a8a8;
    font-size: 11px;
    line-height: 1.4;
}

.hhg-inventory-action {
    display: grid;
    gap: 7px;
    justify-items: end;
}

.hhg-equipped-pill,
.hhg-disabled-pill {
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
}

.hhg-equipped-pill {
    color: #baf6cb;
    background: rgba(38,158,80,.18);
}

.hhg-disabled-pill {
    color: #b0b0ba;
    background: rgba(255,255,255,.07);
}

@media (max-width: 980px) {
    .hhg-account-hero {
        grid-template-columns: auto minmax(0,1fr);
    }

    .hhg-account-badge {
        grid-column: 1 / -1;
        width: auto;
        min-height: 0;
    }

    .hhg-account-achievements,
    .hhg-inventory-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hhg-account-page .minha-conta-menu,
    .hhg-account-page .minha-conta-conteudo {
        float: none;
        width: 100%;
    }

    .hhg-account-page .minha-conta-menu {
        display: flex;
        gap: 5px;
        padding: 6px;
        overflow-x: auto;
        white-space: nowrap;
    }

    .hhg-account-page .minha-conta-menu li {
        flex: 0 0 auto;
        border: 0;
    }

    .hhg-account-page .minha-conta-menu a {
        padding: 7px 10px;
    }

    .hhg-account-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hhg-account-meta,
    .hhg-account-actions {
        justify-content: center;
    }

    .hhg-account-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .hhg-account-stat-grid,
    .hhg-account-slots {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .hhg-inventory-card {
        grid-template-columns: 60px minmax(0,1fr);
    }

    .hhg-inventory-preview {
        width: 68px;
        height: 68px;
    }

    .hhg-inventory-action {
        grid-column: 1 / -1;
        justify-items: stretch;
    }
}

@media (max-width: 480px) {
    .hhg-account-stat-grid,
    .hhg-account-slots {
        grid-template-columns: 1fr;
    }

    .hhg-account-panel,
    .hhg-account-hero {
        padding: 15px;
    }
}


/* Ajuste 0.8.1: paleta da Minha Conta alinhada ao cinza nativo do tema ANE. */
.hhg-account-page .meio-conteudo {
    background: #1f1f1f;
}

.hhg-account-page .hhg-account-hero,
.hhg-account-page .hhg-account-panel {
    border-color: #383838;
    background: #272727;
    box-shadow: none;
}

.hhg-account-page .hhg-account-stat-grid article,
.hhg-account-page .hhg-account-slots article,
.hhg-account-page .hhg-inventory-card {
    border-color: #383838;
    background: #1f1f1f;
}

.hhg-account-page .hhg-profile-level-bar,
.hhg-account-page .hhg-achievement-progress {
    background: #383838;
}

/* =========================================================
 * Ajuste 0.8.2 — paleta cinza também nas conquistas e perfil
 * ========================================================= */
.hhg-account-page .hhg-achievement-card {
    border-color: #383838;
    background: #1f1f1f;
    box-shadow: none;
}

.hhg-account-page .hhg-achievement-card.is-unlocked {
    border-color: #ed2553;
    box-shadow: inset 0 0 0 1px rgba(237, 37, 83, .12);
}

.hhg-account-page .hhg-achievement-icon {
    background: #383838;
}

.hhg-account-page .hhg-account-button:disabled {
    cursor: not-allowed;
    opacity: .62;
}

.hhg-profile-page {
    background: #111 !important;
}

.hhg-profile-page .hhg-profile-hero,
.hhg-profile-page .hhg-profile-section {
    border-color: #383838;
    background: #272727;
    box-shadow: none;
}

.hhg-profile-page .hhg-profile-featured-badge,
.hhg-profile-page .hhg-profile-stat-grid article,
.hhg-profile-page .hhg-achievement-card {
    border-color: #383838;
    background: #1f1f1f;
    box-shadow: none;
}

.hhg-profile-page .hhg-achievement-card.is-unlocked {
    border-color: #ed2553;
    box-shadow: inset 0 0 0 1px rgba(237, 37, 83, .12);
}

.hhg-profile-page .hhg-achievement-icon,
.hhg-profile-page .hhg-profile-level-bar,
.hhg-profile-page .hhg-achievement-progress {
    background: #383838;
}

.hhg-profile-page .hhg-favorite-cover {
    border-color: #383838;
    background: #1f1f1f;
}


/* 0.8.8: perfil com fundo neutro e favoritos públicos separados por tipo. */
.hhg-profile-favorite-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin: 0 0 22px;
}

.hhg-profile-favorite-tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 0 10px;
    border: 0;
    background: transparent;
    color: #999;
    font: inherit;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
}

.hhg-profile-favorite-tab:hover,
.hhg-profile-favorite-tab:focus,
.hhg-profile-favorite-tab.is-active {
    color: #ed2553;
    outline: none;
}

.hhg-profile-favorite-tab.is-active::after {
    position: absolute;
    right: -4px;
    bottom: 4px;
    left: -4px;
    height: 2px;
    background: #ed2553;
    content: '';
}

.hhg-profile-favorite-tab small {
    display: inline-grid;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    place-items: center;
    border-radius: 999px;
    background: #383838;
    color: #ddd;
    font-size: 11px;
}

.hhg-profile-favorite-panel[hidden] {
    display: none !important;
}

.hhg-profile-manga-list {
    margin-bottom: 0;
    overflow: visible;
}

.hhg-profile-manga-list ul {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -5px;
    padding: 0;
}

.hhg-profile-manga-list ul > li {
    width: 20%;
    padding: 0 5px;
}

.hhg-profile-video-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hhg-profile-video-grid > li {
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hhg-profile-video-grid .video-relacionado-card {
    width: 100%;
    overflow: hidden;
    border-radius: 6px;
    transition: background .2s ease;
}

.hhg-profile-video-grid .video-relacionado-card a {
    display: block;
    color: #fff;
    text-decoration: none;
}

.hhg-profile-video-grid .video-relacionado-thumb {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 4px;
    background: #111;
}

.hhg-profile-video-grid .video-relacionado-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .2s ease;
}

.hhg-profile-video-grid .video-relacionado-title {
    display: -webkit-box;
    min-height: 38px;
    margin-top: 8px;
    padding: 0 8px;
    overflow: hidden;
    color: #ddd;
    font-size: 14px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.hhg-profile-video-grid .video-relacionado-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    padding: 0 8px 8px;
    color: #c8c8c8;
    font-size: 13px;
}

.hhg-profile-video-grid .video-relacionado-voto {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #4caf50;
}

.hhg-profile-video-grid .video-relacionado-voto i {
    display: inline-flex;
    width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
    border: 2px solid #4caf50;
    border-radius: 50%;
    font-size: 10px;
}

.hhg-profile-video-grid .video-relacionado-card:hover {
    background: #151515;
}

.hhg-profile-video-grid .video-relacionado-card:hover img {
    opacity: .8;
}

.hhg-profile-video-grid .video-relacionado-card:hover .video-relacionado-title {
    color: #ed2553;
}

.hhg-profile-no-cover {
    display: grid;
    width: 100%;
    height: 100%;
    min-height: 120px;
    place-items: center;
    background: #1a1a1a;
    color: #888;
}

.hhg-profile-favorite-note {
    margin: 18px 0 0;
    color: #999;
    font-size: 12px;
    text-align: center;
}

@media (max-width: 980px) {
    .hhg-profile-manga-list ul > li {
        width: 25%;
    }

    .hhg-profile-video-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .hhg-profile-favorite-tabs {
        gap: 16px;
    }

    .hhg-profile-favorite-tab {
        font-size: 16px;
    }

    .hhg-profile-manga-list ul > li {
        width: 33.333333%;
    }

    .hhg-profile-video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
}

@media (max-width: 540px) {
    .hhg-profile-manga-list ul > li {
        width: 50%;
    }
}

/* =========================================================
 * 0.10.0 — Privacidade, destaques e favoritos paginados
 * ========================================================= */
.hhg-privacy-form fieldset {
    margin: 0 0 22px;
    padding: 0;
    border: 0;
}

.hhg-privacy-form legend,
.hhg-highlight-form h5 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.hhg-privacy-visibility {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.hhg-privacy-visibility legend,
.hhg-privacy-fields legend {
    grid-column: 1 / -1;
}

.hhg-privacy-visibility label,
.hhg-privacy-fields label,
.hhg-highlight-options label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 14px;
    border: 1px solid #383838;
    border-radius: 7px;
    background: #1f1f1f;
    cursor: pointer;
}

.hhg-privacy-visibility input,
.hhg-privacy-fields input,
.hhg-highlight-options input {
    margin: 3px 0 0;
    accent-color: #ed2553;
}

.hhg-privacy-visibility strong,
.hhg-privacy-visibility small {
    display: block;
}

.hhg-privacy-visibility strong {
    color: #fff;
}

.hhg-privacy-visibility small {
    margin-top: 4px;
    color: #aaa;
    line-height: 1.45;
}

.hhg-privacy-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.hhg-privacy-fields label,
.hhg-highlight-options label {
    align-items: center;
    padding: 12px 14px;
    color: #ddd;
}

.hhg-highlight-form {
    margin: 0 0 22px;
    padding: 18px;
    border: 1px solid #383838;
    border-radius: 8px;
    background: #1f1f1f;
}

.hhg-highlight-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.hhg-highlight-heading h5,
.hhg-highlight-heading p {
    margin: 0;
}

.hhg-highlight-heading p {
    margin-top: 4px;
    color: #aaa;
    font-size: 12px;
}

.hhg-highlight-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}

.hhg-profile-featured-achievements .hhg-achievement-card {
    border-color: #ed2553;
}

.hhg-profile-load-more,
.hhg-profile-access-button {
    display: block;
    width: max-content;
    margin: 22px auto 0;
    padding: 10px 18px;
    border: 1px solid #ed2553;
    border-radius: 5px;
    background: transparent;
    color: #ed2553;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.hhg-profile-load-more:hover,
.hhg-profile-load-more:focus,
.hhg-profile-access-button:hover,
.hhg-profile-access-button:focus {
    background: #ed2553;
    color: #fff;
    outline: none;
}

.hhg-profile-load-more:disabled {
    border-color: #555;
    color: #888;
    cursor: wait;
}

.hhg-profile-load-feedback {
    margin: 18px 0 0;
    color: #aaa;
    font-size: 12px;
    text-align: center;
}

.hhg-profile-unavailable-shell {
    min-height: 52vh;
}

.hhg-profile-unavailable {
    display: grid;
    min-height: 300px;
    place-items: center;
    align-content: center;
    text-align: center;
}

.hhg-profile-unavailable-icon {
    display: grid;
    width: 72px;
    height: 72px;
    margin-bottom: 14px;
    place-items: center;
    border-radius: 50%;
    background: #1f1f1f;
    font-size: 30px;
}

.hhg-profile-unavailable h1 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 28px;
}

.hhg-profile-unavailable p {
    max-width: 520px;
    margin: 0;
    color: #aaa;
}

@media (max-width: 768px) {
    .hhg-privacy-visibility,
    .hhg-highlight-options {
        grid-template-columns: 1fr;
    }

    .hhg-privacy-fields {
        grid-template-columns: 1fr;
    }

    .hhg-highlight-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =========================================================
 * 0.10.1 — Notificações e histórico visual de XP
 * ========================================================= */
.hhg-account-menu-notifications {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.hhg-account-menu-badge {
    display: inline-flex;
    min-width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    border-radius: 999px;
    background: #ed2553;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.hhg-account-menu-notifications.active .hhg-account-menu-badge {
    background: #fff;
    color: #ed2553;
}

.hhg-notification-teaser {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 15px;
    margin: 14px 0;
    padding: 15px 17px;
    border: 1px solid rgba(237, 37, 83, 0.65);
    border-radius: 8px;
    background: linear-gradient(90deg, rgba(237, 37, 83, 0.12), rgba(31, 31, 31, 0.94));
}

.hhg-notification-teaser-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 50%;
    background: #ed2553;
    color: #fff;
    font-size: 21px;
}

.hhg-notification-teaser strong,
.hhg-notification-teaser span {
    display: block;
}

.hhg-notification-teaser strong {
    color: #fff;
    font-size: 14px;
}

.hhg-notification-teaser span {
    margin-top: 3px;
    color: #bbb;
    font-size: 12px;
}

.hhg-notification-list {
    display: grid;
    gap: 11px;
}

.hhg-notification-card {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px;
    padding: 15px;
    border: 1px solid #383838;
    border-radius: 8px;
    background: #1f1f1f;
}

.hhg-notification-card.is-unread {
    border-color: #ed2553;
    box-shadow: inset 3px 0 0 #ed2553;
}

.hhg-notification-icon {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    background: #2b2b2b;
    color: #fff;
    font-size: 25px;
}

.hhg-notification-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hhg-notification-title-row,
.hhg-xp-entry-heading,
.hhg-xp-entry-meta,
.hhg-notification-gains {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.hhg-notification-title-row {
    justify-content: space-between;
    gap: 10px;
}

.hhg-notification-title-row h5 {
    margin: 0;
    color: #fff;
    font-size: 16px;
}

.hhg-notification-new {
    padding: 4px 8px;
    border-radius: 999px;
    background: #ed2553;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.hhg-notification-copy > p {
    margin: 5px 0 8px;
    color: #bbb;
    font-size: 12px;
    line-height: 1.5;
}

.hhg-notification-copy > small {
    display: block;
    margin-top: 9px;
    color: #888;
    font-size: 11px;
}

.hhg-notification-gains {
    gap: 7px;
}

.hhg-notification-gains span {
    padding: 5px 8px;
    border: 1px solid #3c3c3c;
    border-radius: 5px;
    background: #282828;
    color: #ccc;
    font-size: 11px;
}

.hhg-notification-gains .hhg-notification-xp {
    border-color: rgba(35, 200, 110, 0.45);
    color: #52d98a;
    font-weight: 800;
}

.hhg-xp-timeline {
    position: relative;
    display: grid;
    gap: 0;
}

.hhg-xp-timeline::before {
    position: absolute;
    top: 27px;
    bottom: 27px;
    left: 25px;
    width: 2px;
    background: #383838;
    content: '';
}

.hhg-xp-entry {
    position: relative;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 13px;
    padding: 10px 0;
}

.hhg-xp-entry-icon {
    z-index: 1;
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border: 4px solid #272727;
    border-radius: 50%;
    background: #333;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.hhg-xp-entry.is-positive .hhg-xp-entry-icon {
    background: #17482f;
    color: #67e6a0;
}

.hhg-xp-entry.is-negative .hhg-xp-entry-icon {
    background: #50202a;
    color: #ff8099;
}

.hhg-xp-entry-copy {
    padding: 13px 15px;
    border: 1px solid #383838;
    border-radius: 8px;
    background: #1f1f1f;
}

.hhg-xp-entry-heading {
    justify-content: space-between;
    gap: 12px;
}

.hhg-xp-entry-heading strong,
.hhg-xp-entry-heading span {
    display: block;
}

.hhg-xp-entry-heading strong {
    color: #fff;
    font-size: 13px;
}

.hhg-xp-entry-heading span {
    margin-top: 3px;
    color: #aaa;
    font-size: 11px;
}

.hhg-xp-entry-heading b {
    color: #67e6a0;
    white-space: nowrap;
}

.hhg-xp-entry.is-negative .hhg-xp-entry-heading b {
    color: #ff8099;
}

.hhg-xp-entry-meta {
    gap: 12px;
    margin-top: 10px;
    color: #888;
    font-size: 11px;
}

@media (max-width: 700px) {
    .hhg-notification-teaser {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .hhg-notification-teaser .hhg-account-button {
        grid-column: 1 / -1;
        width: 100%;
        text-align: center;
    }

    .hhg-notification-card {
        grid-template-columns: 50px minmax(0, 1fr);
        gap: 11px;
        padding: 12px;
    }

    .hhg-notification-icon {
        width: 50px;
        height: 50px;
    }

    .hhg-xp-entry-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* 0.12.2 — recompensas em modo texto/cores ou imagem personalizada. */
.hhg-item-visual {
    --hhg-item-text: #fff;
    --hhg-item-bg: #3a3a3a;
    --hhg-item-border: #777;
    display: inline-flex;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

.hhg-item-css-pill {
    display: inline-flex;
    max-width: 100%;
    min-height: 24px;
    padding: 3px 10px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: var(--hhg-item-border-width, 1px) solid var(--hhg-item-border);
    border-radius: 999px;
    background: var(--hhg-item-bg);
    color: var(--hhg-item-text) !important;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hhg-item-visual-image img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.hhg-item-context-profile-title .hhg-item-css-pill,
.hhg-item-context-account-title .hhg-item-css-pill {
    min-height: 28px;
    padding: 4px 13px;
    font-size: 13px;
}

.hhg-item-context-profile-title.hhg-item-visual-image img,
.hhg-item-context-account-title.hhg-item-visual-image img {
    max-width: 240px;
    max-height: 42px;
}

.hhg-item-context-profile-badge.hhg-item-visual-image img,
.hhg-item-context-account-badge.hhg-item-visual-image img {
    max-width: 72px;
    max-height: 72px;
}

.hhg-item-context-comment-title .hhg-item-css-pill {
    min-height: 20px;
    padding: 2px 7px;
    font-size: 10px;
}

.hhg-item-context-comment-title.hhg-item-visual-image img {
    max-width: 120px;
    max-height: 24px;
}

.hhg-item-context-comment-badge .hhg-item-css-pill {
    min-height: 19px;
    padding: 2px 6px;
    font-size: 9px;
}

.hhg-item-context-comment-badge.hhg-item-visual-image img {
    width: 20px;
    height: 20px;
}

.hhg-profile-title,
.hhg-account-equipped-title {
    display: flex;
    margin-top: 9px;
    align-items: center;
}

.hhg-profile-featured-badge > span:first-child,
.hhg-account-badge > small {
    margin-bottom: 8px;
}

.hhg-profile-featured-badge .hhg-item-visual span,
.hhg-account-badge .hhg-item-visual span {
    color: var(--hhg-item-text) !important;
    font-size: 12px;
    text-transform: none;
}

.hhg-avatar-frame-fallback {
    border-width: var(--hhg-item-frame-border-width, 5px) !important;
    border-color: var(--hhg-item-border, #ba7a37) !important;
    background: transparent;
    box-shadow: 0 0 0 var(--hhg-item-frame-bg-width, 4px) var(--hhg-item-bg, transparent), 0 0 16px var(--hhg-item-border, #ba7a37) !important;
}

.comentarios .hhg-comment-avatar-frame-fallback {
    border-width: var(--hhg-item-comment-border-width, 2px) !important;
    border-color: var(--hhg-item-border, #ba7a37) !important;
    box-shadow: 0 0 0 var(--hhg-item-comment-bg-width, 2px) var(--hhg-item-bg, transparent), 0 0 9px var(--hhg-item-border, #ba7a37) !important;
}

.comentarios .hhg-comment-title {
    border: 0 !important;
    background: transparent !important;
    padding: 0 !important;
}

.comentarios .hhg-comment-badge-wrap {
    display: inline-flex;
    max-width: 150px;
    align-items: center;
}

.hhg-inventory-preview .hhg-item-context-inventory.hhg-item-visual-image img {
    max-width: 94px;
    max-height: 72px;
}

.hhg-inventory-preview .hhg-item-css-pill {
    max-width: 115px;
}

.hhg-inventory-css-frame {
    display: block !important;
    width: 70px !important;
    height: 70px !important;
    border: var(--hhg-item-frame-border-width, 5px) solid var(--hhg-item-border) !important;
    border-radius: 50% !important;
    background: transparent !important;
    box-shadow: 0 0 0 var(--hhg-item-frame-bg-width, 4px) var(--hhg-item-bg), 0 0 16px var(--hhg-item-border) !important;
}

.hhg-inventory-preview .hhg-item-css-pill {
    padding: 3px 7px;
    color: var(--hhg-item-text) !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 1.2;
}


/* 0.12.3 — badges CSS compactas no perfil e controles de transparência. */
.hhg-profile-identity-items,
.hhg-account-identity-items {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
    margin-top: 10px;
}

.hhg-profile-identity-items .hhg-profile-title,
.hhg-account-identity-items .hhg-account-equipped-title {
    margin: 0;
}

.hhg-profile-inline-badge,
.hhg-account-inline-badge {
    display: inline-flex;
    min-width: 0;
    align-items: center;
}

.hhg-profile-inline-badge .hhg-item-css-pill,
.hhg-account-inline-badge .hhg-item-css-pill {
    min-height: 28px;
    padding: 4px 13px;
    font-size: 12px;
}

.hhg-profile-featured-badge.is-image-badge,
.hhg-account-badge.is-image-badge {
    overflow: hidden;
}

.hhg-profile-featured-badge.is-image-badge .hhg-item-visual-image img {
    max-width: 92px;
    max-height: 92px;
}

.hhg-account-badge.is-image-badge .hhg-item-visual-image img {
    max-width: 72px;
    max-height: 72px;
}

/* 0.12.4 — molduras em imagem não herdam quadrados, bordas ou fundos do tema. */
.hhg-avatar.hhg-frame-image,
.hhg-avatar.hhg-frame-image .hhg-avatar-frame,
.comentarios .hhg-comment-avatar.hhg-frame-image,
.comentarios .hhg-comment-avatar.hhg-frame-image .hhg-comment-avatar-frame {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
}

.comentarios .hhg-comment-avatar.hhg-frame-image .hhg-comment-avatar-frame {
    padding: 0 !important;
    filter: none !important;
}

.comentarios .hhg-comment-avatar-link {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}


/* 0.12.7 — ícones configuráveis para conquistas sem imagem destacada. */
.hhg-achievement-fallback-icon {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
}

.hhg-achievement-svg {
    display: block;
    width: 31px;
    height: 31px;
}

.hhg-notification-icon .hhg-achievement-svg {
    width: 30px;
    height: 30px;
}


/* 0.12.9 — remove contornos externos herdados e garante ícones SVG visíveis. */
.hhg-profile-page .hhg-profile-avatar-area,
.hhg-profile-page .hhg-profile-avatar-area .hhg-avatar,
.hhg-profile-page .hhg-profile-avatar-area .hhg-avatar-link,
.hhg-profile-page .hhg-profile-avatar-area .hhg-avatar-frame,
.hhg-profile-page .hhg-profile-avatar-area .hhg-avatar-image {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
}

.hhg-profile-page .hhg-profile-avatar-area .hhg-avatar,
.hhg-profile-page .hhg-profile-avatar-area .hhg-avatar-link,
.hhg-profile-page .hhg-profile-avatar-area .hhg-avatar-frame {
    padding: 0 !important;
}

.hhg-profile-page .hhg-profile-avatar-area .hhg-avatar-frame {
    border-radius: 0 !important;
    filter: none !important;
}

.comentarios .hhg-comment-avatar-link,
.comentarios .hhg-comment-avatar,
.comentarios .hhg-comment-avatar-frame,
.comentarios .hhg-comment-avatar-image {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
}

.comentarios .hhg-comment-avatar-link,
.comentarios .hhg-comment-avatar,
.comentarios .hhg-comment-avatar-frame {
    padding: 0 !important;
}

/* Remove só o contorno externo do tema. A cápsula interna conserva as cores configuradas. */
.comentarios .hhg-comment-identity,
.comentarios .hhg-comment-badge-wrap,
.comentarios .hhg-item-visual,
.hhg-profile-page .hhg-profile-identity-items,
.hhg-profile-page .hhg-profile-title,
.hhg-profile-page .hhg-profile-inline-badge,
.hhg-profile-page .hhg-profile-identity-items .hhg-item-visual {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    padding: 0 !important;
}

.comentarios .hhg-item-css-pill,
.hhg-profile-page .hhg-profile-identity-items .hhg-item-css-pill {
    border-width: var(--hhg-item-border-width, 1px) !important;
    border-style: solid !important;
    border-color: var(--hhg-item-border) !important;
    background: var(--hhg-item-bg) !important;
    box-shadow: none !important;
    outline: 0 !important;
}

.hhg-achievement-fallback-icon,
.hhg-achievement-svg,
.hhg-achievement-svg path {
    opacity: 1 !important;
    visibility: visible !important;
}

.hhg-achievement-svg {
    display: block !important;
    width: 31px !important;
    height: 31px !important;
    color: inherit !important;
    fill: currentColor !important;
}

.hhg-achievement-svg path {
    fill: currentColor !important;
    stroke: none !important;
}

/* =========================================================
 * 0.13.0 — listas progressivas e organização do acervo
 * ========================================================= */
.hhg-achievement-collection + .hhg-achievement-collection {
    margin-top: 26px;
    padding-top: 24px;
    border-top: 1px solid #383838;
}

.hhg-achievement-collection-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.hhg-achievement-collection-heading h3,
.hhg-achievement-collection-heading p {
    margin: 0;
}

.hhg-achievement-collection-heading h3 {
    color: #fff;
    font-size: 17px;
}

.hhg-achievement-collection-heading p {
    margin-top: 4px;
    color: #999;
    font-size: 12px;
}

.hhg-achievement-collection-heading > span {
    display: inline-flex;
    min-width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    padding: 0 9px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 999px;
    background: #1f1f1f;
    color: #bbb;
    font-size: 11px;
    font-weight: 800;
}

.hhg-achievement-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.hhg-achievement-title-row h3 {
    margin: 0;
}

.hhg-achievement-state {
    display: inline-flex;
    flex: 0 0 auto;
    min-height: 20px;
    align-items: center;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(255,255,255,.065);
    color: #aaa;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .035em;
    line-height: 1;
    text-transform: uppercase;
}

.hhg-achievement-card.is-unlocked .hhg-achievement-state {
    color: #baf6cb;
    background: rgba(38,158,80,.18);
}

.hhg-achievement-card.is-locked {
    position: relative;
    opacity: 1;
    border-color: rgba(255,255,255,.065) !important;
    background:
        linear-gradient(135deg, rgba(255,255,255,.018), transparent 46%),
        #191919 !important;
    box-shadow: inset 0 0 30px rgba(0,0,0,.22) !important;
}

.hhg-achievement-card.is-locked::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(110deg, transparent 15%, rgba(255,255,255,.018) 50%, transparent 85%);
}

.hhg-achievement-card.is-locked .hhg-achievement-icon {
    filter: grayscale(.55) saturate(.58);
    opacity: .72;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.035);
}

.hhg-achievement-card.is-locked .hhg-achievement-copy h3 {
    color: #c4c4c4;
}

.hhg-achievement-card.is-locked .hhg-achievement-copy p,
.hhg-achievement-card.is-locked .hhg-achievement-copy small {
    color: #858585;
}

.hhg-achievement-card.is-secret-locked {
    background:
        radial-gradient(circle at 18% 20%, rgba(113,71,170,.11), transparent 34%),
        #151515 !important;
}

.hhg-achievement-card.is-secret-locked .hhg-achievement-icon {
    filter: grayscale(1);
}

.hhg-progressive-load-more {
    display: flex;
    width: max-content;
    min-height: 36px;
    margin: 18px auto 0;
    padding: 8px 16px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 6px;
    background: #303030;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
}

.hhg-progressive-load-more:hover,
.hhg-progressive-load-more:focus {
    border-color: #ed2553;
    background: #ed2553;
    color: #fff;
}

.hhg-progressive-load-more:disabled {
    cursor: wait;
    opacity: .65;
}

.hhg-progressive-feedback {
    margin: 12px 0 0;
    color: #aaa;
    font-size: 12px;
    text-align: center;
}

.hhg-progressive-feedback.is-error {
    color: #ff9dad;
}

.hhg-highlight-options {
    max-height: 260px;
    padding-right: 5px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.hhg-inventory-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
}

.hhg-inventory-tab {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    gap: 7px;
    padding: 7px 13px;
    border: 1px solid #383838;
    border-radius: 6px;
    background: #1f1f1f;
    color: #ccc;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
}

.hhg-inventory-tab small {
    display: inline-flex;
    min-width: 21px;
    height: 21px;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(255,255,255,.07);
    color: #aaa;
    font-size: 10px;
}

.hhg-inventory-tab.is-active {
    border-color: #ed2553;
    background: #ed2553;
    color: #fff;
}

.hhg-inventory-tab.is-active small {
    background: rgba(255,255,255,.18);
    color: #fff;
}

.hhg-inventory-panel[hidden] {
    display: none !important;
}

.hhg-progress-repair {
    position: relative;
    flex: 0 0 auto;
    max-width: 260px;
}

.hhg-progress-repair summary {
    color: #aaa;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    list-style: none;
    text-align: right;
}

.hhg-progress-repair summary::-webkit-details-marker {
    display: none;
}

.hhg-progress-repair summary::before {
    content: '＋';
    margin-right: 5px;
    color: #ed2553;
}

.hhg-progress-repair[open] summary::before {
    content: '−';
}

.hhg-progress-repair > div {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 20;
    width: 280px;
    padding: 13px;
    border: 1px solid #444;
    border-radius: 7px;
    background: #1b1b1b;
    box-shadow: 0 14px 36px rgba(0,0,0,.38);
}

.hhg-progress-repair p {
    margin: 0 0 10px !important;
    line-height: 1.45;
}

@media (max-width: 640px) {
    .hhg-achievement-title-row {
        display: block;
    }

    .hhg-achievement-state {
        margin-top: 5px;
    }

    .hhg-achievement-collection-heading {
        align-items: center;
    }

    .hhg-inventory-tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hhg-inventory-tab {
        justify-content: center;
    }

    .hhg-progress-repair {
        width: 100%;
        max-width: none;
    }

    .hhg-progress-repair summary {
        text-align: left;
    }

    .hhg-progress-repair > div {
        position: static;
        width: auto;
        margin-top: 8px;
    }
}

/* =========================================================
 * Seguir usuários e atividade social
 * ========================================================= */
.hhg-profile-name-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.hhg-profile-name-row h1 {
    margin: 0;
}

.hhg-follow-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 30px;
    padding: 5px 10px;
    border: 1px solid #ed2553;
    border-radius: 999px;
    background: #ed2553;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    transition: background .18s ease, border-color .18s ease, opacity .18s ease;
}

.hhg-follow-button:hover,
.hhg-follow-button:focus {
    border-color: #ff4a72;
    background: #ff4a72;
    color: #fff;
}

.hhg-follow-button.is-following {
    border-color: #4b4b4b;
    background: #303030;
    color: #ddd;
}

.hhg-follow-button[disabled] {
    cursor: wait;
    opacity: .65;
}

.hhg-follow-button-icon {
    font-size: 13px;
    line-height: 1;
}

.hhg-follow-activity-list {
    display: grid;
    gap: 10px;
}

.hhg-follow-activity-card {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
    border: 1px solid #393939;
    border-radius: 8px;
    background: #1d1d1d;
}

.hhg-follow-activity-avatar .hhg-avatar-wrap,
.hhg-follow-activity-avatar .hhg-profile-avatar {
    margin: 0;
}

.hhg-follow-activity-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.hhg-follow-activity-heading p {
    margin: 0;
    color: #ddd;
    line-height: 1.45;
}

.hhg-follow-activity-heading a {
    color: #fff;
    text-decoration: none;
}

.hhg-follow-activity-heading a:hover {
    color: #ed2553;
}

.hhg-follow-activity-card blockquote {
    margin: 9px 0;
    padding: 9px 11px;
    border-left: 3px solid #ed2553;
    border-radius: 0 5px 5px 0;
    background: rgba(255,255,255,.035);
    color: #aaa;
    font-style: normal;
    line-height: 1.5;
}

.hhg-follow-activity-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 14px;
    color: #777;
    font-size: 11px;
}

.hhg-follow-activity-meta a {
    color: #ed2553;
    font-weight: 700;
    text-decoration: none;
}

.hhg-follow-context-feed {
    flex: 0 0 auto;
    min-height: 27px;
    padding: 4px 8px;
    font-size: 10px;
}

.hhg-follow-notification-card,
.hhg-item-unlock-notification-card {
    margin-bottom: 10px;
}

.hhg-follow-notification-symbol,
.hhg-item-unlock-notification-symbol {
    display: inline-flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #ed2553;
    font-size: 24px;
}

@media (max-width: 640px) {
    .hhg-profile-name-row {
        align-items: flex-start;
    }

    .hhg-follow-activity-card {
        grid-template-columns: 46px minmax(0, 1fr);
        gap: 9px;
        padding: 11px;
    }

    .hhg-follow-activity-heading {
        display: block;
    }

    .hhg-follow-context-feed {
        margin-top: 8px;
    }
}

.hhg-follow-avatar-link,
.hhg-follow-avatar {
    position: relative;
    display: block;
    width: 54px;
    height: 54px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.hhg-follow-avatar-image,
.hhg-follow-avatar-frame,
.hhg-follow-avatar-frame-fallback {
    position: absolute;
    display: block;
    box-sizing: border-box;
}

.hhg-follow-avatar-image {
    top: 6px;
    left: 6px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    object-fit: cover;
}

.hhg-follow-avatar.hhg-frame-image .hhg-follow-avatar-image,
.hhg-follow-avatar.hhg-frame-css .hhg-follow-avatar-image {
    top: 9px;
    left: 9px;
    width: 36px;
    height: 36px;
}

.hhg-follow-avatar-frame {
    inset: 0;
    width: 54px;
    height: 54px;
    border: 0;
    object-fit: contain;
    pointer-events: none;
}

.hhg-follow-avatar-frame-fallback {
    inset: 4px;
    border: var(--hhg-item-comment-border-width, 2px) solid var(--hhg-item-border, #ba7a37);
    border-radius: 50%;
    background: transparent;
    box-shadow: 0 0 0 var(--hhg-item-comment-bg-width, 2px) var(--hhg-item-bg, transparent), 0 0 9px var(--hhg-item-border, #ba7a37);
    pointer-events: none;
}

/* 0.15.0 — efeitos equipáveis de nick. */
.hhg-name-effect {
    --hhg-name-primary: #ed2553;
    --hhg-name-secondary: #7b61ff;
    --hhg-name-outline: #fff;
    --hhg-name-opacity: 1;
    --hhg-name-offset-x: 0px;
    --hhg-name-offset-y: 0px;
    --hhg-name-media-size: 76px;
    --hhg-name-duration: 2.8s;
    --hhg-name-glow: 8px;
    --hhg-name-context-scale: 1;
    position: relative;
    display: inline-flex;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    isolation: isolate;
    color: var(--hhg-name-primary);
    vertical-align: middle;
}

.hhg-name-effect-text {
    position: relative;
    z-index: 2;
    display: inline-block;
    max-width: 100%;
}

.hhg-name-effect-media {
    z-index: 1;
    display: block;
    width: calc(var(--hhg-name-media-size) * var(--hhg-name-context-scale));
    max-width: none !important;
    height: auto !important;
    opacity: var(--hhg-name-opacity);
    object-fit: contain;
    pointer-events: none;
    user-select: none;
}

.hhg-name-position-behind .hhg-name-effect-media {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(calc(-50% + var(--hhg-name-offset-x)), calc(-50% + var(--hhg-name-offset-y)));
}

.hhg-name-position-before,
.hhg-name-position-after {
    gap: 5px;
}

.hhg-name-position-before .hhg-name-effect-media,
.hhg-name-position-after .hhg-name-effect-media {
    position: relative;
    flex: 0 0 auto;
    transform: translate(var(--hhg-name-offset-x), var(--hhg-name-offset-y));
}

.hhg-name-position-before .hhg-name-effect-media { order: -1; }
.hhg-name-position-after .hhg-name-effect-media { order: 3; }

.hhg-name-position-under {
    padding-bottom: calc(7px * var(--hhg-name-context-scale));
}

.hhg-name-position-under .hhg-name-effect-media {
    position: absolute;
    bottom: calc(-5px * var(--hhg-name-context-scale));
    left: 50%;
    transform: translate(calc(-50% + var(--hhg-name-offset-x)), var(--hhg-name-offset-y));
}

.hhg-name-preset-solid .hhg-name-effect-text {
    color: var(--hhg-name-primary) !important;
}

.hhg-name-preset-gradient .hhg-name-effect-text,
.hhg-name-preset-rainbow .hhg-name-effect-text,
.hhg-name-preset-shimmer .hhg-name-effect-text {
    background: linear-gradient(90deg, var(--hhg-name-primary), var(--hhg-name-secondary), var(--hhg-name-primary));
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
}

.hhg-name-preset-rainbow .hhg-name-effect-text {
    background-image: linear-gradient(90deg, #ff3b6b, #ffb02e, #ffe45c, #4ee68b, #42b8ff, #9b67ff, #ff3bba, #ff3b6b);
    background-size: 300% 100%;
    animation: hhg-name-slide var(--hhg-name-duration) linear infinite;
}

.hhg-name-preset-shimmer .hhg-name-effect-text {
    background-image: linear-gradient(110deg, var(--hhg-name-primary) 0%, var(--hhg-name-primary) 35%, #fff 50%, var(--hhg-name-secondary) 65%, var(--hhg-name-primary) 100%);
    animation: hhg-name-slide var(--hhg-name-duration) linear infinite;
}

.hhg-name-preset-neon .hhg-name-effect-text {
    color: var(--hhg-name-primary) !important;
    text-shadow: 0 0 calc(var(--hhg-name-glow) * .45) var(--hhg-name-outline), 0 0 var(--hhg-name-glow) var(--hhg-name-primary), 0 0 calc(var(--hhg-name-glow) * 1.7) var(--hhg-name-secondary);
}

.hhg-name-preset-glow .hhg-name-effect-text {
    color: var(--hhg-name-primary) !important;
    text-shadow: 0 0 var(--hhg-name-glow) var(--hhg-name-secondary);
}

.hhg-name-preset-outline .hhg-name-effect-text {
    color: var(--hhg-name-primary) !important;
    -webkit-text-stroke: 1px var(--hhg-name-outline);
    paint-order: stroke fill;
}

.hhg-name-preset-pulse .hhg-name-effect-text {
    color: var(--hhg-name-primary) !important;
    text-shadow: 0 0 var(--hhg-name-glow) var(--hhg-name-secondary);
    animation: hhg-name-pulse var(--hhg-name-duration) ease-in-out infinite;
}

.hhg-name-context-profile { --hhg-name-context-scale: 1.12; }
.hhg-name-context-account { --hhg-name-context-scale: 1; }
.hhg-name-context-comment { --hhg-name-context-scale: .62; }
.hhg-name-context-feed { --hhg-name-context-scale: .72; }
.hhg-name-context-inventory { --hhg-name-context-scale: .55; font-size: 12px; font-weight: 900; }

.comentarios .hhg-name-effect,
.hhg-follow-activity-heading .hhg-name-effect {
    line-height: 1.2;
}

.comentarios .hhg-name-effect-media {
    max-height: 45px !important;
}

.hhg-inventory-preview .hhg-name-effect {
    width: 74px;
    min-height: 58px;
    padding: 5px;
}

@keyframes hhg-name-slide {
    to { background-position: -300% 0; }
}

@keyframes hhg-name-pulse {
    50% { opacity: .62; transform: scale(1.045); }
}

@media (prefers-reduced-motion: reduce) {
    .hhg-name-effect-text,
    .hhg-name-effect-media {
        animation: none !important;
    }
}


/* Mantém partículas e auras visíveis fora da caixa do texto. */
.hhg-profile-name-row h1,
.hhg-account-profile-copy h4,
.comentarios .hhg-comment-identity,
.comentarios .hhg-comment-author,
.hhg-follow-activity-heading p {
    overflow: visible !important;
}


/* 0.15.2 — cobertura integral, camada frontal e animações independentes do nick. */
.hhg-name-position-front .hhg-name-effect-media {
    position: absolute !important;
    z-index: 3 !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(calc(-50% + var(--hhg-name-offset-x)), calc(-50% + var(--hhg-name-offset-y))) !important;
}

.hhg-name-size-fit.hhg-name-position-behind .hhg-name-effect-media,
.hhg-name-size-fit.hhg-name-position-front .hhg-name-effect-media {
    width: calc(100% + (18px * var(--hhg-name-context-scale, 1))) !important;
    height: calc(100% + (12px * var(--hhg-name-context-scale, 1))) !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center !important;
}

.hhg-name-animation-pulse { animation: hhg-name-motion-pulse var(--hhg-name-duration, 2.8s) ease-in-out infinite; }
.hhg-name-animation-float { animation: hhg-name-motion-float var(--hhg-name-duration, 2.8s) ease-in-out infinite; }
.hhg-name-animation-shake { animation: hhg-name-motion-shake var(--hhg-name-duration, 2.8s) ease-in-out infinite; }
.hhg-name-animation-swing { transform-origin: 50% 80%; animation: hhg-name-motion-swing var(--hhg-name-duration, 2.8s) ease-in-out infinite; }
.hhg-name-animation-flicker { animation: hhg-name-motion-flicker var(--hhg-name-duration, 2.8s) steps(2, end) infinite; }

@keyframes hhg-name-motion-pulse {
    50% { transform: scale(calc(1 + var(--hhg-name-scale, .045))); }
}
@keyframes hhg-name-motion-float {
    50% { transform: translateY(calc(0px - var(--hhg-name-motion, 2px))); }
}
@keyframes hhg-name-motion-shake {
    20% { transform: translateX(calc(0px - var(--hhg-name-motion, 2px))); }
    40% { transform: translateX(var(--hhg-name-motion, 2px)); }
    60% { transform: translateX(calc(0px - var(--hhg-name-motion, 2px))); }
    80% { transform: translateX(var(--hhg-name-motion, 2px)); }
}
@keyframes hhg-name-motion-swing {
    25% { transform: rotate(var(--hhg-name-rotate, 2deg)); }
    75% { transform: rotate(calc(0deg - var(--hhg-name-rotate, 2deg))); }
}
@keyframes hhg-name-motion-flicker {
    50% { opacity: .58; filter: brightness(1.35); }
}

@media (prefers-reduced-motion: reduce) {
    .hhg-name-effect,
    .hhg-name-effect-text,
    .hhg-name-effect-media {
        animation: none !important;
    }
}


/* 0.15.3 — mantém a camada visual acessível sem sumir e evita deformação. */
.hhg-name-effect-image .hhg-name-effect-media {
    display: block !important;
    visibility: visible !important;
}

@media (prefers-reduced-motion: reduce) {
    .hhg-name-effect-image .hhg-name-effect-media {
        display: block !important;
        visibility: visible !important;
    }
}


/* 0.15.4 — cabeçalho público centralizado no mobile. */
@media (max-width: 640px) {
    .hhg-profile-page .hhg-profile-identity {
        width: 100% !important;
        min-width: 0 !important;
        text-align: center !important;
    }

    .hhg-profile-page .hhg-profile-name-row {
        width: 100% !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .hhg-profile-page .hhg-profile-name-row h1 {
        max-width: 100% !important;
        text-align: center !important;
    }

    .hhg-profile-page .hhg-profile-meta {
        justify-content: center !important;
    }
}

/* 0.15.6 — galeria ampliada de efeitos CSS seguros para o nick. */
.hhg-name-preset-rainbow .hhg-name-effect-text {
    background: linear-gradient(90deg, #ff3b3b, #ff9d00, #ffee00, #32e875, #00c3ff, #7b61ff, #ff4fd8, #ff3b3b);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    -webkit-text-fill-color: transparent;
    animation: hhg-name-rainbow var(--hhg-name-duration, 2.8s) linear infinite;
}

.hhg-name-preset-neon .hhg-name-effect-text {
    color: var(--hhg-name-primary) !important;
    -webkit-text-fill-color: currentColor;
    text-shadow:
        0 0 calc(var(--hhg-name-glow, 8px) * .35) var(--hhg-name-outline),
        0 0 calc(var(--hhg-name-glow, 8px) * .85) var(--hhg-name-primary),
        0 0 calc(var(--hhg-name-glow, 8px) * 1.65) var(--hhg-name-secondary);
    animation: hhg-name-neon var(--hhg-name-duration, 2.8s) ease-in-out infinite alternate;
}

.hhg-name-preset-fire .hhg-name-effect-text {
    background: linear-gradient(180deg, var(--hhg-name-outline) 0%, var(--hhg-name-primary) 34%, #ff6a00 66%, var(--hhg-name-secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    -webkit-text-fill-color: transparent;
    filter:
        drop-shadow(0 0 calc(var(--hhg-name-glow, 8px) * .22) var(--hhg-name-primary))
        drop-shadow(0 0 calc(var(--hhg-name-glow, 8px) * .58) #ff6a00)
        drop-shadow(0 0 var(--hhg-name-glow, 8px) var(--hhg-name-secondary));
    transform-origin: 50% 100%;
    animation: hhg-name-fire var(--hhg-name-duration, 2.8s) steps(8, end) infinite;
}

.hhg-name-preset-gold .hhg-name-effect-text {
    background: linear-gradient(120deg, var(--hhg-name-secondary), var(--hhg-name-primary), var(--hhg-name-outline), var(--hhg-name-primary), var(--hhg-name-secondary));
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .35);
    animation: hhg-name-gold var(--hhg-name-duration, 2.8s) linear infinite;
}

.hhg-name-preset-glitch .hhg-name-effect-text {
    color: var(--hhg-name-outline) !important;
    -webkit-text-fill-color: currentColor;
    text-shadow: 2px 0 var(--hhg-name-primary), -2px 0 var(--hhg-name-secondary);
    animation: hhg-name-glitch-main var(--hhg-name-duration, 2.8s) steps(2, end) infinite;
}

.hhg-name-preset-glitch .hhg-name-effect-text::before,
.hhg-name-preset-glitch .hhg-name-effect-text::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hhg-name-preset-glitch .hhg-name-effect-text::before {
    color: var(--hhg-name-primary);
    -webkit-text-fill-color: currentColor;
    transform: translateX(-2px);
    clip-path: inset(0 0 55% 0);
    animation: hhg-name-glitch-before var(--hhg-name-duration, 2.8s) steps(3, end) infinite;
}

.hhg-name-preset-glitch .hhg-name-effect-text::after {
    color: var(--hhg-name-secondary);
    -webkit-text-fill-color: currentColor;
    transform: translateX(2px);
    clip-path: inset(55% 0 0 0);
    animation: hhg-name-glitch-after var(--hhg-name-duration, 2.8s) steps(3, end) infinite;
}

.hhg-name-preset-holographic .hhg-name-effect-text {
    background: linear-gradient(110deg, var(--hhg-name-primary), #b46cff, var(--hhg-name-secondary), var(--hhg-name-outline), #67ffb3, var(--hhg-name-primary));
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    -webkit-text-fill-color: transparent;
    filter:
        drop-shadow(0 0 calc(var(--hhg-name-glow, 8px) * .4) var(--hhg-name-primary))
        drop-shadow(0 0 calc(var(--hhg-name-glow, 8px) * .75) var(--hhg-name-secondary));
    animation: hhg-name-holographic var(--hhg-name-duration, 2.8s) ease-in-out infinite;
}

.hhg-name-preset-ice .hhg-name-effect-text {
    background: linear-gradient(180deg, var(--hhg-name-outline), #bff6ff 35%, var(--hhg-name-primary) 65%, var(--hhg-name-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    -webkit-text-fill-color: transparent;
    filter:
        drop-shadow(0 1px 0 var(--hhg-name-outline))
        drop-shadow(0 0 calc(var(--hhg-name-glow, 8px) * .5) var(--hhg-name-primary))
        drop-shadow(0 0 var(--hhg-name-glow, 8px) var(--hhg-name-secondary));
}

.hhg-name-preset-shimmer .hhg-name-effect-text {
    background: linear-gradient(110deg, var(--hhg-name-primary) 20%, var(--hhg-name-outline) 40%, #fff 50%, var(--hhg-name-outline) 60%, var(--hhg-name-secondary) 80%);
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    -webkit-text-fill-color: transparent;
    animation: hhg-name-shimmer var(--hhg-name-duration, 2.8s) linear infinite;
}

.hhg-name-preset-aura .hhg-name-effect-text {
    color: var(--hhg-name-primary) !important;
    -webkit-text-fill-color: currentColor;
    animation: hhg-name-aura var(--hhg-name-duration, 2.8s) ease-in-out infinite;
}

.hhg-name-preset-rgb .hhg-name-effect-text {
    color: var(--hhg-name-outline) !important;
    -webkit-text-fill-color: currentColor;
    animation: hhg-name-rgb var(--hhg-name-duration, 2.8s) steps(3, end) infinite;
}

.hhg-name-preset-electric .hhg-name-effect-text {
    color: var(--hhg-name-primary) !important;
    -webkit-text-fill-color: currentColor;
    text-shadow:
        0 0 calc(var(--hhg-name-glow, 8px) * .45) var(--hhg-name-primary),
        0 0 var(--hhg-name-glow, 8px) var(--hhg-name-secondary),
        0 0 calc(var(--hhg-name-glow, 8px) * 1.8) var(--hhg-name-secondary);
    animation: hhg-name-electric var(--hhg-name-duration, 2.8s) steps(7, end) infinite;
}

.hhg-name-preset-matrix .hhg-name-effect-text {
    color: var(--hhg-name-primary) !important;
    -webkit-text-fill-color: currentColor;
    text-shadow:
        0 0 calc(var(--hhg-name-glow, 8px) * .5) var(--hhg-name-primary),
        0 0 var(--hhg-name-glow, 8px) var(--hhg-name-secondary),
        0 0 calc(var(--hhg-name-glow, 8px) * 1.6) var(--hhg-name-secondary);
    animation: hhg-name-matrix var(--hhg-name-duration, 2.8s) steps(6, end) infinite;
}

.hhg-name-preset-chrome .hhg-name-effect-text {
    background: linear-gradient(180deg, var(--hhg-name-outline) 0%, #d8d8d8 20%, var(--hhg-name-secondary) 46%, #ececec 70%, var(--hhg-name-primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,.55)) drop-shadow(0 0 calc(var(--hhg-name-glow, 8px) * .45) rgba(255,255,255,.35));
}

.hhg-name-preset-toxic .hhg-name-effect-text {
    background: linear-gradient(90deg, var(--hhg-name-outline), var(--hhg-name-primary), var(--hhg-name-secondary), var(--hhg-name-primary), var(--hhg-name-outline));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 calc(var(--hhg-name-glow, 8px) * .45) var(--hhg-name-primary)) drop-shadow(0 0 var(--hhg-name-glow, 8px) var(--hhg-name-secondary));
    animation: hhg-name-toxic var(--hhg-name-duration, 2.8s) linear infinite;
}

.hhg-name-preset-galaxy .hhg-name-effect-text {
    background: linear-gradient(120deg, #4c1d95, var(--hhg-name-primary), var(--hhg-name-outline), var(--hhg-name-secondary), #4c1d95);
    background-size: 280% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 calc(var(--hhg-name-glow, 8px) * .45) var(--hhg-name-outline)) drop-shadow(0 0 var(--hhg-name-glow, 8px) var(--hhg-name-primary));
    animation: hhg-name-galaxy var(--hhg-name-duration, 2.8s) ease-in-out infinite;
}

.hhg-name-preset-blood .hhg-name-effect-text {
    background: linear-gradient(180deg, var(--hhg-name-outline) 0%, var(--hhg-name-primary) 42%, #9f1239 75%, var(--hhg-name-secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 calc(var(--hhg-name-glow, 8px) * .4) var(--hhg-name-primary)) drop-shadow(0 0 var(--hhg-name-glow, 8px) var(--hhg-name-secondary));
    animation: hhg-name-blood var(--hhg-name-duration, 2.8s) ease-in-out infinite;
}

.hhg-name-preset-wave .hhg-name-effect-text {
    background: linear-gradient(90deg, var(--hhg-name-secondary), var(--hhg-name-primary), var(--hhg-name-outline), var(--hhg-name-primary), var(--hhg-name-secondary));
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 calc(var(--hhg-name-glow, 8px) * .45) var(--hhg-name-primary)) drop-shadow(0 0 var(--hhg-name-glow, 8px) var(--hhg-name-secondary));
    animation: hhg-name-wave var(--hhg-name-duration, 2.8s) ease-in-out infinite;
}

.hhg-name-preset-smoke .hhg-name-effect-text {
    color: var(--hhg-name-primary) !important;
    -webkit-text-fill-color: currentColor;
    text-shadow: 0 0 calc(var(--hhg-name-glow, 8px) * .7) var(--hhg-name-primary), 0 0 calc(var(--hhg-name-glow, 8px) * 1.5) var(--hhg-name-secondary);
    animation: hhg-name-smoke var(--hhg-name-duration, 2.8s) ease-in-out infinite;
}

.hhg-name-preset-crystal .hhg-name-effect-text {
    background: linear-gradient(135deg, var(--hhg-name-outline) 0%, var(--hhg-name-primary) 25%, var(--hhg-name-secondary) 52%, #f9a8d4 76%, var(--hhg-name-outline) 100%);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 calc(var(--hhg-name-glow, 8px) * .35) var(--hhg-name-primary)) drop-shadow(0 0 calc(var(--hhg-name-glow, 8px) * .85) var(--hhg-name-secondary));
    animation: hhg-name-crystal var(--hhg-name-duration, 2.8s) linear infinite;
}

.hhg-name-preset-cyber .hhg-name-effect-text {
    color: var(--hhg-name-primary) !important;
    -webkit-text-fill-color: currentColor;
    text-shadow:
        0 0 calc(var(--hhg-name-glow, 8px) * .45) var(--hhg-name-primary),
        0 0 var(--hhg-name-glow, 8px) var(--hhg-name-primary),
        2px 0 0 var(--hhg-name-secondary),
        -2px 0 0 var(--hhg-name-secondary);
    animation: hhg-name-cyber var(--hhg-name-duration, 2.8s) steps(3, end) infinite;
}

@keyframes hhg-name-rainbow { to { background-position: 300% 50%; } }
@keyframes hhg-name-neon {
    0%, 100% { filter: brightness(.92); }
    50% { filter: brightness(1.28); }
}
@keyframes hhg-name-fire {
    0%, 100% { transform: translateY(0) scaleY(1); }
    25% { transform: translateY(-1px) scaleY(1.025); }
    50% { transform: translateY(0) scaleY(.985); }
    75% { transform: translateY(-1px) scaleY(1.04); }
}
@keyframes hhg-name-gold { from { background-position: 200% 50%; } to { background-position: -50% 50%; } }
@keyframes hhg-name-glitch-main {
    0%, 82%, 100% { transform: translate(0); }
    86% { transform: translate(-1px, 1px); }
    91% { transform: translate(1px, -1px); }
    96% { transform: translate(-1px, 0); }
}
@keyframes hhg-name-glitch-before {
    0%, 75%, 100% { transform: translate(-2px, 0); }
    82% { transform: translate(3px, -1px); }
    91% { transform: translate(-1px, 1px); }
}
@keyframes hhg-name-glitch-after {
    0%, 75%, 100% { transform: translate(2px, 0); }
    84% { transform: translate(-3px, 1px); }
    93% { transform: translate(1px, -1px); }
}
@keyframes hhg-name-holographic { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes hhg-name-shimmer { from { background-position: 200% 0; } to { background-position: -50% 0; } }
@keyframes hhg-name-aura {
    0%, 100% { text-shadow: 0 0 calc(var(--hhg-name-glow, 8px) * .4) var(--hhg-name-secondary); transform: scale(1); }
    50% { text-shadow: 0 0 calc(var(--hhg-name-glow, 8px) * .5) var(--hhg-name-outline), 0 0 var(--hhg-name-glow, 8px) var(--hhg-name-primary), 0 0 calc(var(--hhg-name-glow, 8px) * 2) var(--hhg-name-secondary); transform: scale(1.04); }
}
@keyframes hhg-name-rgb {
    0%, 100% { text-shadow: -2px 0 var(--hhg-name-primary), 2px 0 var(--hhg-name-secondary); }
    33% { text-shadow: 2px 1px var(--hhg-name-primary), -2px -1px var(--hhg-name-secondary); }
    66% { text-shadow: -1px -2px var(--hhg-name-primary), 1px 2px var(--hhg-name-secondary); }
}
@keyframes hhg-name-electric {
    0%, 100% { filter: brightness(.92); }
    15% { filter: brightness(1.42); }
    18% { filter: brightness(.86); }
    48% { filter: brightness(1.2); }
    52% { filter: brightness(.95); }
    80% { filter: brightness(1.35); }
}
@keyframes hhg-name-matrix { 0%, 100% { opacity: 1; } 32% { opacity: .82; } 52% { opacity: 1; } 74% { opacity: .9; } }
@keyframes hhg-name-toxic { to { background-position: 200% 50%; } }
@keyframes hhg-name-galaxy { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes hhg-name-blood { 0%, 100% { transform: scale(1); filter: brightness(.95); } 50% { transform: scale(1.03); filter: brightness(1.18); } }
@keyframes hhg-name-wave { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes hhg-name-smoke { 0%, 100% { opacity: .84; filter: blur(.3px); transform: translateY(0); } 50% { opacity: 1; filter: blur(0); transform: translateY(-2px); } }
@keyframes hhg-name-crystal { to { background-position: 300% 50%; } }
@keyframes hhg-name-cyber {
    0%, 88%, 100% { transform: translate(0); }
    92% { transform: translate(-2px, 1px); }
    96% { transform: translate(2px, -1px); }
}


@media (prefers-reduced-motion: reduce) {
    .hhg-name-preset-glitch .hhg-name-effect-text::before,
    .hhg-name-preset-glitch .hhg-name-effect-text::after {
        animation: none !important;
    }
}


/* 0.15.11 - identificação pública da equipe */
.hhg-staff-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 0 0 auto;
    padding: 3px 7px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: linear-gradient(135deg, #d63638, #9f1f28);
    color: #fff !important;
    box-shadow: 0 3px 10px rgba(214, 54, 56, 0.22);
    font-size: 10px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: .02em;
    white-space: nowrap;
    vertical-align: middle;
}

.hhg-staff-badge-icon {
    width: 11px;
    height: 11px;
    fill: currentColor;
    flex: 0 0 auto;
}

.hhg-staff-badge-context-profile {
    padding: 4px 8px;
    font-size: 11px;
}


.comentarios .hhg-comment-identity .hhg-staff-badge,
.hhg-follow-activity-heading .hhg-staff-badge {
    transform: translateY(-1px);
}

@media (max-width: 680px) {
    .hhg-profile-page .hhg-profile-name-row {
        justify-content: center;
    }


    .hhg-staff-badge {
        padding: 3px 6px;
        font-size: 9px;
    }
}

/* 0.15.13 — edição de foto/nick no Meu Perfil e nova área Meus dados. */
.hhg-account-avatar-edit,
.hhg-account-avatar-edit form {
    margin: 0;
}

.hhg-account-avatar-edit form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hhg-account-avatar-edit .hhg-account-avatar {
    position: relative;
}

.hhg-account-edit-icon {
    width: 30px;
    height: 30px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
    background: #343434;
    color: #fff;
    cursor: pointer;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(0,0,0,.28);
    transition: transform .16s ease, background .16s ease, border-color .16s ease;
}

.hhg-account-edit-icon:hover,
.hhg-account-edit-icon:focus-visible {
    background: #ed2553;
    border-color: #ed2553;
    color: #fff;
    transform: translateY(-1px);
    outline: none;
}

.hhg-account-edit-icon svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.hhg-account-avatar-pencil {
    position: absolute;
    right: -5px;
    bottom: 3px;
    z-index: 8;
}

.hhg-account-avatar-pencil input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.hhg-account-avatar-edit form.is-uploading .hhg-account-avatar-pencil {
    pointer-events: none;
    opacity: .65;
}

.hhg-account-avatar-help {
    max-width: 140px;
    margin-top: 8px;
    color: #898989;
    font-size: 10px;
    line-height: 1.35;
    text-align: center;
}

.hhg-account-name-editor {
    min-width: 0;
}

.hhg-account-name-view {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 9px;
}

.hhg-account-name-view h4 {
    min-width: 0;
    margin: 0;
    font-size: 27px;
    line-height: 1.1;
}

.hhg-account-name-pencil {
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    box-shadow: none;
}

.hhg-account-name-pencil svg {
    width: 13px;
    height: 13px;
}

.hhg-account-name-form {
    max-width: 520px;
    margin: 1px 0 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.hhg-account-name-form[hidden] {
    display: none !important;
}

.hhg-account-name-form small {
    width: 100%;
    color: #969696;
    font-size: 11px;
    line-height: 1.45;
}

.hhg-account-text-input {
    min-width: 0;
    min-height: 36px;
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 5px;
    background: #1f1f1f;
    color: #fff;
    font: inherit;
    outline: none;
}

.hhg-account-name-form .hhg-account-text-input {
    width: min(100%, 260px);
    flex: 1 1 210px;
}

.hhg-account-text-input:focus {
    border-color: rgba(237,37,83,.85);
    box-shadow: 0 0 0 2px rgba(237,37,83,.12);
}

.hhg-account-data-panel,
.hhg-account-security-panel {
    padding: 22px;
}

.hhg-account-security-panel {
    margin-top: 14px;
}

.hhg-account-data-panel .hhg-account-heading,
.hhg-account-security-panel .hhg-account-heading {
    margin-bottom: 18px;
}

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

.hhg-account-data-item {
    min-width: 0;
    padding: 16px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 8px;
    background: rgba(0,0,0,.12);
}

.hhg-account-data-item > span {
    display: block;
    margin-bottom: 5px;
    color: #ed2553;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hhg-account-data-item strong {
    display: block;
    overflow-wrap: anywhere;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.hhg-account-data-item small,
.hhg-account-password-form > small {
    display: block;
    margin-top: 6px;
    color: #8f8f8f;
    font-size: 11px;
    line-height: 1.45;
}

.hhg-account-password-form {
    margin: 0;
}

.hhg-account-password-form > label {
    display: block;
    margin-bottom: 7px;
    color: #d7d7d7;
    font-size: 12px;
    font-weight: 700;
}

.hhg-account-password-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hhg-account-password-row .hhg-account-text-input {
    flex: 1 1 auto;
    width: 100%;
    height: 36px;
    min-height: 36px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.hhg-account-password-row .hhg-account-button {
    height: 36px;
    min-height: 36px;
    padding-top: 5px;
    padding-bottom: 5px;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .hhg-account-avatar-help {
        max-width: none;
    }

    .hhg-account-name-view {
        justify-content: center;
    }

    .hhg-account-name-view h4 {
        font-size: 24px;
    }

    .hhg-account-name-form {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hhg-account-name-form small {
        text-align: center;
    }

    .hhg-account-data-grid {
        grid-template-columns: 1fr;
    }

    .hhg-account-data-panel .hhg-account-heading {
        align-items: flex-start;
    }

    .hhg-account-password-row {
        flex-direction: column;
    }

    .hhg-account-password-row .hhg-account-button {
        justify-content: center;
    }
}
