/* src/desktop-pet/console/style.css */
.pet-dressframe {
  border: 1px solid var(--line, #e2dfe8);
  border-radius: 12px;
  overflow: hidden;
  height: 640px;
}
.pet-dressframe iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: transparent;
}
.pet-meter {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: var(--line, #e2dfe8);
  overflow: hidden;
  margin: 4px 0 8px;
}
.pet-meterfill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--muted, #6a6577);
  transition: width .08s linear;
}
.pet-meterfill.on {
  background: var(--accent, #00a870);
}
.pet-meter.open {
  box-shadow: 0 0 0 2px var(--accent, #00a870);
}
.pet-metermark {
  position: absolute;
  top: -2px;
  bottom: -2px;
  width: 2px;
  background: var(--text, #1b1626);
}
.pet-master {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  margin-bottom: 8px;
  border: 1px solid var(--line, #e3e4e3);
  border-radius: 12px;
  background: var(--sheet-2, #f2f3f2);
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.pet-master.on {
  border-color: var(--accent, #00a870);
  background: color-mix(in srgb, var(--accent, #00a870) 8%, transparent);
}
.pet-mastertext {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.pet-mastertitle {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink, #1b1a1e);
}
.pet-masterhint {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft, #5c5c60);
}
.pet-switch {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  position: relative;
  width: 48px;
  height: 28px;
  margin: 0;
  border-radius: 999px;
  background: var(--line-strong, #aeb0ae);
  cursor: pointer;
  transition: background .15s;
}
.pet-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
  transition: transform .15s;
}
.pet-switch:checked {
  background: var(--accent, #00a870);
}
.pet-switch:checked::after {
  transform: translateX(20px);
}
.pet-switch:focus-visible {
  outline: 2px solid var(--accent, #00a870);
  outline-offset: 2px;
}
.pet-voicebody {
  transition: opacity .15s;
}
.pet-voicebody.off {
  opacity: .5;
}
.macts input.pet-path-input {
  flex: none;
  height: 28px;
  padding: 0 8px;
  border: 1px solid var(--line-strong, #aeb0ae);
  border-radius: 8px;
  background: var(--sheet-1, #fff);
  color: var(--ink, #1b1a1e);
  font-size: 13px;
  vertical-align: middle;
}
.macts input.pet-path-input:focus-visible {
  outline: 2px solid var(--accent, #00a870);
  outline-offset: 1px;
}
.pet-cands {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: -4px 0 4px;
  padding: 0 2px;
}
.pet-cand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 6px 10px;
  border: 1px solid var(--line, #e2dfe8);
  border-radius: 8px;
  background: var(--sheet-2, #f2f3f2);
}
.pet-cand-path {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink-soft, #5c5c60);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
