/* Visual theme for the player registry. Existing service markup and interactions are shared. */
#identity .ab5 {
  --ab-bg: #151f30;
  --ab-surface: #1b293e;
  --ab-surface-2: #243550;
  --ab-line: #34445a;
  --ab-line-strong: #727366;
  --ab-gold: #e6c483;
  --ab-gold-soft: #f8e7c2;
  --ab-mint: #9ce3c7;
  --ab-text: #f1f3f7;
  --ab-muted: #b5c3d4;
  --ab-cta: linear-gradient(145deg, #f4dba8, #d6ad66);
  gap: 15px;
}
#identity .ab5-head {
  padding: 12px 0 13px;
  border-bottom: 1px solid var(--ab-line);
}
#identity .ab5-title h1 { font-size: clamp(21px, 5.7vw, 29px); }
#identity .ab5-title p { font-size: 12px; }
#identity .ab5-mark { width: 43px; height: 43px; border-radius: 12px; }
#identity .ab5-verified {
  height: 29px;
  padding-inline: 9px;
  color: var(--ab-mint);
  background: #193631;
  border-color: #427369;
  font-size: 11px;
}

#identity .ab5-id {
  --card-ink: #263148;
  --card-muted: #5d5b56;
  display: grid;
  gap: 13px;
  padding: 15px 17px;
  border: 1px solid #e3ca96;
  border-radius: 17px;
  color: var(--card-ink);
  background: repeating-linear-gradient(125deg, #8b714510 0 1px, transparent 1px 9px),
              linear-gradient(135deg, #fff1d3 0%, #e9d5ad 76%, #e3c99b 100%);
  box-shadow: 0 13px 28px #0006, inset 0 0 0 4px #fffbef49;
}
#identity .ab5-id::before { height: 3px; background: #a58149; }
#identity .ab5-id::after {
  inset: auto auto -102px -63px;
  width: 230px;
  height: 230px;
  border-color: #8d714324;
  box-shadow: 0 0 0 12px #8d71430d, 0 0 0 25px #8d71430a;
}
#identity .ab5-id-top { color: #57472b; font-size: 12px; }
#identity .ab5-chip { width: 30px; height: 23px; }
#identity .ab5-id-body {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 13px;
  align-items: center;
}
#identity .ab5-photo {
  width: clamp(60px, 19vw, 92px);
  height: auto;
  aspect-ratio: 4 / 5;
  border-radius: 9px;
  border: 2px solid #fff2d7;
  outline: 1px solid #a89367;
  box-shadow: 0 4px 10px #51422633;
}
#identity .ab5-id-info { gap: 5px; }
#identity .ab5-id-info h2 { color: var(--card-ink); font-size: clamp(18px, 5.3vw, 26px); }
#identity .ab5-label { color: var(--card-muted); font-size: 11px; }
#identity .ab5-num { display: flex; gap: 5px 8px; flex-wrap: wrap; }
#identity .ab5-num b {
  color: var(--card-ink);
  font-size: clamp(17px, 5.2vw, 27px);
  letter-spacing: 0 !important;
  text-shadow: none;
}
#identity .ab5-copy {
  height: 28px;
  padding-inline: 7px;
  border-radius: 7px;
  border-color: #8f7b5066;
  background: #fff9eb88;
  color: #38434d;
  font-size: 11px;
}
#identity .ab5-meta {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #8f7b5059;
  padding-top: 9px;
}
#identity .ab5-meta div { min-width: 0; padding-inline: 7px; }
#identity .ab5-meta div+div { border-color: #8f7b5040; }
#identity .ab5-meta dt { color: var(--card-muted); font-size: 10px; }
#identity .ab5-meta dd { color: var(--card-ink); font-size: 12px; overflow-wrap: anywhere; }
#identity .ab5-meta dd.ok { color: #175940; }

#identity .ab5-section-title { font-size: 14px; margin: 0; }
#identity .ab5-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
#identity .ab5-tab {
  min-height: 84px;
  padding: 7px 3px;
  gap: 5px;
  border-radius: 11px;
  background: var(--ab-bg);
  color: var(--ab-muted);
  font-size: 11px;
  text-align: center;
  line-height: 1.25;
}
#identity .ab5-tab img { width: 34px; height: 34px; border-radius: 8px; }
#identity .ab5-tab[aria-selected="true"] {
  border-color: #d5ad68;
  background: linear-gradient(155deg, #323b4e, #212c41);
  box-shadow: inset 0 -3px #c99f5d;
  color: var(--ab-gold-soft);
}
#identity .ab5-panel {
  border-color: var(--ab-line);
  border-radius: 15px;
  padding: 15px;
  box-shadow: 0 9px 20px #0003;
}
#identity .ab5-btn:not(.is-ghost) { color: #251e15; }
#identity .ab5-det-row,
#identity .ab5-vehicle,
#identity .ab5-row { background: var(--ab-surface); border-color: var(--ab-line); }
#identity .ab5 :is(button, a):focus-visible { outline: 2px solid #eecb8d; outline-offset: 2px; }
#identity .ab5-copy:focus-visible { outline-color: #503b22; }
@media (max-width: 360px) {
  #identity .ab5-title { gap: 7px; }
  #identity .ab5-id { padding-inline: 11px; }
  #identity .ab5-id-body { gap: 9px; }
  #identity .ab5-tab { font-size: 10px; }
}
