/* A player's profile (/u/:name). Builds on styles.css, home.css and decks.css (the deck tiles). The flair itself
   (pictures, rings, name colors, badges, banner presets) is in styles.css. */
.pf-hero { width: min(1100px, 100%); margin: 0 auto; padding: 18px 24px 34px; }
.pf-status { color: rgba(247, 245, 240, 0.75); text-align: center; padding: 30px 0; }
.pf-status a { color: #fff; text-decoration: underline; }
.pf-missing { font: 700 clamp(1.8rem, 4vw, 2.6rem)/1.1 var(--serif); color: #fff; text-align: center; padding-top: 30px; }

/* The banner: a wide strip. Card art is shown whole-colored and uncovered, cropped to fit like the deck tiles. */
.pf-banner { position: relative; aspect-ratio: 4 / 1; min-height: 130px; border-radius: 18px; overflow: hidden; box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35); }
.pf-banner-art { background: #161514; }
.pf-banner-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.pf-credit { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 2px 14px; margin: 6px 4px 0; font-size: 0.74rem; color: rgba(247, 245, 240, 0.7); }

/* Picture, name and badges below the banner. Over a preset banner the picture rises into its lower edge; card art
   is left uncovered. */
.pf-id { display: flex; align-items: flex-start; gap: 18px; margin-top: 16px; padding: 0 22px; position: relative; }
.pf-overlap .pf-av { margin-top: -72px; }
.pf-av { box-shadow: 0 0 0 4px #1b1a18, 0 8px 22px rgba(0, 0, 0, 0.45); }
.pf-av.b-founder { box-shadow: 0 0 0 1.5px #161514, 0 0 0 3px #f2c14e, 0 0 0 6px #1b1a18; }
.pf-who { flex: 1; min-width: 0; padding-top: 6px; }
.pf-name { font: 700 clamp(1.7rem, 3.6vw, 2.5rem)/1.1 var(--serif); letter-spacing: -0.01em; color: #fff; overflow-wrap: anywhere; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35); }
.pf-name .nc-wubrg, .pf-name .nc-foil, .pf-name .nc-champion { text-shadow: none; }
.pf-meta { display: flex; flex-wrap: wrap; gap: 2px 14px; margin-top: 6px; font-size: 0.9rem; color: rgba(247, 245, 240, 0.72); }
.pf-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pf-actions { flex: none; padding-top: 10px; }
.pf-actions .btn.primary { background: #fbf5eb; color: #141414; border-color: #fbf5eb; }
/* A quiet outlined pill. It's a .btn.link, which drops its left padding for inline links; put it back so the text
   sits centered in the pill. */
.pf-actions .btn.pf-report { margin: 0; padding: 0.35em 1em; min-height: 32px; border-color: rgba(247, 245, 240, 0.35); border-radius: 99px; color: rgba(247, 245, 240, 0.8); font-size: 0.86rem; line-height: 1; text-decoration: none; }
.pf-actions .btn.pf-report:hover { color: #fff; border-color: rgba(247, 245, 240, 0.7); background: rgba(247, 245, 240, 0.08); }

.pf-main { padding-top: 28px !important; }
.pf-main .pf-h { font: 600 var(--s2)/1.2 var(--serif); margin-bottom: 6px; text-align: left; }
.pf-main .ds-status a { text-decoration: underline; }

@media (max-width: 640px) {
  .pf-hero { padding: 12px 16px 28px; }
  .pf-banner { aspect-ratio: 3 / 1; min-height: 100px; border-radius: 14px; }
  .pf-id { flex-wrap: wrap; gap: 10px 14px; padding: 0 8px; }
  .pf-id .pf-av { --av: 84px !important; }
  .pf-overlap .pf-av { margin-top: -52px; }
  .pf-who { flex-basis: 100%; padding-top: 0; }
  .pf-actions { position: absolute; right: 8px; top: 0; padding-top: 0; }
}
