/* Profile rank: a dedicated link to the existing official-classification timeline. */
.rank-highlight{position:relative;isolation:isolate;display:inline-flex;align-items:center;gap:14px;margin-top:17px;padding:8px 17px 8px 8px;max-width:100%;min-height:67px;border:1px solid #a64a2a;border-radius:7px;overflow:hidden;background:linear-gradient(112deg,#4f271a 0%,#35201b 48%,#231a19 93%);text-decoration:none;color:var(--ink);box-shadow:inset 0 1px #ff9f6a15}
.rank-highlight::before{content:"";position:absolute;pointer-events:none;z-index:-1;inset:0 0 0 42%;background:linear-gradient(124deg,transparent 48%,#ff672520 48% 54%,transparent 54% 62%,#ff672514 62% 68%,transparent 68% 76%,#ff67250b 76% 82%,transparent 82%)}
.rank-highlight:hover{border-color:#ff9d72;background:linear-gradient(112deg,#663222,#42271e 60%,#28201d)}
.rank-value{display:grid;place-items:center;flex:none;min-width:116px;min-height:49px;padding:2px 13px 5px;clip-path:polygon(11px 0,100% 0,100% calc(100% - 11px),calc(100% - 11px) 100%,0 100%,0 11px);background:linear-gradient(137deg,#ff9b70 0%,#ff6b32 53%,#ef4f17 100%);color:#170d0b;font-size:clamp(31px,4vw,43px);line-height:1;letter-spacing:-.063em;font-weight:970;font-variant-numeric:tabular-nums}
.rank-title{display:block;font-size:14px;font-weight:790;line-height:1.24;color:#fff3ed}.rank-hint{display:block;margin-top:3px;font-size:13px;line-height:1.25;color:#e2bcad}
.hero-copy .hero-meta{margin-top:12px}
@media(max-width:425px){.rank-highlight{gap:10px;padding-right:12px}.rank-value{min-width:101px;min-height:45px}.rank-title{font-size:13px}}

/* On phones, the ranking and player details share the full content width. */
@media (max-width: 760px) {
  .hero-copy .rank-highlight {
    display: flex;
    width: 100%;
  }
  .hero-copy .rank-highlight > span { min-width: 0; }
  .hero-copy .hero-meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.23fr);
    width: 100%;
  }
  .hero-copy .hero-meta .pill {
    justify-content: center;
    white-space: normal;
    text-align: center;
  }
  .hero-copy .hero-meta .pill:nth-child(3):last-child { grid-column: 1 / -1; }
}
