.copy-line {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin: 0 0 14px;
  padding: 16px;
  border: 1px solid #2a2d33;
  border-radius: 10px;
  background: #141517;
}

.copy-line .keyword {
  min-width: 0;
  margin: 0;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-all;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 14px;
  color: #f4f4f5;
}

.copy-btn {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 6px;
  padding: 12px 16px;
  background: #3ecf8e;
  color: #171717;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  transition: background-color 0.16s ease, transform 0.1s ease;
}

.copy-btn:hover:not(:disabled) {
  background: #24b47e;
}

.copy-btn:active:not(:disabled) {
  transform: translateY(1px);
}

.copy-btn:disabled {
  background: #2a2d33;
  color: #71717a;
  cursor: not-allowed;
}

.copy-btn.is-done {
  background: #10b981;
  color: #ffffff;
}

.copy-warn {
  margin: -4px 0 14px;
  color: #b45309;
  font-size: 13.5px;
  font-weight: 600;
}

.qwen-dl {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 16px;
}

.qwen-dl a {
  display: inline-block;
  border: 1px solid #3ecf8e;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 14px;
  line-height: 1.4;
}

.qwen-dl a.primary {
  background: #3ecf8e;
  color: #171717;
  font-weight: 600;
}

.qwen-dl a.alt {
  background: #ffffff;
  color: #171717;
  border-color: #d4d4d8;
}

.qwen-gate {
  margin: 0 0 18px;
  padding: 18px 20px 20px;
  border: 1.5px solid #3ecf8e;
  border-radius: 12px;
  background: #f2fcf7;
}

.qwen-gate-kicker {
  margin: 0 0 4px !important;
  color: #0f5132 !important;
  font-size: 12.5px !important;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.qwen-gate-title {
  margin: 0 0 14px !important;
  color: #171717 !important;
  font-size: 19px !important;
  font-weight: 600;
  line-height: 1.35;
}

.qwen-gate-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.qwen-gate-btn {
  display: block;
  box-sizing: border-box;
  width: 100%;
  padding: 13px 18px;
  border: 1px solid #34c383;
  border-radius: 6px;
  background: #3ecf8e;
  color: #171717 !important;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.qwen-gate-btn:hover {
  background: #24b47e;
  border-color: #24b47e;
}

.qwen-gate-btn.alt {
  background: #171717;
  border-color: #171717;
  color: #ffffff !important;
}

.qwen-gate-btn.alt:hover {
  background: #2c2d31;
  border-color: #2c2d31;
}

.qwen-lock {
  margin: 0 0 16px;
}

.qwen-lock-mask {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 18px 20px;
  border: 1.5px dashed #3ecf8e;
  border-radius: 12px;
  background: #f2fcf7;
}

.qwen-lock-kicker {
  margin: 0 !important;
  color: #0f5132 !important;
  font-size: 12.5px !important;
  font-weight: 600;
}

.qwen-lock-title {
  margin: 0 !important;
  color: #171717 !important;
  font-size: 17px !important;
  font-weight: 600;
  line-height: 1.35;
}

.qwen-lock-sub {
  margin: 0 0 6px !important;
  color: #52525b !important;
  font-size: 13.5px !important;
  line-height: 1.5;
}

.qwen-lock-btn {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 6px;
  padding: 12px 16px;
  background: #171717;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.16s ease;
}

.qwen-lock-btn:hover {
  background: #2c2d31;
}

.qwen-lock.is-open .qwen-lock-mask {
  display: none;
}

.qwen-lock:not(.is-open) .qwen-lock-body {
  display: none;
}

.qwen-lock .copy-line {
  margin: 0 0 12px;
}

.qwen-path {
  margin: 0 0 18px;
  padding: 18px 20px 8px;
  border: 1px solid #e4e4e7;
  border-radius: 12px;
  background: #fafafa;
}

.qwen-path h4 {
  margin: 0 0 12px;
  color: #171717;
  font-size: 16px;
  font-weight: 600;
}

.postcon img.qwen-shot {
  max-width: min(720px, 100%);
  max-height: 420px;
}

.postcon img.qwen-shot-sm {
  max-width: min(420px, 100%);
  max-height: 200px;
}

html.device-mobile .qwen-only-pc {
  display: none;
}

html.device-pc .qwen-only-mobile {
  display: none;
}

html.device-mobile .qwen-gate-title {
  font-size: 17px !important;
}

html.device-mobile .qwen-gate,
html.device-mobile .qwen-path,
html.device-mobile .qwen-lock-mask {
  padding: 15px 14px;
}

html.device-mobile .postcon img.qwen-shot {
  max-height: 280px;
}

html.device-mobile .postcon img.qwen-shot-sm {
  max-height: 160px;
}
