/* SYPOWER inspiration detail layer. Original styles; class prefix sy-insp-d-. */

body.sy-insp-d-lock {
  overflow: hidden;
}

.sy-insp-d {
  position: fixed;
  inset: 0;
  z-index: 240;
  display: none;
  color: #f3f3f6;
  font-family: var(--font, system-ui, "PingFang SC", "Microsoft YaHei", sans-serif);
}
.sy-insp-d.is-open { display: block; }

.sy-insp-d-stage {
  display: flex;
  width: 100%;
  height: 100%;
  background: #050506;
}

.sy-insp-d-media {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  background: #0a0a0c;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sy-insp-d-frame {
  position: relative;
  display: inline-block;
  max-width: 100%;
  font-size: 0;
  line-height: 0;
}
.sy-insp-d-frame img,
.sy-insp-d-media img {
  display: block;
  max-width: 100%;
  max-height: 100vh;
  width: auto;
  height: auto;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
}

.sy-insp-d-x {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f4f4f6;
  color: #1a1a1e;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .28);
  z-index: 2;
  padding: 0;
}
.sy-insp-d-x:hover { background: #fff; }
.sy-insp-d-x svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
}

.sy-insp-d-person {
  position: absolute;
  left: 14px;
  bottom: 14px;
  width: 42px;
  height: 42px;
  border: 0;
  padding: 0;
  border-radius: 50%;
  background: rgba(16, 16, 18, .82);
  color: #f2f2f5;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .35);
  z-index: 2;
  overflow: hidden;
}
.sy-insp-d-person:hover { background: rgba(28, 28, 32, .92); }
.sy-insp-d-person svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sy-insp-d-side {
  width: 420px;
  max-width: 42vw;
  flex: 0 0 420px;
  background: #19191e;
  display: flex;
  flex-direction: column;
  min-height: 0;
  position: relative;
  box-shadow: -10px 0 28px rgba(0, 0, 0, .28);
}

.sy-insp-d-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 22px 22px 12px;
}

.sy-insp-d-title {
  margin: 0 0 16px;
  font-size: 1.22rem;
  font-weight: 750;
  line-height: 1.4;
  color: #fff;
  letter-spacing: .01em;
}

.sy-insp-d-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.sy-insp-d-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 40px;
  background: #2a2a32;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sy-insp-d-avatar svg,
.sy-insp-d-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.sy-insp-d-avatar .sy-insp-d-initial {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  font-weight: 650;
  color: #efe9ff;
  background: linear-gradient(145deg, #5b4ad6, #2a2158);
}
.sy-insp-d-author-meta { flex: 1 1 auto; min-width: 0; }
.sy-insp-d-author-name {
  font-size: .9rem;
  font-weight: 650;
  color: #fff;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sy-insp-d-author-date {
  margin-top: 2px;
  font-size: .72rem;
  color: #8a8a94;
  line-height: 1.3;
}
.sy-insp-d-home {
  flex: 0 0 auto;
  border: 0;
  cursor: pointer;
  background: #6b4dff;
  color: #fff;
  font-size: .75rem;
  font-weight: 650;
  border-radius: 999px;
  padding: 5px 11px 5px 13px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  line-height: 1.2;
}
.sy-insp-d-home:hover { background: #7b61ff; }
.sy-insp-d-home svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sy-insp-d-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 0;
  margin: 0 0 20px;
  color: #9a9aa3;
  font-size: .78rem;
}
.sy-insp-d-stat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.sy-insp-d-stat svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .9;
}
.sy-insp-d-dot {
  margin: 0 8px;
  color: #6d6d76;
  font-weight: 700;
}

.sy-insp-d-sec {
  margin: 0 0 18px;
}
.sy-insp-d-seclabel {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  font-size: .84rem;
  font-weight: 650;
  color: #ececf2;
}
.sy-insp-d-seclabel svg {
  width: 16px;
  height: 16px;
  stroke: #8b7cff;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.sy-insp-d-lockcard {
  position: relative;
  border: 1px solid rgba(232, 196, 80, .5);
  border-radius: 16px;
  background: #1c1c22;
  padding: 22px 18px 18px;
  text-align: center;
  overflow: hidden;
}
.sy-insp-d-lockghost {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 0 18px 16px;
  pointer-events: none;
}
.sy-insp-d-lockghost span {
  display: block;
  height: 7px;
  border-radius: 99px;
  background: #3a3a42;
  filter: blur(.4px);
  opacity: .85;
}
.sy-insp-d-lockghost span:first-child { width: 78%; }
.sy-insp-d-lockghost span:last-child { width: 62%; }

.sy-insp-d-lockicon {
  width: 36px;
  height: 36px;
  margin: 2px auto 10px;
  border-radius: 50%;
  background: #f0b429;
  color: #2a1c00;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 3px rgba(240, 180, 41, .18);
}
.sy-insp-d-lockicon svg {
  width: 16px;
  height: 16px;
  stroke: #2a1c00;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sy-insp-d-lockmsg {
  font-size: .86rem;
  color: #f0f0f4;
  font-weight: 500;
  margin-bottom: 10px;
}
.sy-insp-d-lockmeta {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: #2a2a32;
  color: #b0b0b8;
  font-size: .72rem;
}

.sy-insp-d-prompt {
  margin: 0;
  font-size: .86rem;
  line-height: 1.7;
  color: #d8d8de;
  white-space: pre-wrap;
  word-break: break-word;
}

.sy-insp-d-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sy-insp-d-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  padding: 5px 11px;
  font-size: .75rem;
  line-height: 1.2;
  background: #2c2c34;
  color: #d8d8de;
}
.sy-insp-d-chip b { font-weight: 650; color: #f2f2f6; }
.sy-insp-d-chip em {
  font-style: normal;
  color: #9a9aa3;
  margin-right: 4px;
}
.sy-insp-d-chip.is-model {
  background: #6d4dff;
  color: #fff;
  font-weight: 650;
  padding-left: 9px;
}
.sy-insp-d-chip.is-model svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sy-insp-d-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 11px;
  font-size: .75rem;
  line-height: 1.2;
  background: #3a3158;
  color: #d7c8ff;
  font-weight: 500;
}

.sy-insp-d-foot {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px 18px;
  background: #19191e;
}

.sy-insp-d-note {
  display: none;
  margin: 0 18px 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #24242c;
  color: #c8c8d0;
  font-size: .75rem;
  line-height: 1.55;
}
.sy-insp-d-note.is-on { display: block; }
.sy-insp-d-note strong {
  font-weight: 650;
  color: #f0e6c0;
}

.sy-insp-d-cta {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  cursor: pointer;
  height: 46px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f3c43a 0%, #e8a914 100%);
  color: #1a1400;
  font-size: .95rem;
  font-weight: 750;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 2px 0 rgba(160, 100, 0, .25);
}
.sy-insp-d-cta:hover { filter: brightness(1.06); }
.sy-insp-d-cta svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sy-insp-d-iconbtn {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: #2a2a32;
  color: #e8e8ee;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.sy-insp-d-iconbtn:hover { background: #33333c; }
.sy-insp-d-iconbtn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sy-insp-d-iconbtn.is-on {
  color: #f0b429;
  border-color: rgba(240, 180, 41, .35);
  background: #322c1c;
}
.sy-insp-d-iconbtn.is-on svg { fill: currentColor; }

.sy-insp-d-sheet {
  display: none;
  position: absolute;
  inset: 0;
  background: #19191e;
  z-index: 3;
  flex-direction: column;
  min-height: 0;
}
.sy-insp-d-sheet.is-open { display: flex; }
.sy-insp-d-sheet-hd {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 16px 12px;
  flex: 0 0 auto;
}
.sy-insp-d-back {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #2a2a32;
  color: #eee;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.sy-insp-d-back:hover { background: #33333c; }
.sy-insp-d-back svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}
.sy-insp-d-sheet-who {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
.sy-insp-d-sheet-who .sy-insp-d-avatar { width: 36px; height: 36px; flex-basis: 36px; }
.sy-insp-d-sheet-title {
  font-size: .9rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.sy-insp-d-sheet-sub {
  font-size: .72rem;
  color: #8a8a94;
  margin-top: 2px;
}
.sy-insp-d-sheet-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 4px 14px 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.sy-insp-d-work {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  min-width: 0;
}
.sy-insp-d-work img,
.sy-insp-d-work .sy-insp-d-ph {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  background: #2a2a32;
}
.sy-insp-d-work span {
  display: block;
  margin-top: 6px;
  font-size: .72rem;
  color: #d0d0d6;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 800px) {
  .sy-insp-d-stage { flex-direction: column; }
  .sy-insp-d-media { flex: 0 0 46vh; height: 46vh; max-height: 46vh; }
  .sy-insp-d-frame img,
  .sy-insp-d-media img { max-height: 46vh; max-width: 100vw; }
  .sy-insp-d-side {
    width: 100%;
    max-width: none;
    flex: 1 1 auto;
    box-shadow: none;
  }
}
