#dashboard > h1 {
  background: #f3e8ff;
  color: #7e22ce;
  border-left: 2px solid #7e22ce;
  padding: 5px 10px;
  border-radius: 6px;
}
#monitor-status {
  font-size: 12px;
  margin: 6px 0 12px;
}
.filters {
  align-items: end;
  gap: 10px;
  margin-bottom: 12px;
}
.filters label {
  margin: 0;
  font-size: 12px;
}
.vocations {
  display: flex;
  gap: 2px;
  background: var(--surface);
  border-radius: 4px;
  padding: 2px;
  margin: 0 0 16px;
  overflow-x: auto;
}
.vocations button {
  flex: 1;
  min-width: 75px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
}
.vocations button[aria-pressed='true'] {
  background: #d6e4ff;
  color: #1d39c4;
}
.table-wrap {
  overflow: auto;
  background: var(--surface);
  border: 1px solid var(--line);
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
}
th,
td {
  border-right: 1px solid var(--line);
}
th {
  background: var(--surface);
}
td {
  background: var(--page);
}
tbody tr:hover td {
  background: #6495ed33;
}
#members details {
  margin: 0 0 8px;
}
#members summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  padding: 3px 0 5px;
}
#members .table-wrap {
  margin-left: 14px;
  border-radius: 0;
}
#members table {
  table-layout: fixed;
  min-width: 620px;
  font-size: 12px;
}
#members th,
#members td {
  padding: 1px 3px;
  line-height: 17px;
  border-bottom: 1px solid var(--line);
}
#members th:first-child {
  width: 5%;
}
#members th:nth-child(2) {
  width: 51%;
}
#members th:nth-child(3),
#members th:nth-child(4),
#members th:nth-child(5) {
  width: 15%;
}
#members td:first-child {
  text-align: center;
  font-weight: 400;
}
#members td:nth-child(2) {
  font-weight: 600;
}
#members td:nth-child(5) {
  font-family: Consolas, monospace;
}
#members tr.recent-login td {
  background: #681f20;
  color: #fff;
}
#members tr.warm-login td {
  background: #695515;
  color: #fff;
}
#members tr[data-status='online'] td:last-child {
  color: inherit;
}
.context-menu {
  position: fixed;
  z-index: 100;
  min-width: 170px;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 6px 22px #0008;
}
.context-menu button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 6px 12px;
}
.context-menu button:hover,
.context-menu button:focus-visible {
  background: #1677ff33;
}
.menu-title {
  padding: 5px 12px;
  color: var(--muted);
  font-size: 11px;
}
.movable-name {
  cursor: grab;
}
.drop-target {
  outline: 1px dashed #69b1ff;
  background: #1677ff22;
}
.status-arrow {
  display: inline-block;
  width: 12px;
  font-weight: 400;
}
.character-name {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 600;
  text-align: left;
}
.character-name:hover {
  color: var(--brand);
  text-decoration: underline;
}
.copy-notice {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 110;
  max-width: calc(100% - 24px);
  margin: 0;
  padding: 10px 16px;
  border: 1px solid var(--brand);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 3px 14px #0005;
  overflow-wrap: anywhere;
}
.connection-alert {
  --alert-accent: #075abf;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  padding: 6px 9px;
  border: 1px solid color-mix(in srgb, var(--alert-accent) 55%, var(--surface));
  border-left: 2px solid var(--alert-accent);
  border-radius: 4px;
  background: color-mix(in srgb, var(--alert-accent) 11%, var(--surface));
  color: var(--text);
  overflow-wrap: anywhere;
}
:root[data-theme='dark'] .connection-alert {
  --alert-accent: #90caff;
}
.connection-alert-count {
  flex: none;
  min-width: 28px;
  padding: 3px 4px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--alert-accent) 18%, var(--surface));
  color: var(--alert-accent);
  font-size: 13px;
  line-height: 1.2;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.connection-alert-details {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 8px;
  min-width: 0;
}
.connection-alert-title {
  color: var(--alert-accent);
}
.connection-alert-guild {
  color: var(--muted);
}
.connection-alert-names {
  flex-basis: 100%;
  font-size: 12px;
  font-weight: 600;
}
.sound-status {
  font-size: 11px;
  color: var(--muted);
  margin: 4px 0 12px;
}
.connection-alert.masslog-alert {
  --alert-accent: #865100;
}
:root[data-theme='dark'] .connection-alert.masslog-alert {
  --alert-accent: #ffc53d;
}
.connection-alert.connection-alert-idle {
  border-color: var(--line);
  background: var(--surface);
  color: var(--muted);
}
.status-arrow.online {
  color: #16a34a;
}
.status-arrow.offline {
  color: #ef4444;
}
.filter-notice {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
}
.filter-notice {
  margin-bottom: 12px;
}

.guild-tabs {
  display: flex;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  margin: 0 0 14px;
}
.guild-tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  padding: 12px 3px;
  font-size: 13px;
}
.guild-tabs button[aria-selected='true'] {
  color: #1677ff;
  border-bottom-color: #1677ff;
}
@media (max-width: 700px) {
  .guild-tabs {
    gap: 12px;
  }
  .guild-tabs button {
    flex: 1;
    min-height: 44px;
    font-size: 12px;
  }
}
