/* Profile screen (v0.16) — all colours come from theme tokens or the
   per-profile accent hue (--pf-h), so light and dark both work. */

/* ---------- shared stat cards (also used by other screens) ---------- */
.sm-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 10px; margin: 16px 0; }
.sm-stat-card {
  background: var(--surface-container); border: 1px solid var(--outline-variant);
  padding: 14px 10px; border-radius: var(--sm-radius-card); text-align: center;
  transition: transform .12s ease, border-color .15s ease;
}
.sm-stat-card:hover { border-color: color-mix(in srgb, var(--primary) 40%, transparent); }
.sm-stat-card small { display: block; font-size: 11px; font-weight: 700; color: var(--sm-muted); text-transform: uppercase; letter-spacing: .5px; }
.sm-stat-card b { font-size: 20px; font-weight: 800; color: var(--on-surface); font-variant-numeric: tabular-nums; margin-top: 4px; display: block; }
.sm-scope-badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px; }
.sm-scope-practice { background: color-mix(in srgb, var(--primary) 14%, transparent); color: var(--primary); border: 1px solid color-mix(in srgb, var(--primary) 35%, transparent); }
.sm-scope-official { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); border: 1px solid color-mix(in srgb, var(--ok) 35%, transparent); }
.sm-settings-group { margin-bottom: 24px; }
.sm-settings-group h3 { margin-bottom: 12px; font-size: 16px; color: var(--on-surface); font-weight: 700; }
.sm-m-0 { margin: 0 !important; }
.sm-settings-meta-row { display: flex; justify-content: space-between; align-items: center; padding: 4px 0; }
.sm-settings-version-highlight { color: var(--primary); }

/* ---------- profile layout ---------- */
.sm-pf { --pf-h: 42; display: flex; flex-direction: column; gap: 14px; padding-bottom: 24px; }
.sm-pf-skeleton { padding-top: 8px; }

/* hero */
.sm-pf-hero {
  --pf-a: hsl(var(--pf-h) 85% 55%);
  --pf-b: hsl(calc(var(--pf-h) - 14) 80% 38%);
  position: relative; overflow: hidden;
  border-radius: 24px; background: var(--surface-container-low);
  border: 1px solid var(--outline-variant);
  animation: smPfIn .35s ease both;
}
.sm-pf-hero__banner {
  position: relative; height: 104px; overflow: hidden;
  background:
    radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--pf-a) 85%, transparent), transparent 60%),
    radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--pf-b) 80%, transparent), transparent 60%),
    linear-gradient(135deg, color-mix(in srgb, var(--pf-a) 40%, var(--surface)), color-mix(in srgb, var(--pf-b) 40%, var(--surface)));
}
.sm-pf-hero__banner span { position: absolute; border-radius: 50%; border: 1px solid color-mix(in srgb, #fff 22%, transparent); }
.sm-pf-hero__banner span:nth-child(1) { width: 180px; height: 180px; right: -40px; top: -90px; }
.sm-pf-hero__banner span:nth-child(2) { width: 120px; height: 120px; right: 60px; top: 30px; opacity: .6; }
.sm-pf-hero__banner span:nth-child(3) { width: 70px; height: 70px; left: 24px; top: -20px; opacity: .5; }
.sm-pf-hero__body { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 18px 18px; margin-top: -48px; position: relative; }
.sm-pf-hero__avatar { position: relative; display: inline-flex; }
.sm-pf-hero__avatar .sm-av { box-shadow: 0 0 0 4px var(--surface-container-low), 0 0 0 6px var(--pf-a), 0 10px 30px color-mix(in srgb, var(--pf-a) 35%, transparent); }
.sm-pf-hero__cam {
  position: absolute; right: -2px; bottom: -2px; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; border: 3px solid var(--surface-container-low);
  background: var(--pf-a); color: #1a1405; cursor: pointer; transition: transform .15s ease;
}
.sm-pf-hero__cam:active { transform: scale(.9); }
.sm-pf-hero__cam svg { width: 16px; height: 16px; }
.sm-pf-hero__name { margin: 12px 0 2px; font-size: 22px; font-weight: 800; line-height: 1.2; color: var(--on-surface); overflow-wrap: anywhere; }
.sm-pf-hero__handle { margin: 0; display: flex; gap: 8px; align-items: center; justify-content: center; flex-wrap: wrap; color: var(--sm-muted); font-size: 14px; }
.sm-pf-hero__presence { font-size: 12px; padding: 2px 8px; border-radius: 999px; background: var(--surface-container-high); }
.sm-pf-hero__presence.is-on { color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, transparent); }
.sm-pf-ign {
  margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; max-width: 100%;
  padding: 6px 12px; border-radius: 999px; cursor: pointer; font: inherit;
  background: var(--surface-container-high); color: var(--on-surface); border: 1px solid var(--outline-variant);
  transition: border-color .15s ease, transform .1s ease;
}
.sm-pf-ign:hover:not(:disabled) { border-color: var(--pf-a); }
.sm-pf-ign:active:not(:disabled) { transform: scale(.97); }
.sm-pf-ign:disabled { cursor: default; opacity: .8; }
.sm-pf-ign small { font-size: 10px; font-weight: 800; letter-spacing: .8px; color: var(--sm-muted); }
.sm-pf-ign b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sm-pf-ign svg { width: 14px; height: 14px; color: var(--sm-muted); flex: none; }
.sm-pf-hero__bio { margin: 12px 0 0; max-width: 46ch; font-size: 14px; line-height: 1.5; color: var(--on-surface-variant); overflow-wrap: anywhere; }
.sm-pf-hero__addbio { margin-top: 10px; background: none; border: 1px dashed var(--outline-variant); color: var(--sm-muted); border-radius: 999px; padding: 5px 12px; font: inherit; font-size: 13px; cursor: pointer; }
.sm-pf-hero__since { margin: 12px 0 0; font-size: 12px; color: var(--sm-muted); }

.sm-pf-chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 12px; }
.sm-pf-chip {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700; color: var(--on-surface-variant);
  background: var(--surface-container-high); border: 1px solid var(--outline-variant); white-space: nowrap;
}
.sm-pf-chip svg { width: 13px; height: 13px; }
.sm-pf-chip.is-accent { color: var(--primary); background: color-mix(in srgb, var(--primary) 12%, transparent); border-color: color-mix(in srgb, var(--primary) 30%, transparent); }

/* buttons */
.sm-pf-actions { display: flex; gap: 8px; width: 100%; margin-top: 16px; }
.sm-pf-btn {
  flex: 1 1 0; min-width: 0; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 0 12px; border-radius: 14px; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer;
  background: var(--surface-container-high); color: var(--on-surface); border: 1px solid var(--outline-variant);
  transition: transform .1s ease, background .15s ease, border-color .15s ease;
}
.sm-pf-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sm-pf-btn svg { width: 18px; height: 18px; flex: none; }
.sm-pf-btn:hover:not(:disabled) { border-color: var(--primary); }
.sm-pf-btn:active:not(:disabled) { transform: scale(.96); }
.sm-pf-btn:disabled { opacity: .55; cursor: progress; }
.sm-pf-btn.is-primary { background: var(--primary); color: var(--on-primary); border-color: transparent; }
.sm-pf-btn.is-icon { flex: 0 0 44px; padding: 0; }

/* stat tiles */
.sm-pf-stats { display: grid; gap: 8px; }
.sm-pf-stats--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sm-pf-stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sm-pf-stat {
  min-width: 0; padding: 12px 8px; border-radius: 16px; text-align: center;
  background: var(--surface-container); border: 1px solid var(--outline-variant);
}
.sm-pf-stat small { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--sm-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sm-pf-stat b { display: block; margin-top: 4px; font-size: 20px; font-weight: 800; color: var(--on-surface); font-variant-numeric: tabular-nums; }
.sm-pf-stat__sub { display: block; margin-top: 4px; font-size: 11px; color: var(--sm-muted); }
.sm-pf-trend { font-weight: 700; }
.sm-pf-trend.is-up { color: var(--ok); }
.sm-pf-trend.is-down { color: var(--error); }

/* tabs with sliding ink */
.sm-pf-tabs {
  position: relative;
  display: grid; grid-template-columns: repeat(var(--tab-n), 1fr); padding: 4px; border-radius: 16px;
  background: var(--surface-container); border: 1px solid var(--outline-variant);
}
.sm-pf-tabs__ink {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / var(--tab-n));
  transform: translateX(calc(100% * var(--tab-i))); border-radius: 12px; background: var(--primary);
  transition: transform .28s cubic-bezier(.3,.7,.2,1);
}
.sm-pf-tab { position: relative; z-index: 1; min-height: 38px; border: 0; background: none; font: inherit; font-weight: 700; font-size: 13.5px; color: var(--on-surface-variant); cursor: pointer; border-radius: 12px; transition: color .2s ease; }
.sm-pf-tab.on { color: var(--on-primary); }
.sm-pf-section { display: flex; flex-direction: column; gap: 12px; }
.sm-pf-section.is-in { animation: smPfIn .25s ease both; }

/* cards */
.sm-pf-card { padding: 16px; border-radius: 20px; background: var(--surface-container-low); border: 1px solid var(--outline-variant); }
.sm-pf-card__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.sm-pf-card__head h3 { margin: 0; font-size: 15px; font-weight: 800; color: var(--on-surface); letter-spacing: .2px; }
.sm-pf-muted { margin: 0 0 10px; font-size: 13px; color: var(--sm-muted); line-height: 1.45; }
.sm-pf-ok { color: var(--ok); }

/* rank cards */
.sm-pf-ranks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sm-pf-rank { padding: 14px; border-radius: 20px; background: var(--surface-container-low); border: 1px solid var(--outline-variant); display: flex; flex-direction: column; min-width: 0; }
.sm-pf-rank.is-practice { background: linear-gradient(160deg, color-mix(in srgb, var(--primary) 10%, var(--surface-container-low)), var(--surface-container-low)); }
.sm-pf-rank.is-official { background: linear-gradient(160deg, color-mix(in srgb, var(--ok) 10%, var(--surface-container-low)), var(--surface-container-low)); }
.sm-pf-rank__tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; }
.sm-pf-rank__tag svg { width: 13px; height: 13px; }
.is-practice .sm-pf-rank__tag { color: var(--primary); background: color-mix(in srgb, var(--primary) 14%, transparent); }
.is-official .sm-pf-rank__tag { color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, transparent); }
.sm-pf-rank__label { margin-top: 6px; font-size: 11px; color: var(--sm-muted); line-height: 1.3; }
.sm-pf-rank__num { font-size: 36px; font-weight: 900; line-height: 1; color: var(--on-surface); font-variant-numeric: tabular-nums; margin: 6px 0 4px; }
.sm-pf-rank__num small { font-size: 18px; color: var(--sm-muted); margin-right: 1px; }
.sm-pf-rank__num.is-empty { color: var(--sm-muted); }
.sm-pf-rank__meta { margin: 0; font-size: 12px; color: var(--on-surface-variant); line-height: 1.45; }
.sm-pf-rank__meta b { font-weight: 700; color: var(--on-surface); }
.sm-pf-rank__note { margin: 8px 0 0; font-size: 11px; color: var(--sm-muted); line-height: 1.4; }

/* form */
.sm-pf-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sm-pf-form > div { padding: 10px; border-radius: 14px; background: var(--surface-container); min-width: 0; }
.sm-pf-form small { display: block; font-size: 11px; color: var(--sm-muted); font-weight: 700; }
.sm-pf-form b { display: inline-flex; align-items: center; gap: 4px; font-size: 18px; font-weight: 800; color: var(--on-surface); }
.sm-pf-form b em { font-style: normal; font-size: 12px; color: var(--sm-muted); font-weight: 600; }
.sm-pf-form b svg { width: 16px; height: 16px; color: var(--live-red, var(--error)); }
.sm-pf-spark-wrap { margin-top: 12px; color: var(--primary); }
.sm-pf-spark { display: block; width: 100%; height: 64px; }
.sm-pf-spark-axis { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--sm-muted); }
.sm-pf-places { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.sm-pf-place { min-width: 40px; text-align: center; padding: 5px 8px; border-radius: 10px; font-size: 12.5px; font-weight: 800; background: var(--surface-container-high); color: var(--on-surface-variant); }
.sm-pf-place.is-top { color: var(--on-surface); }
.sm-pf-place.is-podium { background: color-mix(in srgb, var(--primary) 18%, transparent); color: var(--primary); }
.sm-pf-place.is-win { background: var(--primary); color: var(--on-primary); }

/* maps */
.sm-pf-maps { display: flex; flex-direction: column; gap: 12px; }
.sm-pf-map__row { display: flex; align-items: center; gap: 10px; }
.sm-pf-map__icon { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--surface-container-high); color: var(--primary); }
.sm-pf-map__icon svg { width: 18px; height: 18px; }
.sm-pf-map__name { flex: 1; min-width: 0; }
.sm-pf-map__name b, .sm-pf-map__nums b { display: block; font-size: 14px; color: var(--on-surface); }
.sm-pf-map__name small, .sm-pf-map__nums small { display: block; font-size: 11.5px; color: var(--sm-muted); }
.sm-pf-map__nums { text-align: right; flex: none; }
.sm-pf-map .sm-pf-meter { margin-top: 8px; }

.sm-pf-meter { height: 6px; border-radius: 999px; background: var(--surface-container-highest); overflow: hidden; }
.sm-pf-meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), color-mix(in srgb, var(--primary) 60%, var(--ok))); transform-origin: left; animation: smPfGrow .7s cubic-bezier(.3,.7,.2,1) both; }

/* owner selector */
.sm-pf-seg-scroll { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 8px; scrollbar-width: none; }
.sm-pf-radio { position: relative; flex: none; cursor: pointer; }
.sm-pf-radio input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.sm-pf-radio span { display: inline-block; padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--surface-container-high); color: var(--on-surface-variant); border: 1px solid var(--outline-variant); transition: all .15s ease; }
.sm-pf-radio input:checked + span { background: var(--primary); color: var(--on-primary); border-color: transparent; }
.sm-pf-radio input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }

/* lists */
.sm-pf-list { display: flex; flex-direction: column; gap: 8px; }
.sm-pf-match, .sm-pf-team {
  width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; text-align: left; font: inherit; cursor: pointer;
  background: var(--surface-container-low); color: var(--on-surface); border: 1px solid var(--outline-variant);
  transition: transform .1s ease, border-color .15s ease;
}
.sm-pf-match:hover, .sm-pf-team:hover { border-color: var(--primary); }
.sm-pf-match:active, .sm-pf-team:active { transform: scale(.985); }
.sm-pf-match__place { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; font-weight: 900; font-size: 15px; background: var(--surface-container-high); color: var(--on-surface-variant); }
.sm-pf-match__place.is-top { color: var(--on-surface); }
.sm-pf-match__place.is-podium { background: color-mix(in srgb, var(--primary) 18%, transparent); color: var(--primary); }
.sm-pf-match__place.is-win { background: var(--primary); color: var(--on-primary); }
.sm-pf-match__main { flex: 1; min-width: 0; }
.sm-pf-match__main b, .sm-pf-team b { display: block; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sm-pf-match__main small, .sm-pf-team small { display: block; font-size: 12px; color: var(--sm-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sm-pf-match__nums { flex: none; text-align: center; min-width: 38px; }
.sm-pf-match__nums b { display: block; font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; }
.sm-pf-match__nums small { display: block; font-size: 10.5px; color: var(--sm-muted); }
.sm-pf-team > span { flex: 1; min-width: 0; }
.sm-pf-team > svg { width: 18px; height: 18px; color: var(--sm-muted); flex: none; }
.sm-pf-team .sm-pf-match__main { display: none; }
.sm-pf-timeline { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid var(--outline-variant); display: flex; flex-direction: column; gap: 10px; }
.sm-pf-timeline li { position: relative; }
.sm-pf-timeline li::before { content: ''; position: absolute; left: -20px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); }
.sm-pf-timeline b { display: block; font-size: 14px; color: var(--on-surface); }
.sm-pf-timeline small { font-size: 12px; color: var(--sm-muted); }

/* badges */
.sm-pf-badges { display: grid; grid-template-columns: 1fr; gap: 8px; }
.sm-pf-badge { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: var(--surface-container); border: 1px solid var(--outline-variant); }
.sm-pf-badge__icon { width: 42px; height: 42px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--surface-container-highest); color: var(--sm-muted); filter: grayscale(1); }
.sm-pf-badge__icon svg { width: 22px; height: 22px; }
.sm-pf-badge.is-unlocked { border-color: color-mix(in srgb, var(--primary) 45%, transparent); background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 9%, var(--surface-container)), var(--surface-container)); }
.sm-pf-badge.is-unlocked .sm-pf-badge__icon { filter: none; color: var(--on-primary); background: var(--primary); box-shadow: var(--gold-glow); }
.sm-pf-badge__info { flex: 1; min-width: 0; }
.sm-pf-badge__info b { display: block; font-size: 14px; color: var(--on-surface); }
.sm-pf-badge__info small { display: block; font-size: 12px; color: var(--sm-muted); margin-bottom: 6px; }
.sm-pf-badge__state { flex: none; font-size: 12px; font-weight: 800; color: var(--sm-muted); font-variant-numeric: tabular-nums; }
.sm-pf-badge__state svg { width: 22px; height: 22px; color: var(--ok); }
@media (min-width: 640px) { .sm-pf-badges { grid-template-columns: 1fr 1fr; } }

/* edit sheet */
.sm-pf-edit__preview {
  --pf-a: hsl(var(--pf-h) 85% 55%);
  display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; margin-bottom: 4px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--pf-a) 22%, var(--surface-container)), var(--surface-container));
  border: 1px solid color-mix(in srgb, var(--pf-a) 40%, transparent); transition: background .25s ease;
}
.sm-pf-edit__preview > div { flex: 1; min-width: 0; }
.sm-pf-edit__preview b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sm-pf-edit__preview small { color: var(--sm-muted); }
.sm-pf-edit__preview .btn svg { width: 16px; height: 16px; vertical-align: -3px; }
.sm-pf-edit__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sm-pf-edit__roles { display: flex; flex-wrap: wrap; gap: 6px; }
.sm-pf-edit .sm-field > span small { float: right; font-weight: 600; color: var(--sm-muted); }
.sm-pf-swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.sm-pf-swatch { position: relative; cursor: pointer; }
.sm-pf-swatch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.sm-pf-swatch span { display: block; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, hsl(var(--pf-h) 85% 55%), hsl(calc(var(--pf-h) - 14) 80% 38%)); border: 3px solid var(--surface-container); box-shadow: 0 0 0 1px var(--outline-variant); transition: transform .15s ease, box-shadow .15s ease; }
.sm-pf-swatch input:checked + span { transform: scale(1.1); box-shadow: 0 0 0 2px var(--on-surface); }
.sm-pf-swatch input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 3px; }

@keyframes smPfIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes smPfGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .sm-pf-hero, .sm-pf-section.is-in, .sm-pf-meter i { animation: none; } .sm-pf-tabs__ink { transition: none; } }

@media (max-width: 380px) {
  .sm-pf-stats--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm-pf-ranks { grid-template-columns: 1fr; }
  .sm-pf-edit__row { grid-template-columns: 1fr; }
  .sm-pf-btn span { font-size: 13px; }
}

/* v0.24 Team history */
.sm-pf-teams__list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 0; }
.sm-pf-teams__row { position: relative; display: grid; grid-template-columns: 14px 1fr auto auto; gap: 10px; align-items: center; padding: 10px 0; }
.sm-pf-teams__row + .sm-pf-teams__row { border-top: 1px solid var(--outline-variant, rgba(255,255,255,.06)); }
.sm-pf-teams__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-container-highest); box-shadow: 0 0 0 3px var(--surface-container); }
.sm-pf-teams__row.is-current .sm-pf-teams__dot { background: var(--primary); }
.sm-pf-teams__body { min-width: 0; }
.sm-pf-teams__body b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sm-pf-teams__body small { color: var(--on-surface-variant); font-size: .74rem; }
.sm-pf-teams__igl { font-style: normal; font-size: .62rem; font-weight: 800; padding: 1px 6px; margin-left: 4px; border-radius: 99px; color: var(--on-primary, #09090b); background: var(--primary); vertical-align: middle; }
.sm-pf-teams__stat { display: grid; text-align: right; min-width: 44px; }
.sm-pf-teams__stat b { font-variant-numeric: tabular-nums; }
.sm-pf-teams__stat small { font-size: .62rem; color: var(--on-surface-variant); }
.sm-pf-coach p { margin: 0 0 12px; color: var(--on-surface-variant); line-height: 1.45; }

/* v1.0.0: Practice | Public career toggle */
.sm-pf-career { display: grid; gap: 8px; }
.sm-pf-career-seg { justify-self: start; }
.sm-pf-career-note { margin: 0; opacity: .75; }
.sm-pf-hidden-stats p { margin: 0; display: flex; align-items: center; gap: 6px; }
.sm-pf-coach .sm-actions { display: flex; flex-wrap: wrap; gap: 8px; }
