/* =============================================================================
   IMZ Artist Card — artista-card.css  (Material Design 3 — Light + Dark)
   -----------------------------------------------------------------------------
   • Superficie clara (branco) por defeito, dark mode automatico.
   • Dark ativa via: prefers-color-scheme OU classes de tema comuns
     (html.dark, body.dark, body.dark-mode, [data-theme="dark"], .dark).
   • A cor do artista (--artista-color) e o "primary" do Material.
   • Mantem todos os nomes de classe — drop-in.
   ============================================================================= */

.imz-artista-card,
.imz-outras-musicas {
    --artista-color: #e8631a;
    --artista-color-bg: rgba(232, 99, 26, 0.10);
    --artista-color-mid: rgba(232, 99, 26, 0.18);
    --artista-color-bdr: rgba(232, 99, 26, 0.30);
    --artista-nome-color: #1c1b1f;

    --md-surface: #ffffff;
    --md-surface-2: #f7f5f4;
    --md-surface-3: #f1eeec;
    --md-on-surface: #1c1b1f;
    --md-on-surface-var: #5f5b66;
    --md-on-surface-faint: #8a8690;
    --md-outline: #e6e2e0;
    --md-outline-strong: #d8d2cf;

    --md-elev-1: 0 1px 2px rgba(0,0,0,0.10), 0 1px 3px rgba(0,0,0,0.06);
    --md-elev-2: 0 2px 6px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.08);
    --md-elev-3: 0 6px 16px rgba(0,0,0,0.14), 0 2px 6px rgba(0,0,0,0.08);

    --imz-radius-lg: 24px;
    --imz-radius-md: 16px;
    --imz-radius-sm: 12px;
    --imz-transition: all 0.25s cubic-bezier(0.2, 0, 0, 1);

    font-family: var(--imz-font-family, "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif);
}

@media (prefers-color-scheme: dark) {
    .imz-artista-card,
    .imz-outras-musicas {
        --md-surface: #1c1b1f;
        --md-surface-2: #26242a;
        --md-surface-3: #2f2d34;
        --md-on-surface: #e7e1e6;
        --md-on-surface-var: #c9c3cd;
        --md-on-surface-faint: #938f99;
        --md-outline: #3a373f;
        --md-outline-strong: #49454f;
        --md-elev-1: 0 1px 3px rgba(0,0,0,0.5);
        --md-elev-2: 0 3px 8px rgba(0,0,0,0.55);
        --md-elev-3: 0 8px 24px rgba(0,0,0,0.6);
        --artista-nome-color: #ffffff;
    }
}

html.dark .imz-artista-card,           html.dark .imz-outras-musicas,
html[data-theme="dark"] .imz-artista-card, html[data-theme="dark"] .imz-outras-musicas,
body.dark .imz-artista-card,           body.dark .imz-outras-musicas,
body.dark-mode .imz-artista-card,      body.dark-mode .imz-outras-musicas,
.dark .imz-artista-card,               .dark .imz-outras-musicas,
[data-theme="dark"] .imz-artista-card, [data-theme="dark"] .imz-outras-musicas {
    --md-surface: #1c1b1f;
    --md-surface-2: #26242a;
    --md-surface-3: #2f2d34;
    --md-on-surface: #e7e1e6;
    --md-on-surface-var: #c9c3cd;
    --md-on-surface-faint: #938f99;
    --md-outline: #3a373f;
    --md-outline-strong: #49454f;
    --md-elev-1: 0 1px 3px rgba(0,0,0,0.5);
    --md-elev-2: 0 3px 8px rgba(0,0,0,0.55);
    --md-elev-3: 0 8px 24px rgba(0,0,0,0.6);
    --artista-nome-color: #ffffff;
}

.imz-artista-card *, .imz-artista-card *::before, .imz-artista-card *::after,
.imz-outras-musicas *, .imz-outras-musicas *::before, .imz-outras-musicas *::after { box-sizing: border-box; }

/* ===== 1. CARD DO ARTISTA ===== */
.imz-artista-card {
    position: relative;
    margin: 0 0 28px;
    border-radius: var(--imz-radius-lg);
    background: var(--md-surface);
    border: 1px solid var(--md-outline);
    box-shadow: var(--md-elev-1);
    overflow: hidden;
    transition: var(--imz-transition);
}
.imz-artista-card:hover { box-shadow: var(--md-elev-3); border-color: var(--md-outline-strong); }
.imz-artista-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: var(--artista-color);
}
.imz-artista-main { position: relative; display: flex; align-items: center; gap: 18px; padding: 22px 26px; }

.imz-artista-card .imz-artista-foto-ring {
    position: relative; flex-shrink: 0; padding: 3px; border-radius: 50%;
    background: var(--artista-color); box-shadow: var(--md-elev-1); transition: var(--imz-transition);
}
.imz-artista-card:hover .imz-artista-foto-ring { transform: scale(1.03); }
.imz-artista-card .imz-artista-foto {
    width: 72px; height: 72px; min-width: 72px; min-height: 72px; max-width: 72px; max-height: 72px;
    border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 3px solid var(--md-surface); display: block;
}
.imz-artista-card .imz-artista-foto-placeholder {
    width: 72px; height: 72px; min-width: 72px; min-height: 72px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 22px;
    border: 3px solid var(--md-surface);
    box-shadow: inset 0 0 0 1px var(--md-outline);
    letter-spacing: 0.5px; text-transform: uppercase; line-height: 1;
}
.imz-artista-info { flex: 1; min-width: 0; }
.imz-artista-nome-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 6px; }
.imz-artista-nome {
    font-size: 22px; font-weight: 700; letter-spacing: -0.2px;
    color: var(--md-on-surface); cursor: pointer; transition: opacity 0.2s;
}
.imz-artista-nome:hover { opacity: 0.7; }
.imz-verified-badge { display: inline-block; vertical-align: middle; margin-left: 2px; flex-shrink: 0; }
.imz-artista-feat-pill .imz-verified-badge { width: 14px; height: 14px; margin-left: 0; }
.imz-artista-genero-badge {
    font-size: 11px; font-weight: 600; padding: 5px 12px; border-radius: 8px;
    background: var(--artista-color-bg); color: var(--artista-color); border: 1px solid var(--artista-color-bdr);
    text-transform: uppercase; letter-spacing: 0.6px; line-height: 1;
}
.imz-artista-bio {
    margin: 0 0 6px; font-size: 13.5px; color: var(--md-on-surface-var); line-height: 1.5;
    overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.imz-artista-meta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 4px; }
.imz-artista-pais {
    margin: 0; display: inline-flex; align-items: center; gap: 5px; font-size: 13px;
    color: var(--md-on-surface-var); font-weight: 500; white-space: nowrap;
}
.imz-artista-card .imz-artista-pais svg.imz-pin-icon {
    width: 14px; height: 14px; min-width: 14px; max-width: 14px;
    flex: 0 0 auto; color: var(--artista-color);
    display: inline-block; float: none; vertical-align: middle;
}
.imz-artista-followers {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    font-size: 13px;
    color: var(--md-on-surface-var);
    font-weight: 500;
    white-space: nowrap;
}
.imz-artista-followers strong {
    color: var(--md-on-surface);
    font-weight: 700;
    margin: 0;
    display: inline;
    float: none;
}
.imz-artista-followers [data-follow-word] {
    display: inline;
    float: none;
}

.imz-artista-actions { flex-shrink: 0; display: flex; align-items: center; gap: 10px; }
.imz-artista-follow-btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 0 24px; height: 44px;
    border-radius: 22px; border: none; background: var(--artista-color); color: #fff; cursor: pointer;
    font-size: 14px; font-weight: 600; letter-spacing: 0.2px; transition: var(--imz-transition);
    -webkit-tap-highlight-color: transparent; outline: none; box-shadow: var(--md-elev-1);
    position: relative; overflow: hidden;
}
.imz-artista-follow-btn::after { content: ''; position: absolute; inset: 0; background: #fff; opacity: 0; transition: opacity 0.2s; }
.imz-artista-follow-btn:hover { box-shadow: var(--md-elev-2); }
.imz-artista-follow-btn:hover::after { opacity: 0.12; }
.imz-artista-follow-btn:active::after { opacity: 0.18; }
.imz-artista-follow-btn:disabled { opacity: 0.55; cursor: wait; box-shadow: none; }
.imz-artista-follow-btn:focus-visible { outline: 2px solid var(--artista-color); outline-offset: 2px; }
.imz-artista-follow-btn > * { position: relative; z-index: 1; }
.imz-artista-follow-btn .imz-follow-icon-plus, .imz-artista-follow-btn .imz-follow-icon-check { flex-shrink: 0; }
.imz-artista-follow-btn .imz-follow-icon-check { display: none; }
.imz-artista-follow-btn.following { background: var(--artista-color-bg); color: var(--artista-color); box-shadow: none; }
.imz-artista-follow-btn.following::after { background: var(--artista-color); }
.imz-artista-follow-btn.following .imz-follow-icon-plus { display: none; }
.imz-artista-follow-btn.following .imz-follow-icon-check { display: block; }
.imz-artista-follow-btn.just-followed { animation: imzFollowPop 0.4s cubic-bezier(0.34,1.56,0.64,1); }
@keyframes imzFollowPop { 0% { transform: scale(1);} 50% { transform: scale(1.1);} 100% { transform: scale(1);} }

.imz-artista-toggle-btn {
    flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; padding: 0; border-radius: 50%;
    border: 1px solid var(--md-outline); background: var(--md-surface-2); color: var(--md-on-surface-var);
    cursor: pointer; transition: var(--imz-transition); -webkit-tap-highlight-color: transparent; outline: none;
}
.imz-artista-toggle-btn:hover { background: var(--artista-color-bg); color: var(--artista-color); border-color: var(--artista-color-bdr); }
.imz-artista-toggle-btn:focus-visible { outline: 2px solid var(--artista-color); outline-offset: 2px; }
.imz-artista-toggle-btn.active { background: var(--artista-color-bg); color: var(--artista-color); border-color: var(--artista-color-bdr); }
.imz-artista-toggle-btn .imz-toggle-icon { width: 18px; height: 18px; min-width: 18px; flex: 0 0 auto; transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.imz-artista-toggle-btn.active .imz-toggle-icon { transform: scale(1.15); }
.imz-artista-card .imz-artista-follow-btn svg { width: 15px; height: 15px; min-width: 15px; flex: 0 0 auto; }
.imz-artista-card .imz-artista-nome .imz-verified-badge { width: 18px; height: 18px; min-width: 18px; }

.imz-artista-redes {
    padding: 18px 26px 22px; border-top: 1px solid var(--md-outline); background: var(--md-surface-2);
    animation: imzFadeSlideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes imzFadeSlideDown { from { opacity: 0; transform: translateY(-8px);} to { opacity: 1; transform: translateY(0);} }
.imz-artista-redes-titulo { margin: 0 0 12px; font-size: 11px; font-weight: 700; color: var(--md-on-surface-faint); text-transform: uppercase; letter-spacing: 1px; }
.imz-artista-redes-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.imz-artista-rede-btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: var(--imz-radius-sm);
    border: 1px solid var(--md-outline); background: var(--md-surface); color: var(--md-on-surface);
    text-decoration: none; font-size: 13px; font-weight: 500; transition: var(--imz-transition);
    outline: none; -webkit-tap-highlight-color: transparent;
}
.imz-artista-rede-btn:link, .imz-artista-rede-btn:visited, .imz-artista-rede-btn:active, .imz-artista-rede-btn:focus { text-decoration: none; outline: none; color: var(--md-on-surface); }
.imz-artista-rede-btn .imz-icon { width: 16px; height: 16px; flex-shrink: 0; }
.imz-artista-rede-btn:hover { background: var(--artista-color-bg); border-color: var(--artista-color-bdr); color: var(--artista-color); transform: translateY(-1px); text-decoration: none; box-shadow: var(--md-elev-1); }

.imz-artista-feats {
    display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 14px 26px 16px;
    border-top: 1px solid var(--md-outline); background: var(--md-surface-2);
}
.imz-artista-feat-label { font-size: 12px; color: var(--md-on-surface-faint); font-weight: 500; margin-right: 4px; }
.imz-artista-feat-pill {
    display: inline-flex; align-items: center; gap: 8px; padding: 4px 14px 4px 4px; border-radius: 30px;
    border: 1px solid var(--md-outline); background: var(--md-surface); font-size: 12px; font-weight: 600;
    color: var(--md-on-surface); cursor: pointer; transition: var(--imz-transition);
}
.imz-artista-feat-pill:hover { background: var(--md-surface-3); border-color: var(--md-outline-strong); transform: translateY(-1px); box-shadow: var(--md-elev-1); }
.imz-feat-mini-foto { width: 24px; height: 24px; min-width: 24px; min-height: 24px; max-width: 24px; max-height: 24px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.imz-feat-mini-placeholder { display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 9px; line-height: 1; letter-spacing: 0.3px; text-transform: uppercase; }
.imz-feat-redes-popup {
    margin: 0 26px 16px; border: 1px solid var(--md-outline); border-radius: var(--imz-radius-md);
    padding: 14px 16px; background: var(--md-surface); box-shadow: var(--md-elev-2); animation: imzFadeSlideDown 0.3s ease;
}
.imz-feat-popup-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; color: var(--md-on-surface); }
.imz-feat-popup-foto { width: 32px; height: 32px; min-width: 32px; min-height: 32px; max-width: 32px; max-height: 32px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.imz-feat-popup-header span { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.imz-feat-redes-popup .imz-artista-redes-grid { gap: 6px; }
.imz-feat-redes-popup .imz-artista-rede-btn { padding: 7px 12px; font-size: 12px; gap: 6px; border-radius: 10px; }
.imz-feat-redes-popup .imz-artista-rede-btn .imz-icon { width: 14px; height: 14px; }
.imz-feat-popup-close {
    margin-left: auto; background: var(--md-surface-2); border: none; color: var(--md-on-surface-var);
    width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: var(--imz-transition); font-size: 14px; line-height: 1;
}
.imz-feat-popup-close:hover { background: var(--md-surface-3); color: var(--md-on-surface); }

/* ===== 2. SLIDER "MAIS MUSICAS" ===== */
.imz-outras-musicas {
    margin: 32px 0 20px; border-radius: var(--imz-radius-md); background: var(--md-surface);
    border: 1px solid var(--md-outline); box-shadow: var(--md-elev-1); position: relative;
}
.imz-outras-musicas-header { display: flex; align-items: center; gap: 12px; padding: 16px 18px 12px; border-bottom: 1px solid var(--md-outline); }
.imz-outras-musicas-icon {
    flex-shrink: 0; width: 32px; height: 32px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center; font-size: 16px;
    background: var(--outras-color-bg, var(--artista-color-bg)); color: var(--outras-color, var(--artista-color));
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.imz-outras-musicas:hover .imz-outras-musicas-icon { transform: scale(1.1) rotate(-6deg); }
.imz-outras-musicas-titulo-wrap { min-width: 0; flex: 1; }
.imz-outras-musicas-titulo { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: -0.2px; color: var(--md-on-surface); line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.imz-outras-musicas-sub { margin: 2px 0 0; font-size: 11px; font-weight: 500; color: var(--md-on-surface-faint); text-transform: uppercase; letter-spacing: 0.8px; }
.imz-outras-ver-mais-btn {
    margin-left: auto; flex-shrink: 0; padding: 7px 14px; border-radius: 18px; background: var(--md-surface-2);
    border: 1px solid var(--md-outline); font-size: 11.5px; font-weight: 600; color: var(--md-on-surface);
    text-decoration: none; transition: var(--imz-transition); white-space: nowrap;
}
.imz-outras-ver-mais-btn:hover { background: var(--outras-color-bg, var(--artista-color-bg)); border-color: var(--outras-color, var(--artista-color)); color: var(--outras-color, var(--artista-color)); transform: translateY(-1px); text-decoration: none; }
.imz-outra-musica-card {
    display: flex; flex-direction: column; text-decoration: none; border-radius: var(--imz-radius-md);
    background: var(--md-surface-2); border: 1px solid var(--md-outline); overflow: hidden;
    transition: var(--imz-transition); position: relative; outline: none; -webkit-tap-highlight-color: transparent;
}
.imz-outra-musica-card::before, .imz-outra-musica-card::after { content: none; }
.imz-outra-musica-card:link, .imz-outra-musica-card:visited, .imz-outra-musica-card:active, .imz-outra-musica-card:focus { text-decoration: none; outline: none; border-color: var(--md-outline); color: inherit; }
.imz-outra-musica-card:focus-visible { outline: 2px solid var(--outras-color, var(--artista-color)); outline-offset: 2px; }
.imz-outra-musica-card:hover { background: var(--md-surface); border-color: var(--md-outline-strong); transform: translateY(-6px); box-shadow: var(--md-elev-3); text-decoration: none; }
.imz-outra-musica-thumb { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--md-surface-3); }
.imz-outra-musica-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.imz-outra-musica-card:hover .imz-outra-musica-thumb img { transform: scale(1.08); }
.imz-outra-musica-play-icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 28px; color: #fff; background: rgba(0,0,0,0.45); opacity: 0; transition: var(--imz-transition); }
@supports (backdrop-filter: blur(4px)) { .imz-outra-musica-play-icon { backdrop-filter: blur(3px); } }
.imz-outra-musica-card:hover .imz-outra-musica-play-icon { opacity: 1; }
.imz-outra-musica-thumb-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 40px; color: var(--md-on-surface-faint); background: var(--md-surface-3); }
.imz-outra-musica-info { padding: 10px 12px 12px; }
.imz-outra-musica-titulo { margin: 0; font-size: 13px; font-weight: 600; color: var(--md-on-surface); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.imz-outra-musica-artista { margin: 0; font-size: 11.5px; font-weight: 500; color: var(--md-on-surface-var); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ===== 3. SLIDER CONTROLS ===== */
.imz-slider-outer { position: relative; padding: 14px 18px 42px; overflow: hidden; }
.imz-slider-track { display: flex; gap: 12px; transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1); will-change: transform; }
.imz-slide { flex: 0 0 calc(20% - 9.6px); min-width: 0; }
.imz-slider-btn {
    position: absolute; top: calc(50% - 14px); width: 34px; height: 34px; border-radius: 50%;
    border: 1px solid var(--md-outline); background: var(--md-surface); color: var(--md-on-surface);
    font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center;
    z-index: 10; transition: var(--imz-transition); padding: 0; box-shadow: var(--md-elev-2);
}
.imz-slider-btn:hover { background: var(--md-surface-2); border-color: var(--md-outline-strong); transform: scale(1.08); }
.imz-slider-btn:focus-visible { outline: 2px solid var(--outras-color, var(--artista-color)); outline-offset: 2px; }
.imz-slider-btn:disabled { opacity: 0; pointer-events: none; }
.imz-slider-prev { left: 12px; }
.imz-slider-next { right: 12px; }
.imz-slider-dots { position: absolute; bottom: 20px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.imz-slider-dot { width: 8px; height: 4px; border-radius: 4px; border: none; background: var(--md-outline-strong); cursor: pointer; padding: 0; transition: var(--imz-transition); }
.imz-slider-dot:hover { background: var(--md-on-surface-faint); }
.imz-slider-dot:focus-visible { outline: 2px solid var(--outras-color, var(--artista-color)); outline-offset: 2px; }
.imz-slider-dot.active { background: var(--outras-color, var(--artista-color)); width: 24px; }

/* ===== 4. RESPONSIVO ===== */
@media screen and (max-width: 768px) {
    .imz-outras-musicas { margin: 28px 0 20px; border-radius: var(--imz-radius-md); }
    .imz-outras-musicas-header { padding: 14px 16px 10px; gap: 10px; }
    .imz-outras-musicas-titulo { font-size: 14px; }
    .imz-slider-outer { padding: 12px 16px 40px; }
    .imz-slide { flex: 0 0 calc(25% - 9px); }
    .imz-outra-musica-info { padding: 10px; }
    .imz-outra-musica-titulo { font-size: 12.5px; }
    .imz-outra-musica-artista { font-size: 11px; }
}
@media screen and (max-width: 600px) {
    .imz-artista-card { border-radius: var(--imz-radius-md); margin: 0 0 20px; }
    .imz-artista-main { padding: 16px; gap: 14px; flex-wrap: wrap; row-gap: 14px; }
    .imz-artista-card .imz-artista-foto-ring { padding: 2px; }
    .imz-artista-card .imz-artista-foto, .imz-artista-card .imz-artista-foto-placeholder { width: 56px; height: 56px; min-width: 56px; min-height: 56px; max-width: 56px; max-height: 56px; border-width: 2px; font-size: 18px; }
    .imz-artista-info { flex: 1 1 auto; min-width: 0; }
    .imz-artista-nome { font-size: 18px; }
    .imz-artista-nome-row { gap: 8px; margin-bottom: 4px; }
    .imz-artista-genero-badge { font-size: 10px; padding: 4px 10px; }
    .imz-artista-bio { font-size: 12.5px; -webkit-line-clamp: 1; margin-bottom: 4px; }
    .imz-artista-meta-row { gap: 8px 16px; margin-top: 2px; }
    .imz-artista-pais { font-size: 12.5px; }
    .imz-artista-followers { font-size: 12.5px; }
    /* Ações: linha própria por baixo, botão com altura normal */
    .imz-artista-actions { flex: 1 1 100%; order: 3; gap: 8px; }
    .imz-artista-follow-btn { flex: 1; justify-content: center; height: 42px; padding: 0 16px; font-size: 13.5px; }
    .imz-artista-toggle-btn { width: 42px; height: 42px; flex-shrink: 0; }
    .imz-artista-redes { padding: 14px 16px 18px; }
    .imz-artista-redes-titulo { font-size: 10px; margin-bottom: 8px; }
    .imz-artista-redes-grid { gap: 6px; }
    .imz-artista-rede-btn { padding: 8px 12px; font-size: 12px; gap: 6px; border-radius: 10px; }
    .imz-artista-rede-btn .imz-icon { width: 14px; height: 14px; }
    .imz-artista-feats { padding: 10px 16px 14px; gap: 6px; }
    .imz-artista-feat-label { font-size: 11px; }
    .imz-artista-feat-pill { font-size: 11px; padding: 3px 12px 3px 3px; gap: 6px; border-radius: 24px; }
    .imz-feat-mini-foto { width: 20px; height: 20px; min-width: 20px; min-height: 20px; }
    .imz-feat-redes-popup { margin: 0 16px 14px; padding: 12px 14px; }
    .imz-feat-popup-foto { width: 28px; height: 28px; min-width: 28px; min-height: 28px; max-width: 28px; max-height: 28px; }
    .imz-feat-popup-header span { font-size: 13px; }
    .imz-outras-musicas { margin: 24px 0 16px; border-radius: var(--imz-radius-md); }
    .imz-outras-musicas-header { padding: 16px 16px 12px; gap: 10px; flex-wrap: wrap; }
    .imz-outras-musicas-icon { width: 28px; height: 28px; font-size: 14px; }
    .imz-outras-musicas-titulo { font-size: 14px; }
    .imz-outras-musicas-sub { font-size: 10.5px; margin-top: 2px; }
    .imz-outras-ver-mais-btn { padding: 6px 12px; font-size: 11px; }
    .imz-slider-outer { padding: 12px 14px 38px; }
    .imz-slide { flex: 0 0 calc(33.333% - 8px); }
    .imz-slider-track { gap: 12px; }
    .imz-slider-btn { width: 32px; height: 32px; font-size: 16px; }
    .imz-slider-prev { left: 8px; }
    .imz-slider-next { right: 8px; }
    .imz-outra-musica-info { padding: 9px 10px; }
    .imz-outra-musica-titulo { font-size: 12px; margin-bottom: 3px; -webkit-line-clamp: 2; }
    .imz-outra-musica-artista { font-size: 10.5px; }
    .imz-outra-musica-play-icon { font-size: 20px; }
}
@media screen and (max-width: 380px) {
    .imz-slide { flex: 0 0 calc(50% - 6px); }
    .imz-artista-main { padding: 14px; gap: 12px; }
    .imz-artista-card .imz-artista-foto, .imz-artista-card .imz-artista-foto-placeholder { width: 48px; height: 48px; min-width: 48px; min-height: 48px; max-width: 48px; max-height: 48px; }
    .imz-artista-nome { font-size: 16px; }
    .imz-artista-bio { display: none; }
    .imz-artista-feats { padding: 8px 14px 12px; gap: 5px; }
    .imz-artista-feat-label { font-size: 10px; }
    .imz-artista-feat-pill { font-size: 10px; padding: 2px 10px 2px 2px; gap: 5px; border-radius: 20px; }
    .imz-feat-mini-foto { width: 18px; height: 18px; min-width: 18px; min-height: 18px; }
    .imz-artista-redes-grid { gap: 5px; }
    .imz-artista-rede-btn { padding: 7px 10px; font-size: 11px; gap: 5px; }
    .imz-artista-rede-btn .imz-icon { width: 13px; height: 13px; }
    .imz-outras-musicas-header { padding: 14px 12px 10px; }
    .imz-slider-outer { padding: 10px 12px 36px; }
    .imz-outra-musica-titulo { font-size: 12px; }
}

/* =============================================================================
   BLINDAGEM CONTRA TEMAS AGRESSIVOS
   -----------------------------------------------------------------------------
   Alguns temas aplicam regras com !important a svg/button/strong que partem
   este componente (ex.: "svg { width:100% !important }" faz o pin esticar e
   empurrar o texto para baixo; "button { padding:16px !important }" torna o
   botão Seguir gigante). Estas regras respondem com !important para garantir
   o layout correto independentemente do tema.
   ============================================================================= */

/* SVGs do componente não devem ser esticados pelo tema */
.imz-artista-card svg,
.imz-outras-musicas svg { max-width: none !important; height: auto; vertical-align: middle; }

/* Ícone do pin (localização) — tamanho fixo, em linha com o texto */
.imz-artista-card .imz-pin-icon {
    width: 14px !important; height: 14px !important;
    min-width: 14px !important; max-width: 14px !important;
    flex: 0 0 auto !important; display: inline-block !important; float: none !important;
}

/* Ícone das redes (•••) */
.imz-artista-card .imz-toggle-icon {
    width: 18px !important; height: 18px !important; min-width: 18px !important; flex: 0 0 auto !important;
}

/* Ícones do botão Seguir (+ e ✓) */
.imz-artista-card .imz-follow-icon-plus,
.imz-artista-card .imz-follow-icon-check {
    width: 15px !important; height: 15px !important; min-width: 15px !important; flex: 0 0 auto !important;
}

/* Localização e contagem sempre numa linha, ícone+texto lado a lado */
.imz-artista-card .imz-artista-pais {
    display: inline-flex !important; align-items: center !important;
    flex-wrap: nowrap !important; white-space: nowrap !important; float: none !important;
}
.imz-artista-card .imz-artista-followers {
    display: inline-flex !important; align-items: baseline !important;
    white-space: nowrap !important; float: none !important;
}
.imz-artista-card .imz-artista-followers strong,
.imz-artista-card .imz-artista-followers [data-follow-word] {
    display: inline !important; float: none !important; margin: 0 !important;
}
.imz-artista-card .imz-artista-meta-row {
    display: flex !important; align-items: center !important; flex-wrap: wrap !important;
}

/* Botão Seguir — o tema não pode redimensionar/encher de padding */
.imz-artista-card .imz-artista-follow-btn {
    height: 44px !important; min-height: 0 !important; line-height: 1 !important;
    padding: 0 24px !important; width: auto !important;
    border-radius: 22px !important; box-sizing: border-box !important;
}
/* Botão redes — círculo fixo */
.imz-artista-card .imz-artista-toggle-btn {
    width: 44px !important; height: 44px !important; min-height: 0 !important;
    padding: 0 !important; border-radius: 50% !important; box-sizing: border-box !important; line-height: 1 !important;
}

/* Botão X de fechar o popup de feat — círculo pequeno, não oval */
.imz-feat-redes-popup .imz-feat-popup-close,
.imz-artista-card .imz-feat-popup-close {
    width: 28px !important; height: 28px !important; min-width: 28px !important; min-height: 0 !important;
    padding: 0 !important; border-radius: 50% !important; box-sizing: border-box !important;
    line-height: 1 !important; flex: 0 0 auto !important;
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    margin: 0 0 0 auto !important;
}
.imz-feat-popup-header { align-items: center !important; }

/* Iniciais dos feats sem foto — círculo fixo */
.imz-artista-card .imz-feat-mini-foto.imz-feat-mini-placeholder,
.imz-artista-feats .imz-feat-mini-placeholder {
    width: 24px !important; height: 24px !important; min-width: 24px !important; min-height: 24px !important;
    max-width: 24px !important; border-radius: 50% !important; flex: 0 0 auto !important;
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    padding: 0 !important; box-sizing: border-box !important; line-height: 1 !important;
}
.imz-feat-redes-popup .imz-feat-popup-foto.imz-feat-mini-placeholder {
    width: 32px !important; height: 32px !important; min-width: 32px !important; min-height: 32px !important;
    max-width: 32px !important; border-radius: 50% !important; flex: 0 0 auto !important;
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    padding: 0 !important; box-sizing: border-box !important; line-height: 1 !important;
}

/* Em mobile, o botão Seguir ocupa a linha e tem altura menor */
@media screen and (max-width: 600px) {
    .imz-artista-card .imz-artista-follow-btn {
        height: 42px !important; padding: 0 16px !important; width: auto !important; flex: 1 1 auto !important;
    }
    .imz-artista-card .imz-artista-toggle-btn { width: 42px !important; height: 42px !important; flex: 0 0 auto !important; }
}
