/* Применяю эти дополнения только на ПК, сохраняя исходную разметку мобильных списков. */
@media (min-width: 761px) and (hover: hover) and (pointer: fine) {
  .person-name .gaming-activity,
  .gaming-activity {
    display: block;
    color: #91c6b1;
    font-size: 11px;
    line-height: 1.45;
    margin-top: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .direct-person > .gaming-person-label {
    min-width: 0;
    flex: 1;
    text-align: left;
  }
  .gaming-person-label > .identity-name {
    display: flex;
    min-width: 0;
  }
}
.gaming-settings-card {
  padding: 23px;
  margin-bottom: 18px;
  border: 1px solid #42434f;
  border-radius: 15px;
  background: linear-gradient(145deg, #30303b, #272730);
}
.gaming-settings-card h3 {
  font-size: 21px;
  letter-spacing: -0.02em;
  margin: 10px 0;
}
.gaming-settings-card p,
.gaming-settings-status {
  color: #b6b6c6;
  font-size: 13px;
  line-height: 1.6;
}
#settings-gaming .gaming-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 16px 0;
  cursor: pointer;
}
.gaming-toggle strong,
.gaming-toggle small {
  display: block;
}
.gaming-toggle strong {
  color: #f2f1f8;
  font-size: 15px;
}
.gaming-toggle small {
  color: #b6b6c6;
  font-size: 12px;
  margin-top: 5px;
}
.gaming-toggle input[type='checkbox'] {
  appearance: none;
  position: relative;
  flex: 0 0 42px;
  width: 42px;
  height: 24px;
  min-height: 24px;
  padding: 0;
  margin: 0;
  border: 1px solid #666779;
  border-radius: 14px;
  background: #4b4b5b;
  cursor: pointer;
  transition: background 120ms;
}
.gaming-toggle input[type='checkbox']::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  position: absolute;
  top: 3px;
  left: 3px;
  margin: 0;
  border-radius: 50%;
  background: #f4f4f9;
  transition: transform 120ms;
}
.gaming-toggle input[type='checkbox']:checked {
  background: #b72c60;
  border-color: #df5487;
}
.gaming-toggle input[type='checkbox']:checked::before {
  transform: translateX(18px);
}
.gaming-toggle input[type='checkbox']:focus-visible {
  outline: 2px solid #fba1c4;
  outline-offset: 3px;
}
.gaming-toggle input[type='checkbox']:disabled {
  opacity: 0.55;
  cursor: wait;
}
.gaming-hotkey {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 22px;
}
.gaming-hotkey kbd {
  flex-shrink: 0;
  padding: 8px 11px;
  background: #202027;
  border: 1px solid #4d4d60;
  border-bottom-width: 3px;
  border-radius: 7px;
  color: #eeeaf6;
  font: 12px inherit;
}
.gaming-shortcut-note {
  color: #b6b6c6;
  font-size: 12px;
  line-height: 1.5;
}
.gaming-settings-card .gaming-compatibility {
  font-size: 12px;
  color: #9f9fad;
  margin-bottom: 0;
}
.gaming-settings-card .gaming-detected {
  color: #a8d7c3;
  padding: 12px 14px;
  background: #1c2826;
  border-radius: 8px;
  margin-bottom: 0;
  overflow-wrap: anywhere;
}
.gaming-fullscreen-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.gaming-fullscreen-actions button {
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid #545464;
  border-radius: 9px;
  background: #30303b;
  color: #f0edf5;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  transition:
    background 120ms,
    border-color 120ms;
}
.gaming-fullscreen-actions .gaming-fullscreen-select {
  border-color: #ce487d;
  background: #a82b59;
}
.gaming-fullscreen-actions button:hover:not(:disabled) {
  border-color: #777487;
  background: #3b3a49;
}
.gaming-fullscreen-actions .gaming-fullscreen-select:hover:not(:disabled) {
  border-color: #ed7ba8;
  background: #bb3467;
}
.gaming-fullscreen-actions button:focus-visible {
  outline: 2px solid #fba1c4;
  outline-offset: 3px;
}
.gaming-fullscreen-actions button:disabled {
  opacity: 0.45;
  cursor: default;
}
.gaming-fullscreen-status {
  min-height: 21px;
  overflow-wrap: anywhere;
}
@media (prefers-reduced-motion: reduce) {
  .gaming-toggle input[type='checkbox'],
  .gaming-toggle input[type='checkbox']::before,
  .gaming-fullscreen-actions button {
    transition: none;
  }
}
