/* PartySync dashboard — extends tickets.css (Discord-adjacent dark theme) */
.ps-hero {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}
.ps-hero h1 {
  font-size: 20px;
  color: #e8e8ff;
  font-weight: 700;
  margin: 0;
}
.ps-hero .ps-sub {
  font-size: 13px;
  color: #6b6b9a;
  margin-top: 2px;
}
.ps-avatar-lg {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #2a2a4a;
  background: #12122a;
  flex-shrink: 0;
}
.friend-form-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  margin-bottom: 4px;
}
.friend-form-row input[type="text"] {
  min-width: 200px;
  background: #0e0e20;
  border: 1px solid #2a2a4a;
  border-radius: 8px;
  color: #d8d8f0;
  padding: 9px 14px;
  font-size: 14px;
  font-family: ui-monospace, monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.friend-form-row input::placeholder {
  text-transform: none;
  letter-spacing: normal;
  color: #5a5a7a;
}
.ps-profile-form label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6b6b9a;
  margin-bottom: 6px;
  margin-top: 12px;
}
.ps-profile-form input[type="text"],
.ps-profile-form textarea {
  width: 100%;
  background: #0e0e20;
  border: 1px solid #2a2a4a;
  border-radius: 8px;
  color: #d8d8f0;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  box-sizing: border-box;
}
.ps-profile-form textarea {
  min-height: 120px;
  resize: vertical;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 13px;
  line-height: 1.45;
}
.ps-profile-form .form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
.ps-hint {
  font-size: 12px;
  color: #5a5a7a;
  margin-top: 8px;
  line-height: 1.5;
}
#ps-save-status {
  font-size: 13px;
  min-height: 1.2em;
}
#ps-save-status.ok {
  color: #57f287;
}
#ps-save-status.err {
  color: #ed4245;
}
code.ps-code {
  background: #12122a;
  border: 1px solid #22224a;
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 0.9em;
}
.run-splits {
  /* server-rendered run detail tables in cloud tab */
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin: 0.5rem 0 0;
}
.run-splits th,
.run-splits td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid #1a1a30;
  color: #b8b8d0;
}
.run-splits th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6b6b9a;
  background: #12122a;
}
.run-splits td:nth-child(2),
.run-splits td:nth-child(3) {
  font-family: ui-monospace, monospace;
  font-size: 12px;
}
details.ps-run {
  border: 1px solid #2a2a4a;
  border-radius: 10px;
  margin: 0.5rem 0;
  background: #12122a;
  overflow: hidden;
}
details.ps-run > summary {
  cursor: pointer;
  padding: 10px 14px;
  font-size: 14px;
  color: #c4c4d8;
  list-style-position: outside;
}
details.ps-run > summary:hover {
  color: #e8e8f0;
  background: #0e0e1a;
}
.run-tag {
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 12px;
  color: #8888b8;
}
.run-tag-gold {
  color: #e8c44a;
}

.run-hist {
  margin-top: 8px;
}

/* Header auth actions — keep .btn colors when nested under .nav a rules from tickets.css */
.header .nav.nav-auth {
  gap: 10px;
}
.header .nav.nav-auth a.btn {
  text-decoration: none;
}
.header .nav.nav-auth a.btn.btn-primary:hover {
  background: #5865f2;
  color: #fff;
  opacity: 0.88;
}
.header .nav.nav-auth a.btn.btn-danger:hover {
  background: #ed4245;
  color: #fff;
  opacity: 0.88;
}

.ps-twitch-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
}
.ps-twitch-badge-none {
  color: #8a8aa8;
  background: #1a1a30;
  border-color: #2a2a4a;
}
.ps-twitch-badge-test {
  color: #f0c040;
  background: #2a2410;
  border-color: #5a4a18;
}
.ps-twitch-badge-live {
  color: #57f287;
  background: #142818;
  border-color: #2a5a38;
}
.ps-twitch-warn {
  color: #f0a040 !important;
}

.ps-results-heading {
  font-size: 13px;
  font-weight: 700;
  color: #a0a0c8;
  margin: 16px 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ps-results-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ps-result-card {
  background: #12122a;
  border: 1px solid #2a2a4a;
  border-radius: 10px;
  padding: 12px 14px;
}
.ps-result-title {
  font-size: 15px;
  font-weight: 600;
  color: #e8e8ff;
  margin-bottom: 4px;
}
.ps-result-meta {
  font-size: 12px;
  color: #6b6b9a;
  margin-bottom: 10px;
}
.ps-result-subhead {
  font-size: 11px;
  font-weight: 700;
  color: #6b6b9a;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 8px 0 6px;
}
.ps-result-row {
  display: grid;
  grid-template-columns: minmax(72px, 28%) 1fr auto;
  gap: 8px;
  align-items: center;
  margin: 6px 0;
  font-size: 13px;
}
.ps-result-label {
  color: #d8d8f0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ps-result-track {
  height: 8px;
  background: #1e1e38;
  border-radius: 4px;
  overflow: hidden;
}
.ps-result-fill {
  height: 100%;
  background: linear-gradient(90deg, #5865f2, #7c8aff);
  border-radius: 4px;
  min-width: 2px;
}
.ps-result-val {
  color: #a0a0c8;
  font-size: 12px;
  white-space: nowrap;
}
.ps-result-channels {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #2a2a4a;
}
.ps-result-channel {
  font-size: 12px;
  color: #8a8aa8;
  margin: 4px 0;
}
