@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Rajdhani:wght@500;600;700&display=swap');
.sp-profile{max-width:1140px;margin:0 auto;padding:24px 0 48px;color:#edf0f5}
.sp-back{display:inline-block;margin-bottom:20px;color:#d5b96b;text-decoration:none}
.sp-header,.sp-progress,.sp-history{background:linear-gradient(135deg,#14151b,#0e0f15);border:1px solid #ffffff15;border-radius:18px;padding:28px}
.sp-header{display:flex;align-items:center;gap:24px;border-top:2px solid #d5b96b}
.sp-avatar{width:116px;height:116px;flex-shrink:0;border-radius:22px;border:1px solid #d5b96b66;background:#20212b;display:grid;place-items:center;overflow:hidden;font-size:48px;color:#d5b96b}
.sp-avatar img{width:100%;height:100%;object-fit:cover}
.sp-identity{min-width:0;flex:1}.sp-identity h1{font-size:clamp(24px,3vw,38px);line-height:1.2;margin:10px 0;overflow-wrap:anywhere}
.sp-identity p{font-size:12px;color:#a9adbc;overflow-wrap:anywhere;margin-bottom:16px}
.sp-kicker{font-size:11px;font-weight:800;letter-spacing:1.5px;color:#d5b96b}
.sp-crown{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:130px}.sp-crown span{color:#a9adbc;font-size:12px}
.sp-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}
.sp-metric{padding:22px 18px;background:#12131b;border:1px solid #ffffff12;border-radius:14px;display:flex;flex-direction:column;gap:10px;min-width:0}
.sp-metric>span{font-size:11px;font-weight:800;letter-spacing:1px;color:#a9adbc}.sp-metric strong{font-size:clamp(19px,2vw,27px);color:#f1d287;overflow-wrap:anywhere}.sp-metric small{color:#a9adbc;font-size:11px}
.sp-progress{margin-bottom:20px}.sp-progress>div,.sp-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.sp-progress h2,.sp-history h2{font-size:20px;margin:0 0 10px}.sp-progress strong{font-size:13px;color:#f1d287}.sp-progress p{font-size:13px;color:#a9adbc;margin:12px 0 0}
.sp-progress progress{display:block;width:100%;height:12px;accent-color:#d5b96b;margin-top:14px;border:0;border-radius:8px;overflow:hidden;background:#242530}.sp-progress progress::-webkit-progress-bar{background:#242530}.sp-progress progress::-webkit-progress-value{background:#d5b96b}.sp-progress progress::-moz-progress-bar{background:#d5b96b}
.sp-section-head{margin-bottom:18px}.sp-section-head>span{font-size:12px;color:#a9adbc}.sp-history h2{margin-top:8px}
.sp-match{display:grid;grid-template-columns:150px minmax(0,1fr) auto auto;gap:16px;align-items:center;padding:18px 0;border-top:1px solid #ffffff12;font-size:13px}
.sp-match-map{display:flex;flex-direction:column;gap:6px;min-width:0}.sp-match-map strong{overflow-wrap:anywhere}.sp-match time,.sp-match small{color:#a9adbc;font-size:11px}
.sp-result{font-size:12px;font-weight:700}.sp-win{color:#7bddad}.sp-loss,.sp-forfeit{color:#ff9696}.sp-draw{color:#a9bcdf}.sp-delta{text-align:right}.sp-empty{padding:24px 0;color:#a9adbc;font-size:14px}
#sp-history-error{color:#ff9696;font-size:13px}#sp-history-more{margin-top:12px}#sp-history-more[hidden]{display:none}
.sp-profile a:focus-visible,.sp-profile button:focus-visible{outline:2px solid #f1d287;outline-offset:4px}
@media(max-width:800px){.sp-header{flex-wrap:wrap;padding:20px;gap:16px}.sp-avatar{width:88px;height:88px}.sp-crown{width:100%;flex-direction:row;justify-content:center;border-top:1px solid #ffffff12;padding-top:16px}.sp-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.sp-match{grid-template-columns:1fr 1fr;gap:10px}.sp-match-map{grid-column:2;grid-row:1}.sp-history,.sp-progress{padding:20px}.sp-section-head,.sp-progress>div{align-items:flex-start;flex-direction:column}}
@media(max-width:420px){.sp-header{flex-direction:column;align-items:flex-start}.sp-metric{padding:16px 12px}.sp-profile{padding-top:12px}.sp-match>span:nth-of-type(2){font-size:11px}.sp-crown{flex-wrap:wrap}}

/* KINGS — Botões em cores de marca-texto */
.sp-profile .sp-identity .button,
.sp-profile .sp-identity button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 39px;
  margin: 8px 7px 0 0;
  padding: 10px 16px;
  border-radius: 9px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .035em;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, filter .2s;
}

/* Steam — amarelo */
.sp-profile .sp-identity a.button {
  background: #f4c767;
  color: #151515;
  border-color: #ffe49a;
  box-shadow: 0 0 13px #f4c76730;
}

/* Adicionar amigo — verde marca-texto */
.sp-profile .sp-identity button.button {
  background: #b7fa4c;
  color: #142008;
  border-color: #d5ff92;
  box-shadow: 0 0 13px #b7fa4c40;
}

/* Efeito luminoso */
.sp-profile .sp-identity .button:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 0 20px currentColor;
}

.sp-profile .sp-identity .button:focus-visible {
  outline: 3px solid #55c7ff;
  outline-offset: 3px;
}

.sp-profile .sp-identity .button:disabled {
  opacity: .7;
  cursor: not-allowed;
  transform: none;
}

/* Destaque das ações de reputação */
.sp-profile summary {
  color: #f4c767;
  font-weight: 900;
  cursor: pointer;
}

.sp-profile summary:hover {
  color: #ffe49a;
}



/* KINGS — Enviar mensagem */
.sp-profile .sp-identity button.sp-message-button {
  background: #55c7ff;
  color: #061a29;
  border: 1px solid #a3e4ff;
  box-shadow: 0 0 14px #55c7ff45;
}

.sp-profile .sp-identity button.sp-message-button:hover {
  background: #83d8ff;
  color: #061a29;
  box-shadow: 0 0 22px #55c7ff85;
}


/* KINGS — Ações de reputação marca-texto */
.sp-profile .iv-profile-social .iv-card details > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 8px 10px 8px 0;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .045em;
  cursor: pointer;
  list-style: none;
  transition: transform .2s, box-shadow .2s, filter .2s;
}

.sp-profile .iv-profile-social .iv-card details > summary::-webkit-details-marker {
  display: none;
}

/* Elogiar — amarelo marca-texto */
.sp-profile .iv-profile-social .iv-card details:has(#iv-compliment-form) > summary {
  background: #ffdf57;
  color: #241b00;
  border-color: #fff0a1;
  box-shadow: 0 0 15px #ffdf5740;
}

/* Denunciar — vermelho marca-texto */
.sp-profile .iv-profile-social .iv-card details:has(#iv-report-form) > summary {
  background: #ff647c;
  color: #29070e;
  border-color: #ff9cac;
  box-shadow: 0 0 15px #ff647c40;
}

.sp-profile .iv-profile-social .iv-card details > summary:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.sp-profile .iv-profile-social .iv-card details:has(#iv-compliment-form) > summary:hover {
  box-shadow: 0 0 23px #ffdf5780;
}

.sp-profile .iv-profile-social .iv-card details:has(#iv-report-form) > summary:hover {
  box-shadow: 0 0 23px #ff647c80;
}

.sp-profile .iv-profile-social #iv-compliment-form button[type="submit"] {
  background: #ffdf57;
  color: #241b00;
  border: 1px solid #fff0a1;
  font-weight: 900;
}

.sp-profile .iv-profile-social #iv-report-form button[type="submit"] {
  background: #ff647c;
  color: #29070e;
  border: 1px solid #ff9cac;
  font-weight: 900;
}

.sp-profile .iv-profile-social .iv-form button[type="submit"]:hover {
  filter: brightness(1.1);
}

.sp-profile .iv-profile-social details > summary:focus-visible,
.sp-profile .iv-profile-social .iv-form button:focus-visible {
  outline: 3px solid #55c7ff;
  outline-offset: 3px;
}

/* KINGS — Tipografia premium da reputação */


.sp-profile .iv-profile-social {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.65;
  letter-spacing: .01em;
}

.sp-profile .iv-profile-social .iv-card h2 {
  font-family: 'Rajdhani', Arial, sans-serif;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .055em;
  text-transform: uppercase;
  color: #f5f7ff;
}

.sp-profile .iv-profile-social .iv-reputation-summary {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7;
  color: #d9e3f4;
}

.sp-profile .iv-profile-social .iv-reputation-summary strong {
  font-family: 'Rajdhani', Arial, sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #ffdf57;
}

.sp-profile .iv-profile-social .iv-compliment-counts {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
}

.sp-profile .iv-profile-social .iv-compliment-counts b {
  font-weight: 800;
  color: #b7fa4c;
}

.sp-profile .iv-profile-social details > summary,
.sp-profile .iv-profile-social .iv-form button {
  font-family: 'Rajdhani', Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.sp-profile .iv-profile-social .iv-form label {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .025em;
  color: #dce6f7;
}

.sp-profile .iv-profile-social .iv-form input,
.sp-profile .iv-profile-social .iv-form select,
.sp-profile .iv-profile-social .iv-form textarea {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.sp-profile .iv-profile-social .iv-feedback {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}

@media (max-width: 600px) {
  .sp-profile .iv-profile-social .iv-card h2 {
    font-size: 25px;
  }
  .sp-profile .iv-profile-social details > summary {
    font-size: 16px;
  }
}


/* Cards expansíveis do histórico competitivo */
.sp-match-card{
  margin-top:12px;
  overflow:hidden;
  border:1px solid #ffffff12;
  border-left:3px solid #626879;
  border-radius:14px;
  background:linear-gradient(120deg,#151720,#101117 70%);
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.sp-match-card.sp-match-win{border-left-color:#b7fa4c}
.sp-match-card.sp-match-loss,.sp-match-card.sp-match-forfeit{border-left-color:#ff647c}
.sp-match-card:hover{border-top-color:#ffffff26;border-right-color:#ffffff26;border-bottom-color:#ffffff26;box-shadow:0 8px 26px #0005;transform:translateY(-1px)}
.sp-match-toggle{
  width:100%;min-height:78px;display:grid;grid-template-columns:minmax(92px,130px) minmax(150px,1fr) minmax(110px,auto) minmax(84px,auto) 20px;
  gap:16px;align-items:center;padding:16px 18px;border:0;background:transparent;color:#edf0f5;text-align:left;font:inherit;cursor:pointer;
}
.sp-match-toggle:hover{background:#ffffff04}
.sp-match-toggle:focus-visible,.sp-detail-retry:focus-visible{outline:2px solid #b7fa4c;outline-offset:-3px}
.sp-match-card .sp-result{display:inline-flex;width:max-content;max-width:100%;align-items:center;justify-content:center;padding:7px 10px;border:1px solid currentColor;border-radius:999px;font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.sp-match-card .sp-win{color:#b7fa4c;background:#b7fa4c12}
.sp-match-card .sp-loss,.sp-match-card .sp-forfeit{color:#ff7589;background:#ff647c12}
.sp-match-card .sp-draw{color:#b7c5dd;background:#b7c5dd10}
.sp-match-card .sp-unknown{color:#a9adbc;background:#ffffff08}
.sp-match-map strong{color:#f5f6fa;font-family:Rajdhani,Inter,sans-serif;font-size:18px;font-weight:700;letter-spacing:.025em}
.sp-match-map time{color:#9ca2b2;font-size:11px}
.sp-match-kd{display:flex;flex-direction:column;gap:5px;color:#e7e9ef;font-size:12px;font-weight:700;white-space:nowrap}
.sp-match-kd small{color:#9ca2b2;font-size:10px;font-weight:600}
.sp-match-card .sp-delta{font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}
.sp-match-card .sp-delta.positive{color:#b7fa4c}
.sp-match-card .sp-delta.negative{color:#ff7589}
.sp-match-card .sp-delta.neutral{color:#a9adbc}
.sp-match-chevron{justify-self:end;color:#b7fa4c;font-size:20px;transition:transform .18s ease}
.sp-match-toggle[aria-expanded="true"] .sp-match-chevron{transform:rotate(180deg)}
.sp-match-details{padding:0 18px 18px;border-top:1px solid #ffffff10}
.sp-match-details[hidden]{display:none}
.sp-detail-status,.sp-detail-empty{margin:16px 0 0;color:#aeb3c1;font-size:13px}
.sp-detail-status[role="status"]{color:#d5dae5}
.sp-detail-retry{margin-top:12px}
.sp-details-content{display:grid;grid-template-columns:minmax(150px,.5fr) minmax(0,2fr);gap:20px;padding-top:18px}
.sp-detail-score h4,.sp-detail-roster h4{margin:0 0 12px;color:#aeb3c1;font-size:10px;font-weight:900;letter-spacing:.13em;text-transform:uppercase}
.sp-detail-score p{margin:0;color:#f3f5fa;font-family:Rajdhani,Inter,sans-serif;font-size:27px;font-weight:700;font-variant-numeric:tabular-nums}
.sp-detail-teams{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.sp-detail-roster{min-width:0}
.sp-participant-list{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.sp-participant{display:grid;grid-template-columns:38px minmax(100px,1fr) minmax(105px,auto);gap:10px;align-items:center;min-width:0;padding:9px;border:1px solid #ffffff0c;border-radius:10px;background:#ffffff04}
.sp-participant-avatar{width:38px;height:38px;display:grid;place-items:center;overflow:hidden;border:1px solid #ffffff18;border-radius:9px;background:#252833;color:#b7fa4c;font-weight:800}
.sp-participant-avatar img{width:100%;height:100%;object-fit:cover}
.sp-participant-identity{display:grid;gap:4px;min-width:0}
.sp-participant-name{width:max-content;max-width:100%;overflow:hidden;color:#f1f2f7;font-size:12px;font-weight:800;text-overflow:ellipsis;text-decoration:none;white-space:nowrap}
a.sp-participant-name:hover{color:#b7fa4c;text-decoration:underline}
.sp-participant-rank{display:flex;align-items:center;gap:5px;min-width:0;color:#9ca2b2;font-size:10px}
.sp-participant-rank .kings-crown-small{width:20px;height:20px;flex:0 0 20px}
.sp-participant-rank>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sp-participant-integrity{color:#a9adbc;font-size:10px;white-space:nowrap}
.sp-participant-stats{grid-column:2/-1;display:flex;flex-wrap:wrap;gap:6px 12px;color:#bbc0cc;font-size:10px;font-variant-numeric:tabular-nums}
.sp-participant-stats .positive{color:#b7fa4c}.sp-participant-stats .negative{color:#ff7589}
@media(max-width:800px){
  .sp-match-toggle{grid-template-columns:minmax(90px,auto) minmax(110px,1fr) minmax(88px,auto) 16px;gap:10px;padding:14px}
  .sp-match-kd{grid-column:2;grid-row:2;flex-direction:row;align-items:center;gap:9px}
  .sp-match-card .sp-delta{grid-column:3;grid-row:2;text-align:right}
  .sp-match-chevron{grid-column:4;grid-row:1/3}
  .sp-details-content{grid-template-columns:1fr;gap:16px}
}
@media(max-width:560px){
  .sp-match-toggle{grid-template-columns:minmax(0,1fr) auto 18px;gap:8px 12px;padding:13px 12px}
  .sp-match-card .sp-result{grid-column:1;grid-row:1;font-size:9px}
  .sp-match-map{grid-column:1;grid-row:2}
  .sp-match-kd{grid-column:2;grid-row:2;justify-self:end;flex-direction:column;align-items:flex-end;gap:3px;font-size:11px}
  .sp-match-card .sp-delta{grid-column:2;grid-row:1;font-size:11px}
  .sp-match-chevron{grid-column:3;grid-row:1/3}
  .sp-match-details{padding:0 12px 14px}
  .sp-detail-teams{grid-template-columns:1fr}
  .sp-participant{grid-template-columns:34px minmax(0,1fr) auto;gap:8px;padding:8px}
  .sp-participant-avatar{width:34px;height:34px}
  .sp-participant-integrity{font-size:9px}
  .sp-participant-stats{gap:5px 10px}
}
@media(prefers-reduced-motion:reduce){.sp-match-card,.sp-match-chevron{transition:none}}

.sp-profile .iv-profile-social .iv-form button[type="submit"]:hover {
  filter: brightness(1.1);
}

.sp-profile .iv-profile-social details > summary:focus-visible,
.sp-profile .iv-profile-social .iv-form button:focus-visible {
  outline: 3px solid #55c7ff;
  outline-offset: 3px;
}

/* KINGS — Tipografia premium da reputação */


.sp-profile .iv-profile-social {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.65;
  letter-spacing: .01em;
}

.sp-profile .iv-profile-social .iv-card h2 {
  font-family: 'Rajdhani', Arial, sans-serif;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .055em;
  text-transform: uppercase;
  color: #f5f7ff;
}

.sp-profile .iv-profile-social .iv-reputation-summary {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7;
  color: #d9e3f4;
}

.sp-profile .iv-profile-social .iv-reputation-summary strong {
  font-family: 'Rajdhani', Arial, sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #ffdf57;
}

.sp-profile .iv-profile-social .iv-compliment-counts {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
}

.sp-profile .iv-profile-social .iv-compliment-counts b {
  font-weight: 800;
  color: #b7fa4c;
}

.sp-profile .iv-profile-social details > summary,
.sp-profile .iv-profile-social .iv-form button {
  font-family: 'Rajdhani', Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.sp-profile .iv-profile-social .iv-form label {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .025em;
  color: #dce6f7;
}

.sp-profile .iv-profile-social .iv-form input,
.sp-profile .iv-profile-social .iv-form select,
.sp-profile .iv-profile-social .iv-form textarea {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.sp-profile .iv-profile-social .iv-feedback {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}

@media (max-width: 600px) {
  .sp-profile .iv-profile-social .iv-card h2 {
    font-size: 25px;
  }
  .sp-profile .iv-profile-social details > summary {
    font-size: 16px;
  }
}


/* KINGS HISTORY SCORE TOP V2 */

/* Placar acima das equipes */
.sp-details-content {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-top: 20px;
}

.sp-detail-score {
  width: 100%;
  text-align: center;
  padding: 12px 16px 18px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.sp-detail-score h4 {
  font-size: 12px;
  margin-bottom: 8px;
  letter-spacing: .16em;
}

.sp-detail-score p {
  font-family: Rajdhani, Inter, sans-serif;
  font-size: clamp(38px, 5vw, 54px);
  font-weight: 800;
  line-height: 1;
  color: #f4f6fa;
}

/* Equipes lado a lado */
.sp-detail-teams {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.sp-detail-roster h4 {
  font-size: 13px;
  margin-bottom: 14px;
}

/* Cards e informações dos jogadores */
.sp-participant {
  padding: 12px;
  gap: 10px;
  grid-template-columns: 42px minmax(0,1fr) minmax(90px,auto);
}

.sp-participant-avatar {
  width: 42px;
  height: 42px;
}

.sp-participant-name {
  font-size: 14px;
}

.sp-participant-rank {
  font-size: 11px;
}

.sp-participant-integrity {
  font-size: 11px;
}

.sp-participant-stats {
  font-size: 14px;
  font-weight: 750;
  gap: 8px 16px;
  line-height: 1.4;
}

.sp-participant-stats span {
  white-space: nowrap;
}

@media (max-width: 700px) {
  .sp-detail-teams {
    grid-template-columns: 1fr;
  }

  .sp-participant {
    grid-template-columns: 40px minmax(0,1fr) auto;
    padding: 10px;
  }

  .sp-participant-avatar {
    width: 40px;
    height: 40px;
  }

  .sp-participant-stats {
    font-size: 13px;
    gap: 7px 12px;
  }

  .sp-participant-integrity {
    font-size: 10px;
  }
}


/* KINGS_PROFILE_PALETTE_V1 */

.sp-profile{
  --kg-gold:#f4bc55;
  --kg-blue:#64b5ff;
  --kg-green:#35df91;
  --kg-red:#ff526a;
  --kg-purple:#cb85ff;
  max-width:1500px;
  color:#edf4ff;
}

.sp-profile .sp-header{
  background:
    radial-gradient(ellipse at 85% 20%,#bc82231c,transparent 45%),
    linear-gradient(115deg,#101724,#080e17);
  border:1px solid #b78b456b;
  box-shadow:0 0 24px #d69b2110;
  border-radius:20px;
}

.sp-profile .sp-avatar{
  border:2px solid var(--kg-gold);
  box-shadow:0 0 20px #f4bc5530;
  overflow:hidden;
}

.sp-profile .sp-kicker,
.sp-profile .sp-back{
  color:var(--kg-gold);
}

.sp-profile .sp-identity h1{
  font-weight:900;
  font-size:clamp(30px,3.5vw,48px);
  color:#fff;
}

.sp-profile .sp-crown{
  padding:12px;
  border-radius:14px;
  background:radial-gradient(circle,#f4bc5514,transparent 75%);
}

.sp-profile .sp-crown strong{
  color:var(--kg-gold);
  font-weight:900;
}

.sp-profile .sp-metrics{
  gap:18px;
}

.sp-profile .sp-metric{
  --metric-color:#f4bc55;
  position:relative;
  overflow:hidden;
  min-width:0;
  padding:24px;
  border:1px solid color-mix(in srgb,var(--metric-color) 38%,transparent);
  border-radius:16px;
  background:
    radial-gradient(circle at 100% 0%,
      color-mix(in srgb,var(--metric-color) 15%,transparent),
      transparent 60%),
    linear-gradient(135deg,#101b2b,#0a101a);
  box-shadow:inset 0 1px 0 #ffffff0a;
  transition:transform .2s,border-color .2s,box-shadow .2s;
}

.sp-profile .sp-metric:hover{
  transform:translateY(-3px);
  border-color:var(--metric-color);
  box-shadow:0 8px 25px #0005;
}

.sp-profile .sp-metric::after{
  content:"";
  position:absolute;
  right:-20px;
  bottom:-35px;
  width:115px;
  height:115px;
  border:2px solid var(--metric-color);
  border-radius:50%;
  opacity:.10;
  pointer-events:none;
}

.sp-profile .sp-metric:nth-child(1){--metric-color:#f4bc55}
.sp-profile .sp-metric:nth-child(2){--metric-color:#ffc76c}
.sp-profile .sp-metric:nth-child(3){--metric-color:#64b5ff}
.sp-profile .sp-metric:nth-child(4){--metric-color:#64b5ff}
.sp-profile .sp-metric:nth-child(5){--metric-color:#35df91}
.sp-profile .sp-metric:nth-child(6){--metric-color:#ff526a}
.sp-profile .sp-metric:nth-child(7){--metric-color:#f4bc55}
.sp-profile .sp-metric:nth-child(8){--metric-color:#cb85ff}

.sp-profile .sp-metric>span{
  color:#b6c6dc;
  font-weight:800;
  letter-spacing:.08em;
}

.sp-profile .sp-metric>strong{
  color:var(--metric-color);
  font-size:clamp(25px,2.5vw,36px);
  font-weight:900;
  text-shadow:0 0 20px
    color-mix(in srgb,var(--metric-color) 18%,transparent);
}

.sp-profile .sp-metric>small{
  color:#b5c3d6;
}

.sp-profile .sp-progress{
  background:
    radial-gradient(ellipse at 85% 50%,#d69b2118,transparent 60%),
    linear-gradient(115deg,#101724,#0a101a);
  border:1px solid #b78b456b;
  border-radius:18px;
  padding:30px;
}

.sp-profile .sp-progress h2{
  color:#fff;
  font-size:24px;
  font-weight:900;
}

.sp-profile .sp-progress strong{
  color:var(--kg-gold);
  font-size:16px;
}

.sp-profile .sp-progress progress{
  height:15px;
  border-radius:20px;
  accent-color:#f4bc55;
  background:#202b3c;
}

.sp-profile .sp-progress progress::-webkit-progress-bar{
  background:#202b3c;
  border-radius:20px;
}

.sp-profile .sp-progress progress::-webkit-progress-value{
  background:linear-gradient(90deg,#b98629,#f4bc55,#ffdb86);
  border-radius:20px;
}

.sp-profile .sp-progress progress::-moz-progress-bar{
  background:#f4bc55;
  border-radius:20px;
}

@media(max-width:650px){
  .sp-profile .sp-metrics{gap:10px}
  .sp-profile .sp-metric{padding:16px}
  .sp-profile .sp-metric>strong{font-size:25px}
  .sp-profile .sp-progress{padding:20px}
}

@media(prefers-reduced-motion:reduce){
  .sp-profile .sp-metric{transition:none}
  .sp-profile .sp-metric:hover{transform:none}
}

/* KINGS_PROFILE_COMPACT_V3 */

/* Histórico compacto */
.sp-profile .sp-history{
  background:#0d1521;
  border:1px solid #26364c;
  border-radius:16px;
  padding:24px;
}
.sp-profile .sp-history .sp-section-head{
  margin-bottom:18px;
}
.sp-profile .sp-match-card{
  margin-top:10px;
  border:1px solid #2a3b53;
  border-left:3px solid #64758e;
  border-radius:12px;
  background:#152236;
  box-shadow:none;
  overflow:hidden;
  transform:none;
}
.sp-profile .sp-match-card.sp-match-win{
  border-left-color:#35d49a;
}
.sp-profile .sp-match-card.sp-match-loss,
.sp-profile .sp-match-card.sp-match-forfeit{
  border-left-color:#f06b7e;
}
.sp-profile .sp-match-card.sp-match-draw{
  border-left-color:#edbf6d;
}
.sp-profile .sp-match-card:hover{
  transform:none;
  box-shadow:none;
  border-top-color:#425570;
  border-right-color:#425570;
  border-bottom-color:#425570;
}
.sp-profile .sp-match-toggle{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto 20px;
  grid-template-rows:auto auto;
  gap:8px 20px;
  align-items:center;
  min-height:104px;
  padding:12px 16px;
}
.sp-profile .sp-match-map{
  grid-column:1;
  grid-row:1/3;
  display:flex;
  flex-direction:row;
  align-items:center;
  gap:15px;
  min-width:0;
}
.sp-profile .sp-match-map-art{
  display:block;
  flex:0 0 112px;
  width:112px;
  height:80px;
  border-radius:8px;
  overflow:hidden;
  background:#26374b;
}
.sp-profile .sp-match-map-art img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.sp-profile .sp-match-map-text{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0;
}
.sp-profile .sp-match-map-text strong{
  font-size:20px;
  text-transform:uppercase;
  letter-spacing:.025em;
}
.sp-profile .sp-match-map-text time{
  color:#9eafc5;
  font-size:11px;
}
.sp-profile .sp-match-card .sp-result{
  grid-column:2;
  grid-row:1;
  padding:5px 8px;
  font-size:10px;
  border:0;
  border-radius:5px;
  background:transparent;
}
.sp-profile .sp-match-card .sp-win{color:#35d49a}
.sp-profile .sp-match-card .sp-loss,
.sp-profile .sp-match-card .sp-forfeit{color:#f06b7e}
.sp-profile .sp-match-card .sp-draw{color:#edbf6d}
.sp-profile .sp-match-kd{
  grid-column:2;
  grid-row:2;
  display:flex;
  flex-direction:row;
  align-items:center;
  gap:10px;
  color:#e8edf5;
  font-size:12px;
}
.sp-profile .sp-match-card .sp-delta{
  grid-column:3;
  grid-row:1/3;
  font-size:16px;
  font-weight:800;
  text-align:right;
}
.sp-profile .sp-match-chevron{
  grid-column:4;
  grid-row:1/3;
  color:#9caec5;
}
.sp-profile .sp-demo-area{
  display:flex;
  justify-content:flex-start;
  margin:0;
  padding:9px 16px;
  background:#101b2b;
  border-top:1px solid #293a51;
}
.sp-profile .sp-demo-soon{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:0;
  padding:3px 0;
  background:transparent;
  color:#899bb2;
  font-size:10px;
  font-weight:700;
  cursor:not-allowed;
  opacity:1;
}
.sp-profile .sp-demo-soon svg{
  width:16px;
  height:16px;
  color:#899bb2;
}
.sp-profile .sp-demo-soon span{
  background:transparent;
  color:#899bb2;
  padding:0;
  font-size:10px;
}

/* Painéis sociais */
.sp-profile .iv-profile-social{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:16px;
  align-items:stretch;
  margin-top:18px;
}
.sp-profile .iv-profile-social>.iv-card{
  min-width:0;
  margin:0;
  padding:24px;
  background:#142034;
  border:1px solid #2c4059;
  border-radius:14px;
  box-shadow:none;
}
.sp-profile .iv-profile-social>.iv-card:nth-child(n+3){
  grid-column:1/-1;
}
.sp-profile .iv-profile-social .iv-card h2{
  font-family:Inter,Arial,sans-serif;
  font-size:17px;
  font-weight:800;
  letter-spacing:.045em;
  line-height:1.3;
  margin:8px 0 18px;
  color:#edf3fa;
}
.sp-profile .iv-profile-social .iv-kicker{
  color:#92a9c6;
  font-size:10px;
}
.sp-profile .iv-profile-social .iv-card>p{
  font-size:12px;
  line-height:1.5;
  color:#94a8c1;
}
.sp-profile .iv-profile-social .iv-reputation-summary{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  margin:0 0 14px;
  padding:0 0 14px;
  border:0;
  border-bottom:1px solid #2b3d54;
  border-radius:0;
  background:transparent;
  color:#a7b7cb;
  font-size:12px;
}
.sp-profile .iv-profile-social .iv-reputation-summary strong{
  font-family:Inter,Arial,sans-serif;
  font-size:30px;
  line-height:1;
  color:#eac174;
}
.sp-profile .iv-profile-social .iv-compliment-counts{
  display:grid;
  grid-template-columns:1fr;
  gap:0;
  margin:0 0 14px;
}
.sp-profile .iv-profile-social .iv-compliment-counts>span{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:7px 0;
  background:transparent;
  border:0;
  border-bottom:1px solid #ffffff0b;
  border-radius:0;
  color:#b8c7da;
  font-size:12px;
  font-weight:500;
}
.sp-profile .iv-profile-social .iv-compliment-counts b{
  font-family:Inter,Arial,sans-serif;
  font-size:13px;
  color:#edf3fa;
}
.sp-profile .iv-profile-social .iv-card details{
  display:inline-block;
  vertical-align:top;
  max-width:100%;
  margin:4px 7px 4px 0;
}
.sp-profile .iv-profile-social .iv-card details[open]{
  display:block;
}
.sp-profile .iv-profile-social .iv-card details>summary{
  min-height:36px;
  margin:0;
  padding:8px 12px;
  font-family:Inter,Arial,sans-serif;
  font-size:11px;
  font-weight:750;
  letter-spacing:.01em;
  border-radius:7px;
  box-shadow:none;
}
.sp-profile .iv-profile-social .iv-card details:has(#iv-compliment-form)>summary{
  background:#293e52;
  color:#f2c879;
  border:1px solid #4c5e70;
  box-shadow:none;
}
.sp-profile .iv-profile-social .iv-card details:has(#iv-report-form)>summary{
  background:#29313e;
  color:#f39aa4;
  border:1px solid #4c4d5a;
  box-shadow:none;
}
.sp-profile .iv-profile-social .iv-card details>summary:hover{
  transform:none;
  filter:brightness(1.12);
  box-shadow:none;
}

/* Responsividade */
@media(max-width:1000px){
  .sp-profile .iv-profile-social{
    grid-template-columns:1fr;
  }
  .sp-profile .iv-profile-social>.iv-card:nth-child(n+3){
    grid-column:auto;
  }
}
@media(max-width:750px){
  .sp-profile .sp-match-toggle{
    grid-template-columns:minmax(0,1fr) auto 18px;
    gap:9px 12px;
  }
  .sp-profile .sp-match-map{
    grid-column:1;
    grid-row:1/3;
  }
  .sp-profile .sp-match-map-art{
    width:76px;
    height:62px;
    flex-basis:76px;
  }
  .sp-profile .sp-match-card .sp-result{
    grid-column:2;
    grid-row:1;
  }
  .sp-profile .sp-match-kd{
    grid-column:2;
    grid-row:2;
    flex-direction:column;
    align-items:flex-end;
    gap:3px;
  }
  .sp-profile .sp-match-card .sp-delta{
    grid-column:1;
    grid-row:3;
    text-align:left;
  }
  .sp-profile .sp-match-chevron{
    grid-column:3;
    grid-row:1/3;
  }
}
@media(max-width:440px){
  .sp-profile .sp-history{padding:14px}
  .sp-profile .sp-match-toggle{padding:11px}
  .sp-profile .sp-match-map-art{
    width:58px;
    height:55px;
    flex-basis:58px;
  }
  .sp-profile .sp-match-map{gap:9px}
  .sp-profile .sp-match-map-text strong{font-size:15px}
  .sp-profile .sp-match-card .sp-delta{font-size:13px}
}


/* KINGS_DISCORD_PRIVACY_V1 */
.sp-profile .sp-identity a.sp-discord-button{background:#5865f2;color:#fff;border:1px solid #8790ff;box-shadow:0 0 14px #5865f255}
.sp-profile .sp-identity a.sp-discord-button:hover{background:#7380ff;color:#fff}

/* KINGS — Botão Discord roxo */
.sp-profile .sp-identity a.sp-discord-button {
  background: #5865f2;
  color: #fff;
  border: 1px solid #8993ff;
  box-shadow: 0 0 15px #5865f255;
}

.sp-profile .sp-identity a.sp-discord-button:hover {
  background: #7289ff;
  box-shadow: 0 0 22px #5865f299;
}
