/* Compact Mentor Mode switch — smaller than Pete Watch; member-only. */

.pete-mentor-switch {
  display: none;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 2px 0 0;
  padding: 3px 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #f0e6c8;
  cursor: pointer;
  text-align: left;
}

.pete-mentor-switch:not([hidden]) {
  display: flex;
}

.pete-mentor-switch-track {
  position: relative;
  width: 32px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 999px;
  background: #2a3140;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.pete-mentor-switch-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #c5c0b4;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, background 0.2s ease;
}

.pete-mentor-switch.is-on .pete-mentor-switch-track {
  background: linear-gradient(180deg, #d4b056, #a07a28);
  border-color: rgba(240, 214, 140, 0.7);
}

.pete-mentor-switch.is-on .pete-mentor-switch-knob {
  transform: translateX(14px);
  background: #0d141f;
}

.pete-mentor-switch-copy {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
}

.pete-mentor-switch-copy strong {
  font-family: Cinzel, "Times New Roman", serif;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pete-mentor-switch-copy span {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240, 230, 200, 0.65);
}

.pete-mentor-switch.is-on .pete-mentor-switch-copy span {
  color: #6fdc8c;
}

.pete-mentor-switch-inline {
  width: auto;
  margin: 0;
  padding: 2px 6px;
  flex: 0 0 auto;
}

.pete-chat-head .pete-mentor-switch-inline,
.crew-msg-thread-head .pete-mentor-switch-inline,
.crew-msg-float-head .pete-mentor-switch-inline {
  margin-left: 4px;
}

.crew-msg-float-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

body.waypoint-founder-login .pete-mentor-switch,
body.waypoint-admin-login .pete-mentor-switch {
  display: none !important;
}
