.toy-panel {
  width: min(92vw, 450px);
  max-height: min(88dvh, 740px);
  padding: 21px;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #8f74ac;
  border-radius: 19px;
  color: #fff6ff;
  background: #201732;
  box-shadow: 0 22px 65px #120a23c0;
}
.toy-panel::backdrop { background: #130b24b8; }
.toy-panel [hidden] { display: none; }
.toy-panel header, .toy-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
}
.toy-panel header { margin-bottom: 10px; }
.toy-panel h2 { margin: 0; font-size: 23px; line-height: 1.35; overflow-wrap: anywhere; }
.toy-panel p { margin: 7px 0; font-size: 15px; }
.toy-panel button {
  border: 1px solid #9e81b8;
  border-radius: 10px;
  background: #392a50;
  color: #fff6ff;
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  padding: 9px 12px;
  cursor: pointer;
}
.toy-panel button:hover:not(:disabled) { background: #50396e; }
.toy-panel button:focus-visible { outline: 2px solid #ffc986; outline-offset: 3px; }
.toy-panel button:disabled { opacity: .48; cursor: default; }
.toy-panel button.toy-main { background: #ffcd87; color: #271937; border-color: #ffe1af; }
.toy-panel button.toy-main:hover:not(:disabled) { background: #ffdfa8; }
.toy-actions { margin-top: 13px; flex-wrap: wrap; }
#toy-close { white-space: nowrap; }
.toy-panel dl { margin: 14px 0; }
.toy-panel dl div, #toy-ranks li {
  border-bottom: 1px solid #624677;
  padding: 9px 0;
}
.toy-panel dl div { display: flex; justify-content: space-between; gap: 7px; font-size: 15px; }
.toy-panel dd { margin: 0; color: #e6c9f3; }
.toy-panel .checked { color: #a4f4df; font-weight: 700; }
#toy-verification, #toy-mine { min-height: 1.55em; color: #ffdcaa; }
#toy-local-distance, #toy-sync { color: #d9c8ed; }
#toy-sync:empty { display: none; }
#toy-ranks { padding: 0; margin: 10px 0; list-style: none; }
#toy-ranks li {
  display: grid;
  grid-template-columns: 24px 36px minmax(0, 1fr) max-content;
  align-items: center;
  gap: 8px;
  color: #eddff8;
  font-size: 15px;
}
#toy-ranks strong { color: #ffcd87; font-variant-numeric: tabular-nums; }
.toy-avatar {
  width: 36px; height: 36px; border-radius: 50%; background: #574072;
  position: relative; display: grid; place-items: center; overflow: hidden; font-weight: 700;
}
.toy-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.toy-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
