/*
 * Teams: /team/{handle} (pages::team) and /teams (pages::teams), 2026-10-12.
 *
 * The team's accent colour arrives as --xtm-accent on .xtm, set from its page's settings.
 * NOT BUILT. Linked as-is from both pages. Keep this file ASCII-only (see the CSS mojibake note).
 */
.xtm {
  --xtm-accent-fallback: #a855f7;
  --xtm-a: var(--xtm-accent, var(--xtm-accent-fallback));
  --xtm-glass: var(--sig-glass, rgba(16, 16, 24, 0.85));
  --xtm-line: var(--sig-line, rgba(255, 255, 255, 0.08));
  --xtm-text: var(--xv2-text, #f5f5f7);
  --xtm-muted: var(--xv2-muted, #a1a1aa);
  --xtm-faint: var(--xv2-faint, #8b8b98);
  display: flex; flex-direction: column; gap: 16px;
  max-width: 1180px; margin: 0 auto; padding: 16px; box-sizing: border-box; color: var(--xtm-text);
}
.xtm *, .xtm *::before, .xtm *::after { box-sizing: border-box; }
.xtm ul { list-style: none; margin: 0; padding: 0; }

.xtm-card { background: var(--xtm-glass); border: 1px solid var(--xtm-line); border-radius: 16px; }

/* Buttons */
.xtm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 14px;
  border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.06);
  color: var(--xtm-text); font: inherit; font-size: 13px; font-weight: 650; text-decoration: none; white-space: nowrap; cursor: pointer;
}
.xtm-btn:hover { background: rgba(255, 255, 255, 0.1); }
.xtm-btn:focus-visible { outline: 2px solid var(--xtm-a); outline-offset: 2px; }
.xtm-btn[disabled] { opacity: 0.6; cursor: default; }
.xtm-btn--accent { background: var(--xtm-a); border-color: transparent; color: #fff; }
.xtm-btn--accent:hover { background: var(--xtm-a); filter: brightness(1.08); }
.xtm-btn--quiet { background: transparent; border-color: transparent; color: var(--xtm-muted); }
.xtm-btn--quiet:hover { color: #fca5a5; background: rgba(239, 68, 68, 0.1); }

.xtm-chip {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.055);
  font-size: 11px; font-weight: 650; color: var(--xtm-muted); white-space: nowrap;
}
.xtm-chip--live { border-color: rgba(239, 68, 68, 0.35); background: rgba(239, 68, 68, 0.14); color: #fca5a5; }
.xtm-chip--accent {
  border-color: color-mix(in srgb, var(--xtm-a) 32%, transparent);
  background: color-mix(in srgb, var(--xtm-a) 16%, transparent);
  color: color-mix(in srgb, var(--xtm-a) 70%, #ffffff);
}

.xtm-verified { width: 20px; height: 20px; color: #60a5fa; flex: 0 0 auto; vertical-align: -3px; }
.xtm-verified--sm { width: 14px; height: 14px; vertical-align: -2px; }

.xtm-live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #ef4444; vertical-align: 1px; box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6); animation: xtm-pulse 1.8s ease-out infinite; }
@keyframes xtm-pulse { 0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6); } 80%, 100% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); } }
@media (prefers-reduced-motion: reduce) { .xtm-live-dot { animation: none; } }

/* Avatars */
.xtm-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.xtm-avatar--lg { width: 72px; height: 72px; }
.xtm-avatar--team { border-radius: 10px; width: 44px; height: 44px; }
.xtm-avatar--blank { display: inline-flex; align-items: center; justify-content: center; background: rgba(168, 85, 247, 0.18); color: var(--xtm-text); }
.xtm-avatar--letter {
  display: inline-flex; align-items: center; justify-content: center; font-weight: 800; line-height: 1;
  background: color-mix(in srgb, var(--xtm-a) 24%, #15151d); color: color-mix(in srgb, var(--xtm-a) 62%, #ffffff);
}
.xtm-avatar--letter { font-size: 15px; }
.xtm-avatar--lg.xtm-avatar--letter { font-size: 26px; }

/* Hero: banner, logo, name, meta, actions */
.xtm-hero { overflow: hidden; }
.xtm-hero__banner {
  aspect-ratio: 5 / 1; min-height: 120px; background-color: rgba(255, 255, 255, 0.04); background-size: cover; background-position: center;
  background-image: linear-gradient(135deg, var(--xtm-a), rgba(16, 16, 24, 0.9));
}
.xtm-hero__body { display: flex; align-items: flex-end; gap: 16px; padding: 0 20px 18px; flex-wrap: wrap; }
.xtm-hero__logo {
  width: 104px; height: 104px; margin-top: -52px; border-radius: 20px; object-fit: cover; flex: 0 0 auto;
  border: 4px solid var(--xtm-a); background: #111118;
}
.xtm-hero__logo--blank {
  display: inline-flex; align-items: center; justify-content: center; font-size: 44px; font-weight: 800; line-height: 1;
  background: color-mix(in srgb, var(--xtm-a) 22%, #12121a); color: color-mix(in srgb, var(--xtm-a) 65%, #ffffff);
}
.xtm-hero__text { flex: 1 1 260px; min-width: 0; padding-top: 12px; }
.xtm-hero__name { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 26px; font-weight: 800; line-height: 1.15; overflow-wrap: anywhere; }
.xtm-hero__meta { margin: 4px 0 0; font-size: 14px; color: var(--xtm-muted); }
.xtm-hero__actions { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 12px; }

/* Tabs */
.xtm-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--xtm-line); overflow-x: auto; }
.xtm-tab {
  display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 14px; border: 0; border-bottom: 2px solid transparent;
  background: transparent; color: var(--xtm-muted); font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; white-space: nowrap;
}
.xtm-tab:hover { color: var(--xtm-text); }
.xtm-tab[aria-selected="true"] { color: var(--xtm-text); border-bottom-color: var(--xtm-a); }
.xtm-tab__count { padding: 1px 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); font-size: 11px; }
.xtm-tab[aria-selected="true"] .xtm-tab__count { background: var(--xtm-a); color: #fff; }

/* Live grid */
.xtm-live { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.xtm-livecard { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; }
.xtm-livecard__thumb {
  position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden;
  background-color: rgba(255, 255, 255, 0.05); background-size: cover; background-position: center;
  border: 2px solid transparent; transition: border-color 0.15s ease, transform 0.15s ease;
}
.xtm-livecard:hover .xtm-livecard__thumb { border-color: var(--xtm-a); transform: translateY(-2px); }
.xtm-livecard__badge, .xtm-livecard__viewers {
  position: absolute; display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 6px;
  font-size: 11px; font-weight: 750; color: #fff; background: rgba(0, 0, 0, 0.7);
}
.xtm-livecard__badge { top: 8px; left: 8px; background: #ef4444; }
.xtm-livecard__badge .xtm-live-dot { background: #fff; animation: none; width: 6px; height: 6px; }
.xtm-livecard__viewers { bottom: 8px; left: 8px; }
.xtm-livecard__body { display: flex; gap: 10px; align-items: flex-start; min-width: 0; }
.xtm-livecard__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.xtm-livecard__title { font-size: 14px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xtm-livecard__meta { font-size: 13px; color: var(--xtm-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Roster: one division at a time, every tile the same height. */
.xtm-division { display: flex; flex-direction: column; gap: 12px; }
.xtm-division + .xtm-division { margin-top: 18px; }
.xtm-division__title { display: flex; align-items: center; gap: 10px; margin: 0; }
.xtm-division__name { font-size: 12.5px; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; color: var(--xtm-muted); }
.xtm-division__count {
  display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: 999px; background: rgba(255, 255, 255, 0.08); color: var(--xtm-muted);
  font-size: 11.5px; font-weight: 700; font-variant-numeric: tabular-nums;
}
.xtm-division__title::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--xtm-line); }
.xtm-roster { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 12px; }
.xtm-member {
  position: relative; display: flex; flex-direction: column; align-items: center; height: 100%;
  padding: 20px 12px 16px; text-align: center; text-decoration: none; color: inherit;
  background: var(--xtm-glass); border: 1px solid var(--xtm-line); border-radius: 16px;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.xtm-member:hover {
  transform: translateY(-2px); background: rgba(255, 255, 255, 0.035);
  border-color: color-mix(in srgb, var(--xtm-a) 45%, transparent);
}
.xtm-member:focus-visible { outline: 2px solid var(--xtm-a); outline-offset: 2px; }
.xtm-member__pic { position: relative; margin-bottom: 11px; }
.xtm-member__pic .xtm-avatar { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.07); }
.xtm-member.is-live .xtm-avatar { box-shadow: 0 0 0 2px #ef4444; }
.xtm-member__live {
  position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 7px; border-radius: 7px; background: rgba(239, 68, 68, 0.95); color: #fff;
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.03em; font-variant-numeric: tabular-nums;
}
.xtm-member__live .xtm-live-dot { width: 5px; height: 5px; background: #fff; animation: none; }
.xtm-member__name { display: flex; align-items: center; justify-content: center; gap: 4px; max-width: 100%; font-size: 14.5px; font-weight: 700; }
.xtm-member__nametext { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xtm-member__handle { max-width: 100%; margin-top: 1px; font-size: 12px; color: var(--xtm-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xtm-member__tags { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 5px; min-height: 19px; margin-top: 10px; }

/* About */
.xtm-about { display: flex; flex-direction: column; gap: 16px; padding: 20px; }
.xtm-about__bio { margin: 0; line-height: 1.55; white-space: pre-line; overflow-wrap: anywhere; }
.xtm-about__facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin: 0; }
.xtm-about__facts dt { font-size: 12px; font-weight: 650; color: var(--xtm-muted); }
.xtm-about__facts dd { margin: 2px 0 0; font-size: 15px; font-weight: 650; }

/* Empty states */
.xtm-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 36px 20px; text-align: center; color: var(--xtm-muted); }
.xtm-empty p { margin: 0; }
.xtm-empty__title { margin: 0; font-size: 20px; color: var(--xtm-text); }

@media (max-width: 640px) {
  .xtm { padding: 12px 16px; gap: 12px; }
  .xtm-hero__banner { aspect-ratio: 3 / 1; min-height: 96px; }
  .xtm-hero__body { padding: 0 14px 14px; gap: 10px; }
  .xtm-hero__logo { width: 80px; height: 80px; margin-top: -40px; border-radius: 16px; }
  .xtm-hero__name { font-size: 22px; }
  .xtm-hero__actions { width: 100%; }
  .xtm-hero__actions .xtm-btn { flex: 1 1 auto; }
  .xtm-roster { grid-template-columns: repeat(auto-fill, minmax(142px, 1fr)); gap: 10px; }
  .xtm-member { padding: 16px 10px 13px; }
  .xtm-hero__logo--blank { font-size: 34px; }
}

/* -------------------------------------------------------------------------------------------------
   /teams -- "your teams" (2026-10-31 rework). No directory: this page is the teams I'm on and the
   teams that invited me. Each card carries its own team colour as --xtmc-a.
   Keep this file ASCII-only (see the CSS mojibake note).
   ------------------------------------------------------------------------------------------------- */
.xtmp { max-width: 1120px; gap: 26px; padding: 26px 18px 56px; }

/* Hero */
.xtmp-hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  padding: 32px 34px; border-radius: 24px; border: 1px solid var(--xtm-line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)), var(--xtm-glass);
}
.xtmp-hero__wash {
  position: absolute; inset: -40% -10% auto -10%; height: 260px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 100% at 12% 100%, color-mix(in srgb, var(--xtm-a) 26%, transparent), transparent 70%),
    radial-gradient(45% 100% at 85% 0%, rgba(96, 165, 250, 0.14), transparent 70%);
  filter: blur(6px);
}
.xtmp-hero__text { flex: 1 1 420px; min-width: 0; }
.xtmp-eyebrow {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--xtm-a) 36%, transparent);
  background: color-mix(in srgb, var(--xtm-a) 14%, transparent);
  color: color-mix(in srgb, var(--xtm-a) 72%, #ffffff);
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
.xtmp-title { margin: 12px 0 0; font-size: clamp(27px, 3.4vw, 34px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.xtmp-sub { margin: 10px 0 0; max-width: 62ch; font-size: 15px; line-height: 1.55; color: var(--xtm-muted); }
.xtmp-hero__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }

/* Hero stats */
.xtmp-stats { display: flex; gap: 10px; margin: 0; flex-wrap: wrap; }
.xtmp-stat {
  min-width: 96px; padding: 12px 16px 13px; border-radius: 16px; text-align: left;
  border: 1px solid var(--xtm-line); background: rgba(255, 255, 255, 0.035);
}
.xtmp-stat dt { font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--xtm-faint); }
.xtmp-stat dd { margin: 3px 0 0; font-size: 25px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.xtmp-stat--hot {
  border-color: color-mix(in srgb, var(--xtm-a) 44%, transparent);
  background: color-mix(in srgb, var(--xtm-a) 13%, transparent);
}
.xtmp-stat--hot dd { color: color-mix(in srgb, var(--xtm-a) 78%, #ffffff); }

/* Buttons */
.xtmp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 38px; padding: 0 16px;
  border-radius: 11px; border: 1px solid rgba(255, 255, 255, 0.13); background: rgba(255, 255, 255, 0.06);
  color: var(--xtm-text); font: inherit; font-size: 13.5px; font-weight: 650; text-decoration: none;
  white-space: nowrap; cursor: pointer; transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}
.xtmp-btn:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); }
.xtmp-btn:active { transform: translateY(1px); }
.xtmp-btn:focus-visible { outline: 2px solid var(--xtm-a); outline-offset: 2px; }
.xtmp-btn[disabled] { opacity: 0.55; cursor: default; }
.xtmp-btn--sm { height: 32px; padding: 0 12px; font-size: 12.5px; border-radius: 9px; }
.xtmp-btn--accent {
  border-color: transparent; color: #fff; background: var(--xtm-a);
  box-shadow: 0 6px 18px -8px color-mix(in srgb, var(--xtm-a) 80%, transparent);
}
.xtmp-btn--accent:hover { border-color: transparent; background: var(--xtm-a); filter: brightness(1.1); }
.xtmp-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, 0.12); color: var(--xtm-muted); }
.xtmp-btn--ghost:hover { color: var(--xtm-text); background: rgba(255, 255, 255, 0.06); }
.xtmp-btn--danger { background: transparent; border-color: rgba(255, 255, 255, 0.1); color: var(--xtm-faint); }
.xtmp-btn--danger:hover { color: #fca5a5; border-color: rgba(239, 68, 68, 0.45); background: rgba(239, 68, 68, 0.1); }

/* Section heads */
.xtmp-section { display: flex; flex-direction: column; gap: 14px; }
.xtmp-sechead { display: flex; align-items: center; gap: 10px; }
.xtmp-sechead__title { margin: 0; font-size: 17px; font-weight: 750; letter-spacing: -0.01em; }
.xtmp-sechead__count {
  display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 7px;
  border-radius: 999px; background: rgba(255, 255, 255, 0.08); color: var(--xtm-muted);
  font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums;
}
.xtmp-sechead::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--xtm-line); }

/* Panels */
.xtmp-panel { border: 1px solid var(--xtm-line); border-radius: 20px; background: var(--xtm-glass); }
.xtmp-panel__title { margin: 0; font-size: 16px; font-weight: 750; }
.xtmp-note { margin: 0; font-size: 13px; line-height: 1.5; color: var(--xtm-faint); }

/* The team mark (logo or fallback) */
.xtmp-mark {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; overflow: hidden;
  border-radius: 13px; background: color-mix(in srgb, var(--xtmc-a, var(--xtm-a)) 18%, #14141c);
  color: color-mix(in srgb, var(--xtmc-a, var(--xtm-a)) 70%, #ffffff);
  text-decoration: none;
}
.xtmp-mark { font-weight: 800; line-height: 1; }
.xtmp-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.xtmp-mark--md { width: 46px; height: 46px; font-size: 19px; }
.xtmp-mark--lg {
  width: 58px; height: 58px; margin-top: -29px; border-radius: 16px; font-size: 24px;
  border: 3px solid #0f0f16; box-shadow: 0 0 0 1px color-mix(in srgb, var(--xtmc-a, var(--xtm-a)) 55%, transparent);
}

/* Invites */
.xtmp-invites { display: flex; flex-direction: column; gap: 10px; }
.xtmp-invite {
  position: relative; display: flex; align-items: center; gap: 15px; flex-wrap: wrap;
  padding: 16px 18px 16px 20px; border-radius: 18px; overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--xtmc-a, var(--xtm-a)) 26%, var(--xtm-line));
  background: linear-gradient(90deg, color-mix(in srgb, var(--xtmc-a, var(--xtm-a)) 9%, transparent), transparent 42%), var(--xtm-glass);
}
.xtmp-invite::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--xtmc-a, var(--xtm-a)); }
.xtmp-invite__text { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.xtmp-invite__name { display: flex; align-items: center; gap: 5px; font-size: 16px; font-weight: 750; overflow-wrap: anywhere; }
.xtmp-invite__name a { color: inherit; text-decoration: none; }
.xtmp-invite__name a:hover { text-decoration: underline; }
.xtmp-invite__meta { font-size: 12.5px; color: var(--xtm-muted); }
.xtmp-invite__bio { margin: 4px 0 0; font-size: 13px; line-height: 1.5; color: var(--xtm-faint); overflow-wrap: anywhere; }
.xtmp-invite__actions { display: flex; gap: 8px; margin-left: auto; flex-wrap: wrap; }

/* Team cards */
.xtmp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(324px, 1fr)); gap: 18px; }
.xtmp-card {
  display: flex; flex-direction: column; overflow: hidden; height: 100%;
  border: 1px solid var(--xtm-line); border-radius: 20px; background: var(--xtm-glass);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.xtmp-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--xtmc-a, var(--xtm-a)) 42%, transparent);
  box-shadow: 0 18px 40px -26px color-mix(in srgb, var(--xtmc-a, var(--xtm-a)) 85%, transparent);
}
.xtmp-card__banner {
  position: relative; display: block; height: 86px; background-size: cover; background-position: center;
  background-color: rgba(255, 255, 255, 0.04);
  background-image: linear-gradient(118deg, color-mix(in srgb, var(--xtmc-a, var(--xtm-a)) 65%, transparent), rgba(16, 16, 24, 0.92));
}
.xtmp-card__banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(12, 12, 18, 0.72)); }
.xtmp-card__live {
  position: absolute; z-index: 1; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 9px; border-radius: 8px; background: rgba(239, 68, 68, 0.95); color: #fff;
  font-size: 11px; font-weight: 750; letter-spacing: 0.01em;
}
.xtmp-card__live .xtm-live-dot { width: 6px; height: 6px; background: #fff; animation: none; }
.xtmp-card__head { display: flex; align-items: flex-end; gap: 12px; padding: 0 18px; }
.xtmp-card__id { display: flex; flex-direction: column; min-width: 0; padding-bottom: 2px; }
.xtmp-card__name {
  display: flex; align-items: center; gap: 5px; font-size: 16.5px; font-weight: 750; letter-spacing: -0.01em;
  color: inherit; text-decoration: none; overflow-wrap: anywhere;
}
.xtmp-card__name:hover { text-decoration: underline; }
.xtmp-card__slug { font-size: 12px; color: var(--xtm-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xtmp-card__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 13px 18px 0; }
.xtmp-chip {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.055);
  font-size: 11.5px; font-weight: 650; color: var(--xtm-muted); white-space: nowrap;
}
.xtmp-chip--accent {
  border-color: transparent; color: #fff;
  background: color-mix(in srgb, var(--xtmc-a, var(--xtm-a)) 82%, #000000);
}
.xtmp-card__facts { display: flex; flex-wrap: wrap; gap: 14px; padding: 13px 18px 16px; font-size: 12.5px; color: var(--xtm-muted); }
.xtmp-card__facts span { display: inline-flex; align-items: center; gap: 5px; }
.xtmp-card__actions {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding: 14px 18px;
  border-top: 1px solid var(--xtm-line); background: rgba(255, 255, 255, 0.018);
}

/* Making a team */
.xtmp-create { display: flex; flex-direction: column; gap: 16px; padding: 24px 26px; }
.xtmp-create__fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.xtmp-create__go { display: flex; gap: 10px; flex-wrap: wrap; }
.xtmp-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.xtmp-field__label { font-size: 12.5px; font-weight: 650; color: var(--xtm-muted); }
.xtmp-input {
  display: flex; align-items: center; height: 42px; padding: 0 13px; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(0, 0, 0, 0.28);
  color: inherit; font: inherit; font-size: 14.5px; width: 100%;
}
.xtmp-input:focus, .xtmp-input:focus-within { outline: 2px solid var(--xtm-a); outline-offset: 1px; border-color: transparent; }
.xtmp-input--prefixed { gap: 2px; padding-right: 6px; }
.xtmp-input__prefix { color: var(--xtm-faint); flex: 0 0 auto; }
.xtmp-input--prefixed input { flex: 1 1 auto; min-width: 0; height: 100%; border: 0; background: transparent; color: inherit; font: inherit; }
.xtmp-input--prefixed input:focus { outline: none; }

/* Nothing here yet */
.xtmp-blank { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 48px 28px 44px; text-align: center; }
.xtmp-blank__mark {
  display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 20px;
  background: color-mix(in srgb, var(--xtm-a) 16%, transparent);
  color: color-mix(in srgb, var(--xtm-a) 72%, #ffffff);
  border: 1px solid color-mix(in srgb, var(--xtm-a) 30%, transparent);
}
.xtmp-blank__title { margin: 6px 0 0; font-size: 21px; font-weight: 780; letter-spacing: -0.01em; }
.xtmp-blank__copy { margin: 0; max-width: 48ch; font-size: 14.5px; line-height: 1.6; color: var(--xtm-muted); }
.xtmp-blank__note { margin: 0; max-width: 48ch; font-size: 13.5px; line-height: 1.55; color: var(--xtm-faint); }
.xtmp-blank__facts {
  display: grid; gap: 10px; margin: 18px 0 0; padding: 18px 0 0; max-width: 560px; width: 100%;
  border-top: 1px solid var(--xtm-line); text-align: left;
}
.xtmp-blank__facts li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; line-height: 1.5; color: var(--xtm-muted); }
.xtmp-blank__facts svg { flex: 0 0 auto; margin-top: 1px; color: color-mix(in srgb, var(--xtm-a) 70%, #ffffff); }

@media (max-width: 720px) {
  .xtmp { padding: 18px 14px 44px; gap: 20px; }
  .xtmp-hero { padding: 24px 20px; border-radius: 20px; gap: 20px; }
  .xtmp-stats { width: 100%; }
  .xtmp-stat { flex: 1 1 0; min-width: 0; text-align: center; }
  .xtmp-grid { grid-template-columns: 1fr; }
  .xtmp-invite { padding: 15px 16px 15px 18px; }
  .xtmp-invite__actions { margin-left: 0; width: 100%; }
  .xtmp-invite__actions .xtmp-btn { flex: 1 1 auto; }
  .xtmp-create { padding: 20px 18px; }
  .xtmp-blank { padding: 36px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .xtmp-card, .xtmp-btn { transition: none; }
  .xtmp-card:hover { transform: none; }
}
