/* ==========================================================================
   Wiederverwendbare Komponenten (Plattform + Minispiele)
   ========================================================================== */

/* --- Wortmarke ------------------------------------------------------- */
.wordmark {
  font-family: var(--f-display);
  font-size: var(--t-lg);
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
}
.wordmark .wm-u { color: var(--primary); }
.wordmark-home { background: none; border: none; padding: 0; color: inherit; cursor: pointer;
  border-radius: var(--r-sm); transition: transform var(--dur) var(--ease); }
.wordmark-home:hover { transform: rotate(-2deg) scale(1.03); }
.wordmark-home:active { transform: scale(.96); }
.wordmark-xl { font-size: clamp(3rem, 10vw, 7rem); }

/* --- Top-Bar --------------------------------------------------------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
  padding: var(--s-3) var(--gutter);
  padding-top: calc(var(--s-3) + env(safe-area-inset-top));
  background: var(--bg);
  border-bottom: var(--line) solid var(--outline);
}
.topbar-inner { width: 100%; max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }

/* --- Buttons --------------------------------------------------------- */
.btn {
  --btn-bg: var(--surface);
  --btn-fg: var(--text);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px;
  padding: var(--s-2) var(--s-4);
  border: var(--line) solid var(--outline);
  border-radius: var(--r);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: var(--t-md);
  line-height: 1.1;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  user-select: none;
  touch-action: manipulation;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--outline); }
.btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--outline); }
.btn:disabled, .btn[aria-disabled="true"] {
  cursor: not-allowed; opacity: .55; transform: none; box-shadow: var(--shadow-sm);
}
.btn-primary { --btn-bg: var(--primary); --btn-fg: var(--on-primary); }
.btn-go { --btn-bg: var(--success); --btn-fg: var(--c-ink); }
.btn-sky { --btn-bg: var(--c-sky); --btn-fg: #fff; }
.btn-danger { --btn-bg: var(--danger); --btn-fg: #fff; }
.btn-ghost { --btn-bg: transparent; box-shadow: none; border-color: transparent; }
.btn-ghost:hover { box-shadow: none; background: var(--surface-2); }
.btn-lg { min-height: 64px; font-size: var(--t-lg); border-radius: var(--r-lg); padding: var(--s-3) var(--s-5); }
.btn-sm { min-height: 36px; padding: var(--s-1) var(--s-3); font-size: var(--t-sm); border-radius: var(--r-sm); }
.btn-block { width: 100%; }
.btn-icon { width: 44px; min-height: 44px; padding: 0; font-size: 1.25rem; }

/* --- Karten ---------------------------------------------------------- */
.card {
  background: var(--surface);
  border: var(--line) solid var(--outline);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: var(--s-4);
}
.card-flat { box-shadow: none; }

/* --- Formularfelder -------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: var(--s-1); }
.field-label { font-weight: 700; font-size: var(--t-sm); }
.field-hint { font-size: var(--t-xs); color: var(--text-muted); }
.input {
  width: 100%;
  min-height: 52px;
  padding: var(--s-2) var(--s-3);
  background: var(--surface);
  border: var(--line) solid var(--outline);
  border-radius: var(--r);
  font-size: var(--t-lg);
}
.input::placeholder { color: var(--text-muted); opacity: .7; }
.input:focus { outline: 3px solid var(--focus); outline-offset: 2px; }
.input-xl { min-height: 72px; font-size: var(--t-2xl); font-family: var(--f-display); text-align: center; }
.field-error { color: var(--danger); font-weight: 700; font-size: var(--t-sm); }
:root[data-theme="dark"] .field-error { color: #FF8C8E; }

/* Segmentierte Auswahl (select-Settings) */
.seg { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.seg button {
  min-height: 40px; padding: var(--s-1) var(--s-3);
  border: var(--line) solid var(--outline); border-radius: var(--r-pill);
  background: var(--surface); font-weight: 700; font-size: var(--t-sm);
}
.seg button[aria-pressed="true"] { background: var(--c-ink); color: var(--c-sun); }
:root[data-theme="dark"] .seg button[aria-pressed="true"] { background: var(--c-sun); color: var(--c-ink); }

/* Stepper (number-Settings) */
.stepper { display: inline-flex; align-items: center; gap: var(--s-2); }
.stepper output { min-width: 3ch; text-align: center; font-family: var(--f-display); font-size: var(--t-xl); }

/* Schalter (boolean-Settings) */
.switch { position: relative; width: 58px; height: 34px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.switch span {
  position: absolute; inset: 0; border: var(--line) solid var(--outline); border-radius: var(--r-pill);
  background: var(--surface); transition: background var(--dur);
}
.switch span::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--c-ink); transition: transform var(--dur) var(--ease);
}
.switch input:checked + span { background: var(--success); }
.switch input:checked + span::after { transform: translateX(24px); }
.switch input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

/* --- Avatare --------------------------------------------------------- */
.avatar {
  --size: 56px;
  position: relative;
  width: var(--size); height: var(--size);
  flex: none;
  border-radius: 50%;
  border: var(--line) solid var(--outline);
  background: var(--surface-2);
  overflow: hidden;
}
.avatar img { width: 100%; height: 100%; }
.avatar-xs { --size: 28px; border-width: 2px; }
.avatar-sm { --size: 40px; }
.avatar-lg { --size: 88px; }
.avatar-xl { --size: 128px; border-width: var(--line-bold); }
.avatar.is-offline { filter: grayscale(1); opacity: .5; }

.avatar-stack { display: flex; }
.avatar-stack .avatar + .avatar { margin-left: -10px; }

.avatar-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  gap: var(--s-2);
}
.avatar-picker button {
  padding: 0; background: none; border: none; border-radius: 50%;
  aspect-ratio: 1; display: grid; place-items: center;
  transition: transform var(--dur) var(--ease);
}
.avatar-picker .avatar { --size: 100%; }
.avatar-picker button[aria-pressed="true"] { transform: scale(1.06); }
.avatar-picker button[aria-pressed="true"] .avatar {
  border-width: var(--line-bold); background: var(--c-sun); box-shadow: var(--shadow-sm);
}

/* --- Chips & Badges -------------------------------------------------- */
.chip {
  display: inline-flex; align-items: center; gap: var(--s-2);
  min-height: 44px; padding: 3px var(--s-3) 3px 3px;
  border: var(--line) solid var(--outline); border-radius: var(--r-pill);
  background: var(--surface); font-weight: 700; font-size: var(--t-sm);
  max-width: 100%;
}
.chip .avatar { border-width: 2px; }
.chip-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px var(--s-2);
  border: 2px solid var(--outline); border-radius: var(--r-pill);
  background: var(--surface); font-size: var(--t-xs); font-weight: 700; line-height: 1.3;
  white-space: nowrap;
}
.badge-sun { background: var(--c-sun); color: var(--c-ink); }
.badge-mint { background: var(--success); color: var(--c-ink); }
.badge-pink { background: var(--primary); color: #fff; }
.badge-grape { background: var(--c-grape); color: #fff; }

/* --- Spieleschachtel (Signatur-Element) ------------------------------ */
.shelf {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: var(--s-5) var(--s-4);
  padding-right: 8px; /* Platz für die Schachteltiefe */
}
.gamebox {
  --box: var(--c-sky);
  --box-depth: 8px;
  position: relative;
  display: flex; flex-direction: column;
  width: 100%;
  padding: 0;
  text-align: left;
  color: var(--c-ink);
  background: var(--box);
  border: var(--line) solid var(--outline);
  border-radius: 12px;
  box-shadow:
    1px 1px 0 var(--outline), 2px 2px 0 var(--outline), 3px 3px 0 var(--outline),
    4px 4px 0 var(--outline), 5px 5px 0 var(--outline), 6px 6px 0 var(--outline),
    7px 7px 0 var(--outline), 8px 8px 0 var(--outline);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.gamebox:hover { transform: translate(-2px, -3px) rotate(-0.6deg); }
.gamebox:active {
  transform: translate(6px, 6px);
  box-shadow: 1px 1px 0 var(--outline), 2px 2px 0 var(--outline);
}
/* Deckel: steht an den Seiten leicht über – wie bei echten Spieleschachteln */
.gamebox-lid {
  position: relative; z-index: 1;
  margin: -3px -7px 0;
  padding: var(--s-2) var(--s-3);
  background: color-mix(in srgb, var(--box) 72%, #1B1340);
  border: var(--line) solid var(--outline);
  border-radius: 12px 12px 6px 6px;
  color: #fff;
  font-family: var(--f-display);
  font-size: 1.15rem;
  line-height: 1.05;
  text-shadow: 2px 2px 0 var(--c-ink);
  min-height: 3.1em;
  display: flex; align-items: center;
  overflow-wrap: anywhere;
}
.gamebox-art {
  position: relative;
  aspect-ratio: 1 / 0.82;
  display: grid; place-items: center;
  padding: var(--s-3);
  background-image: repeating-linear-gradient(-45deg, rgba(255,255,255,.14) 0 10px, transparent 10px 20px);
  overflow: hidden;
}
.gamebox-art img { width: 78%; height: 100%; object-fit: contain; filter: drop-shadow(3px 3px 0 rgba(27,19,64,.25)); }
.gamebox-initial { font-family: var(--f-display); font-size: 4rem; color: #fff; text-shadow: 4px 4px 0 var(--c-ink); }
.gamebox-meta {
  display: flex; justify-content: space-between; gap: var(--s-2);
  padding: var(--s-2) var(--s-3);
  background: var(--c-paper);
  border-top: var(--line) solid var(--outline);
  border-radius: 0 0 9px 9px;
  font-size: var(--t-xs); font-weight: 700;
}
.gamebox-sm { max-width: 150px; }

/* --- Ticket (Raumcode) ---------------------------------------------- */
.ticket {
  --box: var(--c-sky);
  --stub: 104px;
  position: relative;
  display: grid;
  grid-template-columns: var(--stub) 1fr;
  background: var(--surface);
  border: var(--line) solid var(--outline);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  min-height: 92px;
}
.ticket::before, .ticket::after {
  content: ""; position: absolute; left: calc(var(--stub) - 11px);
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--bg); border: var(--line) solid var(--outline);
}
.ticket::before { top: -12px; clip-path: inset(50% 0 0 0); }
.ticket::after { bottom: -12px; clip-path: inset(0 0 50% 0); }
.ticket-stub {
  display: grid; place-items: center; align-content: center; gap: 2px;
  padding: var(--s-2);
  background: var(--box);
  border-right: var(--line) dashed var(--outline);
  border-radius: 13px 0 0 13px;
  color: #fff;
}
.ticket-code { font-family: var(--f-display); font-size: 1.6rem; letter-spacing: .06em; text-shadow: 2px 2px 0 var(--c-ink); }
.ticket-label { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ticket-body { display: flex; flex-direction: column; justify-content: center; gap: var(--s-2); padding: var(--s-3) var(--s-3) var(--s-3) var(--s-4); min-width: 0; }
.ticket-xl { --stub: 180px; min-height: 140px; }
.ticket-xl .ticket-code { font-size: 3rem; }

/* --- Spielerliste ---------------------------------------------------- */
.player-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: var(--s-4) var(--s-3);
}
.player-tile { position: relative; display: flex; flex-direction: column; align-items: center; gap: var(--s-1); text-align: center; min-width: 0; }
.player-tile .avatar { --size: 72px; }
.player-name { font-weight: 700; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-motto { font-size: var(--t-xs); color: var(--text-muted); font-style: italic; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.player-tile .crown { position: absolute; z-index: 2; top: -14px; left: 50%; transform: translateX(-50%) rotate(-8deg); font-size: 1.4rem; line-height: 1; }
.player-tile .kick {
  position: absolute; z-index: 2; top: -4px; left: calc(50% + 20px);
  width: 30px; height: 30px; min-height: 30px; padding: 0;
  border-width: 2px; border-radius: 50%; font-size: .85rem; box-shadow: 2px 2px 0 var(--outline);
}
.player-slot { display: flex; flex-direction: column; align-items: center; gap: var(--s-1); color: var(--text-muted); font-size: var(--t-xs); }
.player-slot span:first-child { width: 72px; height: 72px; border-radius: 50%; border: var(--line) dashed var(--text-muted); opacity: .6; }

/* --- Timer-Balken ---------------------------------------------------- */
.timer {
  position: relative; height: 18px;
  border: var(--line) solid var(--outline); border-radius: var(--r-pill);
  background: var(--surface); overflow: hidden;
}
.timer-fill {
  position: absolute; inset: 0; transform-origin: left center;
  background: var(--success);
  border-right: var(--line) solid var(--outline);
}
.timer.is-low .timer-fill { background: var(--primary); }
.timer-label { font-family: var(--f-display); font-size: var(--t-lg); min-width: 2.5ch; text-align: right; }

/* --- Countdown-Overlay ----------------------------------------------- */
.countdown {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center; align-content: center; gap: var(--s-4);
  background: rgba(27, 19, 64, .86);
  color: var(--c-sun);
  text-align: center;
  padding: var(--gutter);
}
.countdown-num {
  font-family: var(--f-display);
  font-size: clamp(8rem, 40vw, 18rem);
  line-height: 1;
  text-shadow: 8px 8px 0 var(--c-pink);
  animation: pop 900ms var(--ease) both;
}
@keyframes pop {
  0% { transform: scale(.5) rotate(-10deg); opacity: .6; }
  30% { transform: scale(1.08) rotate(2deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}

/* --- Sheet / Dialog -------------------------------------------------- */
.sheet-backdrop {
  position: fixed; inset: 0; z-index: 60;
  display: flex; align-items: flex-end; justify-content: center;
  background: rgba(27, 19, 64, .55);
}
.sheet {
  width: 100%; max-width: 560px; max-height: 92dvh; overflow: auto;
  background: var(--surface);
  border: var(--line) solid var(--outline);
  border-bottom: none;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  padding: var(--s-5) var(--gutter) calc(var(--s-5) + env(safe-area-inset-bottom));
  animation: sheet-in 220ms var(--ease) both;
}
@keyframes sheet-in { from { transform: translateY(40px); opacity: 0; } }
@media (min-width: 640px) {
  .sheet-backdrop { align-items: center; }
  .sheet { border-bottom: var(--line) solid var(--outline); border-radius: var(--r-lg); box-shadow: var(--shadow); }
}

/* --- Hinweise, Toasts ------------------------------------------------ */
.banner {
  display: flex; align-items: center; gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  border: var(--line) solid var(--outline); border-radius: var(--r);
  background: var(--warning); color: var(--c-ink); font-weight: 700;
}
.banner-info { background: var(--c-sky); color: #fff; }
.toasts {
  position: fixed; left: 50%; bottom: calc(var(--s-4) + env(safe-area-inset-bottom)); z-index: 120;
  transform: translateX(-50%);
  display: flex; flex-direction: column; gap: var(--s-2); width: min(92vw, 420px);
  pointer-events: none;
}
.toast {
  padding: var(--s-3) var(--s-4);
  background: var(--c-ink); color: #fff; font-weight: 700;
  border: var(--line) solid var(--outline); border-radius: var(--r);
  box-shadow: 4px 4px 0 var(--c-pink);
  animation: sheet-in 200ms var(--ease) both;
}
.conn-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--outline); background: var(--success); flex: none; }
.conn-dot.is-off { background: var(--primary); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .3; } }

/* --- Leerer Zustand -------------------------------------------------- */
.empty {
  padding: var(--s-5) var(--s-4);
  border: var(--line) dashed var(--outline); border-radius: var(--r);
  text-align: center; color: var(--text-muted); font-weight: 700;
}

/* --- Ranking --------------------------------------------------------- */
.rank-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s-2); }
.rank-item {
  display: grid; grid-template-columns: 2.5rem auto 1fr auto; align-items: center; gap: var(--s-3);
  padding: var(--s-2) var(--s-3);
  background: var(--surface); border: var(--line) solid var(--outline); border-radius: var(--r);
}
.rank-item.is-me { background: var(--surface-2); box-shadow: var(--shadow-sm); }
.rank-pos { font-family: var(--f-display); font-size: var(--t-xl); text-align: center; line-height: 1; }
.rank-item[data-rank="1"] .rank-pos { color: var(--primary); }
.rank-score { font-family: var(--f-display); font-size: var(--t-lg); text-align: right; }
.rank-stars { font-size: var(--t-xs); font-weight: 700; color: var(--text-muted); }

/* --- Reaktionen ------------------------------------------------------ */
.react-bar { display: flex; gap: var(--s-1); flex-wrap: wrap; }
.react-bar button {
  width: 44px; height: 44px; font-size: 1.4rem; line-height: 1;
  border: 2px solid var(--outline); border-radius: 50%; background: var(--surface);
  transition: transform var(--dur) var(--ease);
}
.react-bar button:active { transform: scale(.85); }
.react-layer { position: fixed; inset: 0; pointer-events: none; z-index: 90; overflow: hidden; }
.react-float {
  position: absolute; bottom: 12%;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  animation: float-up 2.6s ease-out forwards;
}
.react-float .emoji { font-size: 2.6rem; }
.react-float .avatar { --size: 32px; border-width: 2px; }
@keyframes float-up {
  0% { transform: translateY(20px) scale(.6); opacity: 0; }
  15% { transform: translateY(0) scale(1); opacity: 1; }
  100% { transform: translateY(-50vh) scale(1); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .react-float { animation: none; opacity: 0; }
  .countdown-num, .sheet, .toast { animation: none; }
}

/* --- Spielbühne (Container für Minispiele) --------------------------- */
.stage-bar {
  display: flex; align-items: center; gap: var(--s-2);
  padding: var(--s-2) var(--gutter);
  padding-top: calc(var(--s-2) + env(safe-area-inset-top));
  border-bottom: var(--line) solid var(--outline);
  background: var(--bg);
}
.stage-title { font-family: var(--f-display); font-size: var(--t-md); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.game-root {
  flex: 1;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--s-4) var(--gutter) calc(var(--s-6) + env(safe-area-inset-bottom));
  display: flex; flex-direction: column;
}
.game-root > * { flex: 1; }

/* --- Dock: Hauptaktion unten, klebt am Rand ---------------------------- */
.dock {
  position: sticky;
  bottom: 0;
  z-index: 10;
  margin: 0 calc(-1 * var(--gutter));
  padding: var(--s-5) var(--gutter) calc(var(--s-4) + env(safe-area-inset-bottom));
  background: linear-gradient(to bottom, transparent, var(--bg) 35%);
}

/* --- Admin ------------------------------------------------------------- */
.admin-status.is-open { background: var(--success); color: var(--c-ink); }
.admin-status.is-closed { background: var(--surface); }
.admin-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: var(--s-6); align-items: start; }
.admin-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s-2); }
.admin-list li {
  display: flex; align-items: center; gap: var(--s-3);
  padding: var(--s-2) var(--s-3);
  background: var(--surface); border: var(--line) solid var(--outline); border-radius: var(--r);
  min-width: 0;
}
.admin-list li.is-broken { background: var(--warning); color: var(--c-ink); }

/* --- Spiel-Cover (kompakt) --------------------------------------------- */
.gamecover {
  --box: var(--c-sky);
  display: grid; place-items: center;
  width: 96px; aspect-ratio: 1; flex: none;
  padding: var(--s-2);
  background-color: var(--box);
  background-image: repeating-linear-gradient(-45deg, rgba(255,255,255,.14) 0 8px, transparent 8px 16px);
  border: var(--line) solid var(--outline);
  border-radius: 12px;
  box-shadow: 1px 1px 0 var(--outline), 2px 2px 0 var(--outline), 3px 3px 0 var(--outline),
              4px 4px 0 var(--outline), 5px 5px 0 var(--outline);
}
.gamecover img { width: 100%; height: 100%; object-fit: contain; }
.gamecover .gamebox-initial { font-size: 3rem; }

/* --- Highlights im Ergebnis -------------------------------------------- */
.highlights { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s-2); }
.highlights li { display: flex; flex-direction: column; gap: var(--s-1); padding: var(--s-3); }
.highlight-text { font-size: var(--t-md); line-height: 1.35; }

/* --- Teams ------------------------------------------------------------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: var(--s-3); }
.team-card {
  --team: var(--c-sky);
  display: flex; flex-direction: column; gap: var(--s-2);
  padding: 0 0 var(--s-2);
  background: var(--surface);
  border: var(--line) solid var(--outline); border-radius: var(--r);
  overflow: hidden;
}
.team-card.is-mine { box-shadow: 4px 4px 0 var(--team); }
.team-card > .btn { margin: 0 var(--s-2); width: auto; }
.team-head {
  display: flex; align-items: center; gap: var(--s-2);
  padding: var(--s-2) var(--s-3);
  background: var(--team); color: #fff;
  border-bottom: var(--line) solid var(--outline);
}
.team-title, .team-name-input { flex: 1; min-width: 0; font-family: var(--f-display); font-size: var(--t-md); color: #fff;
  text-shadow: 2px 2px 0 var(--c-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-name-input { background: transparent; border: none; border-bottom: 2px dashed rgba(255,255,255,.7); padding: 0; }
.team-name-input::placeholder { color: #fff; opacity: 1; }
.team-name-input:focus { outline: none; border-bottom-style: solid; }
.team-count { font-weight: 700; background: #fff; color: var(--c-ink); border: 2px solid var(--outline);
  border-radius: var(--r-pill); padding: 0 var(--s-2); font-size: var(--t-xs); }
.team-members { display: flex; flex-direction: column; gap: var(--s-1); padding: 0 var(--s-3); min-height: 2.5rem; }
.team-member { display: flex; align-items: center; gap: var(--s-2); }
.team-member .avatar { --size: 32px; border-width: 2px; }
.ticket-body .spread { flex-wrap: wrap; row-gap: var(--s-2); }
